Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with TCL command line for Synopsys

Status
Not open for further replies.

bigsnail

Junior Member level 2
Joined
Mar 8, 2004
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
195
A Tcl beginer's problem

Hi
I got a problem when leaning the tcl for synopsys tools.Why the follow
command line is wrong.

foreach my_port [filter [find port *] "@port_dirction == in"] \
{ set_drive -rise 0.1 $my_port \
set_dirve -fall 0.1 $my_port \
}

Thanks
 

Re: A Tcl beginer's problem

Hi, you can set your input ports like this:
set my_port [remove_from_collection \
[get_ports -filter {@port_direction == in} "*"] \
[concat $clk_ports $rst_ports $test_ports]];
set_drive -rise 0.1 $my_port;
set_dirve -fall 0.1 $my_port;
But i don't know why you set drive of your input ports.
We just need set this for clock networks.
 

Re: A Tcl beginer's problem

hi,horzonbluz
Thanks for your help!
Im a beginer of DC. I think My mistake is that the command "set_drive" can accept a port_list input, and the "foreach" command is unnecessry.
Could you give me another help? Which site can i find some useful script of dc for practice?
Thanks!
 

Re: A Tcl beginer's problem

Sorry, i don't know where can find the script files of DC.
 

Re: A Tcl beginer's problem

Hi dear friends
what is Tcl?
please describe me and wich software can i use for working it?
thanks
 

Re: A Tcl beginer's problem

ahmadagha23 said:
Hi dear friends
what is Tcl?
please describe me and wich software can i use for working it?
thanks

TCL - Tool Command Language. Many ASIC Design tools have TCL interface:

DC-Shell, NCSIM, MTI etc.
A good TCL Tutor is available on the web that I use. Sorry, don't have the link handy, a simple google search for "TCL Tutor" should provide the link.

HTH
Ajeetha
http://www.noveldv.com
 

Re: A Tcl beginer's problem

as IC designer,we must learn too mang language,C,verilog,vhdl,perl,tcl........
l like perl and tcl,they are close to eda.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top