The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 19th, 2024, 10:18am
Pages: 1
Send Topic Print
Generate a spectre netlist (Read 2792 times)
achim.graupner
Community Member
***
Offline



Posts: 51

Generate a spectre netlist
Dec 05th, 2007, 10:15pm
 
Dear all,

how can I generate a spectre netlist using skill. I want to specify the swtich and stop list as well as destination file name of the skill file.
Is there any better approach than using
Code:
envSetVal("asimenv.startup" "projectDir" 'string "./simulation")
simulator('spectre)
design( "$library" "$cell" "$view" )
createNetlist()
 


the main drawback of this approach are:
- I change my ADE defaults
- the netlist is to be found at ./simulation/<cellname>/<simulatorname>/<viewname>/netlist/input.scs
- a window displaying the  netlist pops up

Any ideas?
Thanks, Achim
Back to top
 
 

Achim Graupner
ZMD AG, Dresden, Silicon Saxony, Germany
View Profile   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: Generate a spectre netlist
Reply #1 - Dec 6th, 2007, 12:38am
 
Dear Achim,

Only a solution for the last of your drawbacks

createNetlist( ?display nil )

To get back your ADE defaults, you could probably do something like

t_asimDefaultProjectDir = envGetVal( "asimenv.startup" "projectDir" )
...
execute your code
...
envSetVal( "asimenv.startup" "projectDir" 'string t_asimDefaultProjectDir )

Cheers,
Bernd
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
achim.graupner
Community Member
***
Offline



Posts: 51

Re: Generate a spectre netlist
Reply #2 - Dec 18th, 2007, 7:33am
 
Thank you Bernd.

2nd question: I want to remove the full path ./simulation/<cellname>/<simulatorname>/<viewname>/netlist/input.scs after having processed the netlist. I however can only remove that directory after closing df2. This is probably because an ADE session is started.
Any idea how to close the ADE session or how to run the spectre netlister without using ADE?

Regards,
Achim
Back to top
 
 

Achim Graupner
ZMD AG, Dresden, Silicon Saxony, Germany
View Profile   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.