The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> Generate a spectre netlist
https://designers-guide.org/forum/YaBB.pl?num=1196921708

Message started by achim.graupner on Dec 5th, 2007, 10:15pm

Title: Generate a spectre netlist
Post by achim.graupner on Dec 5th, 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

Title: Re: Generate a spectre netlist
Post by bernd on 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

Title: Re: Generate a spectre netlist
Post by achim.graupner on 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

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