The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 4th, 2024, 12:43pm
Pages: 1
Send Topic Print
Can CDL netlist automatically be in upper case? (Read 9049 times)
vibren
New Member
*
Offline



Posts: 2

Can CDL netlist automatically be in upper case?
Mar 23rd, 2006, 7:14pm
 
I want all characters in the CDL netlist to be in upper case, what should I do?
thanks
Back to top
 
 
View Profile   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: Can CDL netlist automatically be in upper case
Reply #1 - 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
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
vibren
New Member
*
Offline



Posts: 2

Re: Can CDL netlist automatically be in upper case
Reply #2 - 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.
Back to top
 
 
View Profile   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: Can CDL netlist automatically be in upper case
Reply #3 - 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
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Can CDL netlist automatically be in upper case
Reply #4 - 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.
Back to top
 
 
View Profile WWW   IP Logged
graywang
New Member
*
Offline



Posts: 2

Re: Can CDL netlist automatically be in upper case
Reply #5 - 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.
Back to top
 
 
View Profile   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: Can CDL netlist automatically be in upper case
Reply #6 - 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
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.