The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 20th, 2024, 10:33pm
Pages: 1
Send Topic Print
Composing input.scs with cmdline (spectre) (Read 6347 times)
chase.ng
Community Member
***
Offline



Posts: 77
penang/malaysia
Composing input.scs with cmdline (spectre)
Feb 14th, 2006, 5:43am
 
Hi all,

Anyone know how to compose spectre input.scs using command line? Other than clicking the green traffic light in the analog design environment GUI. I need to automate some for the simulations.

Thanks.

CHASE
Back to top
 
 

Chase
View Profile chase.ng   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: Composing input.scs with cmdline (spectre)
Reply #1 - Feb 14th, 2006, 6:09am
 
Maybe OCEAN (Open Command Environment for Analysis), will
be helpful for you.

Have a look at the online docs for the 'OCEAN Reference' guide.

Bernd
Back to top
 
 

Just another lonesome cad guy
View Profile WWW   IP Logged
chase.ng
Community Member
***
Offline



Posts: 77
penang/malaysia
Re: Composing input.scs with cmdline (spectre)
Reply #2 - Feb 17th, 2006, 4:39am
 
Apperantly OCEAN does not have anything that can create a netlist. Script written in OCEAN assumes that the netlist and input.scs already being composed.
Back to top
 
 

Chase
View Profile chase.ng   IP Logged
bernd
Senior Member
****
Offline



Posts: 229
Munich/Germany
Re: Composing input.scs with cmdline (spectre)
Reply #3 - Feb 17th, 2006, 5:17am
 
I found these commands within 3 minutes in the OCEAN Reference manual.

simulator( 'spectre )
design( t_lib t_cell t_view )
createNetlist( ?display "nil" )

Tested them, and they do create a netlist!

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: Composing input.scs with cmdline (spectre)
Reply #4 - Feb 18th, 2006, 6:25am
 
Bernd is quite correct. The only limitation is that you can't create a netlist from the ocean executable - but you can from DFII executables (e.g. icms. If you don't want it to be graphical, you can always use icms -nograph -restore myScript.ocn .

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
chase.ng
Community Member
***
Offline



Posts: 77
penang/malaysia
Re: Composing input.scs with cmdline (spectre)
Reply #5 - Feb 22nd, 2006, 6:22am
 
Hi all,

Yeah, thanks a lot, that remind me that I did try out the createNetlist from ocean executable long long time ago but no netlist is created. I thought it cannot be used.

Chase
Back to top
 
 

Chase
View Profile chase.ng   IP Logged
chase.ng
Community Member
***
Offline



Posts: 77
penang/malaysia
Re: Composing input.scs with cmdline (spectre)
Reply #6 - Feb 27th, 2006, 12:14pm
 
Hi all,

It works, anyway, 1 more question, how can I change the directory the netlist being created?

chase
Back to top
 
 

Chase
View Profile chase.ng   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

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

Posts: 1742
Bracknell, UK
Re: Composing input.scs with cmdline (spectre)
Reply #7 - Feb 28th, 2006, 7:41am
 
Use this at the beginning of your OCEAN script:

Code:
envSetVal("asimenv.startup" "projectDir" 'string  "/path/to/my/simRoot") 



Note, it will still create the directory structure underneath that cellname/simulator/viewname/netlist as is used in ADE. Nothing you can do about that, sorry!

Andrew.
Back to top
 
 
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.