The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Other CAD Tools >> Entry Tools >> Can CDL netlist automatically be in upper case?
https://designers-guide.org/forum/YaBB.pl?num=1143170073

Message started by vibren on Mar 23rd, 2006, 7:14pm

Title: Can CDL netlist automatically be in upper case?
Post by vibren on Mar 23rd, 2006, 7:14pm

I want all characters in the CDL netlist to be in upper case, what should I do?
thanks

Title: Re: Can CDL netlist automatically be in upper case
Post by bernd on Mar 24th, 2006, 1:40am

Write a Perl script!

The information you gave is not detailed enough.
You should at lest tell which tool produces the CDL output.
Additional information could also help, e.g.  where you need the CDL as input,
why you need to have all Chars in upper case, etc..

If you write that kind of spare questions don't wonder if you get
no or less feedback.

Bernd

Title: Re: Can CDL netlist automatically be in upper case
Post by vibren on Mar 25th, 2006, 9:43pm

I am sorry
I export the CDL netlist from a composer schematic. That is, I export it from CIW-> CDL-> export. The layout guys need the netlist to be all in upper case.

Title: Re: Can CDL netlist automatically be in upper case
Post by bernd on Mar 30th, 2006, 1:54am

I thought there could be a mapping within the CDL OUT
process form Cadence DFII, but unfortunately I found none,
even not with SKILL.

But a simple Perl Script can make it.


Code:
#!/usr/local/bin/perl -w

use strict;

my( $file );

print( "File: " );
$file = <STDIN>;
chomp( $file );

open( IN, "$file" ) ||
     die "Can not open file. $!\n";

open( OUT, "> $file.upper" );

while ( <IN> ) {
           print( OUT uc( $_ ) );
}

close( IN );
close( OUT );


Bernd

Title: Re: Can CDL netlist automatically be in upper case
Post by Andrew Beckett on Mar 30th, 2006, 5:45am


Code:
tr a-z A-Z < inputfile > outputFile


will do this. On Solaris, you need to get the tr from /usr/xpg4/bin for this syntax. Other tr flavours have different syntax.

man tr is the best bet.

Shorter than a perl script!

Andrew.

Title: Re: Can CDL netlist automatically be in upper case
Post by graywang on Oct 18th, 2006, 6:40pm

hi,
I think it is a easy problem.you can tell layout designer to conform the case sensitivity to you. "Export→Stream→Options→Case sensitivity".
Do you agree to my idea?
Thanks.

Title: Re: Can CDL netlist automatically be in upper case
Post by bernd on Oct 19th, 2006, 2:14am

Sorry to do some bit of education here, but this
is a quite old posting and it's definitely solved!

And "Export→Stream" exports GDSII format, but never CDL.
So you total wrong.

Bernd

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.