Alex Liao
Member level 4
- Joined
- Apr 8, 2013
- Messages
- 75
- Helped
- 2
- Reputation
- 4
- Reaction score
- 2
- Trophy points
- 1,288
- Activity points
- 1,991
Hi. Say I use command line to run simulation.
For example in Hspice my input stimuli is like this:
[section]
By doing so, I have those four results saved in my local result file.
How can I do the same thing in Spectre/SpectreS? I guess the format is different.
I have attached a section of my stimuli file (spectreFinal) like this:
What command should be inserted in order to do the same thing as Hspice?
Thanks.
For example in Hspice my input stimuli is like this:
[section]
Code:
.op
.options ingold=2 list node post
.print ac vdb(6) vp(6)
.ac dec 100 0.001 10g
* net 6 = /out
.MEAS AC gain MAX vdb(6) *gain
.MEAS AC bandwidth WHEN vdb(6)=0 *Unity Gain Frequency (Bandwidth)
.MEAS AC PM FIND PAR('180+vp(6)') WHEN vdb(6)=0 *Phase Margin 180+phase
.MEAS AC GM FIND PAR('0-vdb(6)') WHEN vp(6)=0 *Gain Margin
.end
By doing so, I have those four results saved in my local result file.
How can I do the same thing in Spectre/SpectreS? I guess the format is different.
I have attached a section of my stimuli file (spectreFinal) like this:
Code:
opBegin dc oppoint=rawfile save=allpub maxiters=150
+ maxsteps=10K annotate=status write="spectre.dc"
acSweep ac start=1.0 stop=1e9 annotate=status save=selected
modelParameter info what=model where=file file = "./info.what0"
element info what=models where=file file = "./info.what1"
outputParameter info what=output where=file file = "./info.what2"
Thanks.