Quantcast
Channel: Cadence Custom IC Design Forum
Viewing all articles
Browse latest Browse all 4906

Spectre X fails to output accurate nutascii formated .raw output file if +postlpreset is used

$
0
0

I wasted a bunch of time on this problem and wanted to make a post in case it helps anyone else in the future.  The cause of my problem was that I used the option +postlpreset

Using the netlist and commands below, I simulated a voltage divider and current source in both Spectre and Spectre x.  Spectre produced the expected results in the .raw output file, however, Spectre X had major errors.  My interpretation of the error pattern was that Spectre X failed to parse the results correctly.  No errors or warnings were given.

CLI:

BAD!  spectre -format=nutascii +mt=1 +preset=mx +postlpreset=mx test.cir

GOOD! spectre -format=nutascii +mt=1 +preset=mx test.cir

Netlist:

simulator lang=spectre

Iin (n0_0 0) isource type=pulse dc=0 \
val0=0 val1=-1m width=50n period=200u rise=0.021n\
fall=0.021n td1=0 tau1=0.5n td2=100u tau2=0.1n \
freq=10k ampl=1 delay=200p

R0_0 (n0_0 n0_1) resistor r=1.0k
R0_1 (n0_1 n0_2) resistor r=1.0k
R0_2 (n0_2 n1_0) resistor r=1.0k
R1_0 (n1_0 n1_1) resistor r=1.0k
R1_1 (n1_1 n1_2) resistor r=1.0k
R1_2 (n1_2 n2_0) resistor r=1.0k
R2_0 (n2_0 n2_1) resistor r=1.0k
R2_1 (n2_1 n2_2) resistor r=1.0k
R2_2 (n2_2 0) resistor r=1.0k

wmResp tran stop=2ns strobeperiod=10p
o1 options save=selected savefilter=none
save n*

 


Viewing all articles
Browse latest Browse all 4906

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>