The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Aug 15th, 2024, 3:28pm
Pages: 1
Send Topic Print
switching from Cadence Analog Design Environment GUI to command-line (Read 7923 times)
vivkr
Community Fellow
*****
Offline



Posts: 780

switching from Cadence Analog Design Environment GUI to command-line
Sep 08th, 2009, 11:33pm
 
It turns out that I may have to switch from using the ADE GUI with Spectre to command-line Spectre. Apparently, it is the only possible way for running corner sims etc.

Is there any reference out there on using command-line Spectre? And what would be the least painful way of importing existing simulation states? I have tons of them and don't want to have to retype and redefine them all. I see that there is a button on the ADE GUI which can be used to write out an ocean script but I don't know what other hassles there might be in the way. I gather that most of the command-line simulation is not based on using ocean syntax.

Thanks for tips.

Vivek
Back to top
 
 
View Profile   IP Logged
Riad KACED
Community Member
***
Offline



Posts: 93
Swindon, UK
Re: switching from Cadence Analog Design Environment GUI to command-line
Reply #1 - Sep 25th, 2009, 1:11pm
 
Hi Vivek,

You better stick at ocean which is meant for this kind of tasks.
Cadence comes with a corner analysis tool but your PDK/Model files have to be geared to feed that tool. In my previous company  we used to have a nice-inhouse GUI to deal with the corners.

If you want to stick at the command lines, then spectre -h would give you all the information you might need.

Again, Ocean is the choice I would advise.

Cheers,
Riad.
Back to top
 
 

Riad KACED
PDK, EDA Support Engineer.
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

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

Posts: 1742
Bracknell, UK
Re: switching from Cadence Analog Design Environment GUI to command-line
Reply #2 - Jan 3rd, 2010, 7:22am
 
Also, if you have the chance to use ADE XL in IC613/IC614, the corner analysis is much better. Actually - I realize that I've seen a post from you talking about that...

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
rf-design
Senior Member
****
Offline

Reiner Franke

Posts: 165
Germany
Re: switching from Cadence Analog Design Environment GUI to command-line
Reply #3 - Jan 15th, 2010, 4:03pm
 
Is there someone who use Matlab as frontend for spectre and result backprocessing?
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

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

Posts: 1742
Bracknell, UK
Re: switching from Cadence Analog Design Environment GUI to command-line
Reply #4 - Jan 16th, 2010, 8:20am
 
For the results post-processing in Matlab, you can take a look at the Spectre Toolbox for Matlab (which is in the MMSIM installation under <instdir>/tools/spectre/matlab - there are a couple of app notes/workshop docs under <instdir>/tools/spectre/examples/SpectreRF_workshop/SpectreRF_AN which explain this (it's probably in the documentation too).

This allows you to read PSF/SST2 simulation results directly in Matlab.

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
rf-design
Senior Member
****
Offline

Reiner Franke

Posts: 165
Germany
Re: switching from Cadence Analog Design Environment GUI to command-line
Reply #5 - Feb 1st, 2010, 6:09pm
 
We found that serious simulation result analysis and backprocessing requires a powerful, userfriendly, function rich and powerful scripting enviroment. That is Matlab period.

We actual run many test bench analysis scripts trough Matlab. But there is no frontend for Matlab which allows to make a complete script simulator control. That mean that all control structures like netlist composition, corner, variation and mismatch parameter control, simulator start and load distribution should be made by Matlab.

I found only a tool here

http://www.sawtootheda.com/simcontrol.html

But they do not show how the sim result are processed.

The ADE XL could import Matlab script results but only as a function result similar to the calculator expression. But we need that Matlab is the control master because depending on the sim results of a previous sim run further changes in the sim parameter setup are made by the Matlab script.

SpectreMDL is restricted to the function evaluation and Ocean is far away from the quite user experience with Matlab.

Seems to me that Mathworks should better made a SimControl like above which work with all sim vendors including opensource spice which could run on clouds or farms.
Back to top
 
 
View Profile   IP Logged
sos
Community Member
***
Offline



Posts: 32

Re: switching from Cadence Analog Design Environment GUI to command-line
Reply #6 - Feb 2nd, 2010, 8:13am
 
vivkr wrote on Sep 8th, 2009, 11:33pm:
It turns out that I may have to switch from using the ADE GUI with Spectre to command-line Spectre. Apparently, it is the only possible way for running corner sims etc.

Is there any reference out there on using command-line Spectre? And what would be the least painful way of importing existing simulation states? I have tons of them and don't want to have to retype and redefine them all. I see that there is a button on the ADE GUI which can be used to write out an ocean script but I don't know what other hassles there might be in the way. I gather that most of the command-line simulation is not based on using ocean syntax.

Thanks for tips.

Vivek


This may be helpful:
http://homerreid.ath.cx/misc/ocean/index.shtml

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