Mustafa Ahmad
10/11/2021, 9:25 AMMustafa Ahmad
10/11/2021, 9:31 AMMustafa Ahmad
10/11/2021, 9:39 AMRobert Rogers
10/12/2021, 7:24 PMyrrapt
10/13/2021, 7:14 AMAli Elshorbagy
10/17/2021, 12:27 PMAli Elshorbagy
10/17/2021, 5:14 PMRobert Rogers
10/22/2021, 6:08 PMMatthew Guthaus
10/23/2021, 1:38 AMKeno Fischer
10/23/2021, 7:22 AMvf451
10/28/2021, 7:32 AMEric Keiter
10/28/2021, 5:59 PMMatthew Guthaus
11/17/2021, 6:04 PMNetlist warning in file
/software/PDKs/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__tt.pm3.spice
at or near line 31
Device instance XBUF_INV2:XPINV_NMOS:MSKY130_FD_PR__NFET_01V8: Source
conductance reset to 1.0e3 mho
which previously didn't seem to impact my results. I've included a stand-alone example including the libraries.Robert Rogers
11/19/2021, 12:33 AMCR85
11/22/2021, 7:31 AMCR85
11/22/2021, 7:10 PMmehdi
12/21/2021, 5:25 AMCR85
12/30/2021, 8:16 AMDC operating point failed and "Step size reached minimum step size bound" When specifying an initial condition, I am able to run the simulaton without oscillation when I dont specify IC
It is possible that the negative gm pair is not correctly designed but its hard to decouple unless a baseline circuit works. Attaching the Log file below
*****
***** Welcome to the Xyce(TM) Parallel Electronic Simulator
*****
***** This is version Xyce DEVELOPMENT-202111250123-(Public_Release-7.4.0-56-g82a079af)-opensource
***** Date: Thu Dec 30 00:13:08 PST 2021
***** Executing netlist LC_run.netlist
***** Reading and parsing netlist...
***** Setting up topology...
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM2:MSKY130_FD_PR__NFET_01V8: Source conductance
reset to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM2:MSKY130_FD_PR__NFET_01V8: Drain conductance reset
to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM1:MSKY130_FD_PR__NFET_01V8: Source conductance
reset to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM1:MSKY130_FD_PR__NFET_01V8: Drain conductance reset
to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM4:MSKY130_FD_PR__NFET_01V8: Source conductance
reset to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM4:MSKY130_FD_PR__NFET_01V8: Drain conductance reset
to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM3:MSKY130_FD_PR__NFET_01V8: Source conductance
reset to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM3:MSKY130_FD_PR__NFET_01V8: Drain conductance reset
to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM5:MSKY130_FD_PR__NFET_01V8: Source conductance
reset to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM5:MSKY130_FD_PR__NFET_01V8: Drain conductance reset
to 1.0e3 mho
Netlist warning: Voltage Node (XLCCORE:XL1:NET37) does not have a DC path to
ground
Netlist warning: Voltage Node (XLCCORE:XL1:NET31) does not have a DC path to
ground
Netlist warning: Voltage Node (OPEN) does not have a DC path to ground
***** Device Count Summary ...
C level 1 (Capacitor) 4
I level 1 (Independent Current Source) 1
L level 1 (Inductor) 2
M level 14 (BSIM4) 5
R level 1 (Resistor) 9
V level 1 (Independent Voltage Source) 2
-----------------------------------------
Total Devices 23
***** Setting up matrix structure...
***** Number of Unknowns = 36
***** Initializing...
***** Beginning DC Operating Point Calculation...
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM1:MSKY130_FD_PR__NFET_01V8: Source conductance
reset to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM1:MSKY130_FD_PR__NFET_01V8: Drain conductance reset
to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM2:MSKY130_FD_PR__NFET_01V8: Source conductance
reset to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM2:MSKY130_FD_PR__NFET_01V8: Drain conductance reset
to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM3:MSKY130_FD_PR__NFET_01V8: Source conductance
reset to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM3:MSKY130_FD_PR__NFET_01V8: Drain conductance reset
to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM4:MSKY130_FD_PR__NFET_01V8: Source conductance
reset to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM4:MSKY130_FD_PR__NFET_01V8: Drain conductance reset
to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM5:MSKY130_FD_PR__NFET_01V8: Source conductance
reset to 1.0e3 mho
Netlist warning in file
../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__ss.pm3.spice
at or near line 31
Device instance XLCCORE:XM5:MSKY130_FD_PR__NFET_01V8: Drain conductance reset
to 1.0e3 mho
DC Operating Point Failed. Exiting transient loop
***** Solution Summary *****
Number Successful Steps Taken: 0
Number Failed Steps Attempted: 1
Number Jacobians Evaluated: 4647
Number Linear Solves: 4647
Number Failed Linear Solves: 0
Number Residual Evaluations: 4700
Number Nonlinear Convergence Failures: 1
Total Residual Load Time: 0.052192 seconds
Total Jacobian Load Time: 0.0124643 seconds
Total Linear Solution Time: 0.0382943 seconds
***** Total Simulation Solvers Run Time: 0.249384 seconds
***** Total Elapsed Run Time: 1.34928 seconds
*****
***** End of Xyce(TM) Simulation
*****
Timing summary of 1 processor
Stats Count CPU Time Wall Time
---------------------------------------- ----- --------------------- ---------------------
Xyce 1 1.305 (100.0%) 1.350 (100.0%)
Analysis 1 0.241 (18.48%) 0.249 (18.48%)
Transient 1 0.241 (18.48%) 0.249 (18.47%)
Nonlinear Solve 1 0.241 (18.47%) 0.249 (18.46%)
Residual 4700 0.053 ( 4.06%) 0.054 ( 4.03%)
Jacobian 4647 0.014 ( 1.08%) 0.014 ( 1.07%)
Linear Solve 4647 0.039 ( 3.00%) 0.041 ( 3.00%)
Failed DCOP Steps 1 0.000 (<0.01%) 0.000 (<0.01%)
Netlist Import 1 1.048 (80.32%) 1.083 (80.28%)
Parse Context 1 0.786 (60.26%) 0.817 (60.57%)
Distribute Devices 1 0.253 (19.37%) 0.257 (19.02%)
Verify Devices 1 0.000 (<0.01%) 0.000 (<0.01%)
Instantiate 1 0.001 ( 0.04%) 0.001 ( 0.04%)
Late Initialization 1 0.005 ( 0.36%) 0.005 ( 0.35%)
Global Indices 1 0.000 ( 0.01%) 0.000 ( 0.01%)
Setup Matrix Structure 1 0.001 ( 0.04%) 0.001 ( 0.04%)
CR85
12/30/2021, 8:22 AM.options nonlin continuation=gmin
.options timeint method=trap
.options device temp=25
**.options output initial_interval=1e-8 # DONOT USE THIS SEEMS TO GO CRAZY EVEN WITH INPUT SIGNAL
.options parser model_binning=True
.options parser scale=1e-6
**** Oscillator specific options
.options timeint newlte=0
.options timeint erroption=1 delmax=1.0e-12
* Model Includes and Std Cell Includes
.param mc_mm_switch=0
.param mc_pr_switch=0
.lib ../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/sky130.lib.spice ss
**.include "../../PDK//open_pdks/sky130/sky130A/libs.ref/sky130_fd_sc_hd/cdl/sky130_fd_sc_hd_Xyce.cdl"
.include ../../PDK/open_pdks/sky130/sky130A/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice
.include ../../PDK/open_pdks/sky130/sky130A/libs.ref/sky130_fd_sc_hs/spice/sky130_fd_sc_hs.spice
.include ../../PDK/open_pdks/sky130/sky130A/libs.ref/sky130_fd_sc_ms/spice/sky130_fd_sc_ms.spice
.include ../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/sky130_fd_pr__model__inductors.model.spice
*.include ../../PDK/open_pdks/sky130/sky130A/libs.tech/ngspice/capacitors/sky130_fd_pr__model__cap_mim.model.spice
** LC Core
.subckt LC_Cell Ibias outn outp ind_sub VDD GND
*.ipin Ibias
*.opin outn
*.opin outp
XM1 outp outn net2 GND sky130_fd_pr__nfet_01v8 L=0.15 W=1 nf=10
XM2 outn outp net1 GND sky130_fd_pr__nfet_01v8 L=0.15 W=1 nf=10
XM3 net2 Ibias GND GND sky130_fd_pr__nfet_01v8 L=0.15 W=4.8 nf=10
XL1 outp outn VDD ind_sub sky130_fd_pr__ind_05_220
XC1 outp outn sky130_fd_pr__cap_mim_m3_1 W=1 L=1 MF=2056 m=1
XM4 net1 Ibias GND GND sky130_fd_pr__nfet_01v8 L=0.15 W=4.8 nf=10
XM5 Ibias Ibias GND GND sky130_fd_pr__nfet_01v8 L=0.15 W=4.8 nf=5
.ends
.param pvdd = 1.8
.param bias = 1.0
.param Icurr = 30u
* --- Voltage Sources ---
**vvdd VDD 0 dc 'pvdd'
vvss GND 0 dc 0
vsig VDD 0 pwl(0 0 10n 0 20n 'pvdd')
*vtail tail_v 0 dc 'bias'
Idctail VDD tail_c 'Icurr'
* ---LCCell Subcircuit------
xlccore tail_c outp outn open VDD GND LC_Cell
** LC Circuit **
**.dcvolt v(outn)='pvdd/2'
**.dcvolt v(outp)='0'
*.ic v(tail)=1.6
* --- Transient Analysis ---
.op
*.dc vtail 0.4 1.4 0.01
**.dc Icurr 10u 11u 0.1u
.tran 0.01p 100n
* --- Measurement ---
*.print DC v(*)
.print tran v(outp)
.print tran v(outn)
.print tran v(*)
.print tran i(*)
.print tran v(VDD)
.print tran ID(XLCCORE:XM1:MSKY130_FD_PR__NFET_01V8)
.print tran ID(XLCCORE:XM2:MSKY130_FD_PR__NFET_01V8)
.print tran ID(XLCCORE:XM3:MSKY130_FD_PR__NFET_01V8)
.end
Ryan R
01/19/2022, 11:23 AMRyan R
01/19/2022, 1:41 PMTim Edwards
01/19/2022, 3:22 PMEric Keiter
01/24/2022, 6:19 PMEric Keiter
01/24/2022, 6:20 PMRyan R
01/24/2022, 6:48 PMCarl Brando
01/29/2022, 3:30 AMArgonaut
02/05/2022, 7:51 AMmehdi
02/20/2022, 10:22 PMTuohang Zeng
02/21/2022, 9:09 PMNetlist error in file ./dcdcInst_test.spice at or near line 13
Subcircuit SKY130_FD_PR__NFET_01V8 has not been defined for instance X1
Simulation aborted due to error. There are 0 MSG_FATAL errors and 1 MSG_ERROR
I think it it not including all the needed files? How should I write all the includes? I am writing the .lib line like the following, and the open_pdks I am using is from some time in last December
.lib "./../OpenLane/pdks/sky130A/libs.tech/ngspice/sky130.lib.spice" tt
Thanks!Dan Fritchman
03/10/2022, 12:12 AM