Stanley Lin
02/01/2023, 11:49 PMEric Keiter
02/01/2023, 11:49 PMStanley Lin
02/01/2023, 11:55 PMEric Keiter
02/01/2023, 11:56 PMmehdi
02/02/2023, 2:59 PMEric Keiter
02/04/2023, 12:16 AMEric Keiter
02/04/2023, 12:18 AMEric Keiter
02/04/2023, 12:19 AMEric Keiter
02/04/2023, 12:22 AMEric Keiter
02/04/2023, 12:24 AMEric Keiter
02/04/2023, 12:28 AMPranav Lulu
02/04/2023, 11:36 AMPranav Lulu
02/06/2023, 12:59 PM./Xyce -hspice-ext all run.spice
Attaching the spice file as wellPranav Lulu
02/06/2023, 4:58 PMTarek Nasser
02/06/2023, 5:35 PMPranav Lulu
02/07/2023, 6:51 PMMatthew Guthaus
02/14/2023, 10:11 PMMeinhard Kissich
02/20/2023, 7:55 PMsky130_ef_sc_hd__decap_12
), Xyce fails and reports unrecognized symbols.
SPICE file:
XyceDemo
.lib /home/user/.volare/sky130A/libs.tech/ngspice/sky130.lib.spice tt
Xinv Y A VPWR VGND VGND VPWR inverter
.subckt inverter Y A NWELL VSUBS VGND VPWR
X0 VPWR VGND VPWR NWELL sky130_fd_pr__pfet_01v8_hvt ad=4.524e+11p pd=4.52e+06u as=0p ps=0u w=870000u l=4.73e+06u
X1 VGND VPWR VGND VSUBS sky130_fd_pr__nfet_01v8 ad=2.86e+11p pd=3.24e+06u as=0p ps=0u w=550000u l=4.73e+06u
X2 Y A VPWR NWELL sky130_fd_pr__pfet_01v8 w=1e+06u l=150000u
X3 Y A VGND VSUBS sky130_fd_pr__nfet_01v8 w=650000u l=150000u
.ends
Vgnd VGND 0 0
Vdd VPWR VGND 1.8
Vin A VGND pulse(0 1.8 1p 10p 10p 1n 2n)
.tran 10e-12 2e-09 0e-00
.end
Error:
Netlist error in file
/home/user/.volare/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__tt.pm3.spice
at or near line 31
Parameter AS for device MSKY130_FD_PR__NFET_01V8 contains unrecognized
symbol: AS
Netlist error in file
/home/user/.volare/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__tt.pm3.spice
at or near line 31
Parameter AD for device MSKY130_FD_PR__NFET_01V8 contains unrecognized
symbol: AD
...
Lines 28-34 in `.../sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__tt.pm3.spice`:
.subckt sky130_fd_pr__nfet_01v8 d g s b
+
.param l = 1 w = 1 nf = 1.0 ad = 0 as = 0 pd = 0 ps = 0 nrd = 0 nrs = 0 sa = 0 sb = 0 sd = 0 mult = 1
msky130_fd_pr__nfet_01v8 d g s b sky130_fd_pr__nfet_01v8__model l = {l} w = {w} nf = {nf} ad = {ad} as = {as} pd = {pd} ps = {ps} nrd = {nrd} nrs = {nrs} sa = {sa} sb = {sb} sd = {sd}
.model sky130_fd_pr__nfet_01v8__model.0 nmos
* Model Flag Parameters
+ lmin = 2.0e-05 lmax = 0.0001 wmin = 7.0e-06 wmax = 0.0001
It looks as if the first occurrence of an explicit parameter overwrites the default ones that can then not be found for any subsequent instantiation. When I instantiate X2 and X3 before X0 and X1 it works.Filippo
03/10/2023, 9:12 AMFailed: sh -c {cd /home/filippo/.xschem/simulations; Xyce "/home/filippo/.xschem/simulations/untitled.spice"
# Add -r "/home/filippo/.xschem/simulations/untitled.raw" if you want all variables saved}
stderr:
Step size reached minimum step size bound
Step size reached minimum step size bound
data:
*****
***** Welcome to the Xyce(TM) Parallel Electronic Simulator
*****
***** This is version Xyce DEVELOPMENT-202303091748-(Public_Release-7.6.0-146-g5330643a-dirty)-opensource
***** Date: Fri Mar 10 10:10:06 CET 2023
***** Executing netlist /home/filippo/.xschem/simulations/untitled.spice
***** Reading and parsing netlist...
Netlist warning: No print specified
***** Setting up topology...
Netlist warning: Voltage Node (NET1) does not have a DC path to ground
Netlist warning: Voltage Node (GND) does not have a DC path to ground
***** Device Count Summary ...
R level 1 (Resistor) 1
V level 1 (Independent Voltage Source) 1
----------------------------------------
Total Devices 2
***** Setting up matrix structure...
***** Number of Unknowns = 3
***** Initializing...
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
Netlist warning: Numerically singular matrix found by Amesos, returning zero
solution to nonlinear solver!
***** Solution Summary *****
Number Successful Steps Taken: 0
Number Failed Steps Attempted: 1
Number Jacobians Evaluated: 62
Number Linear Solves: 62
Number Failed Linear Solves: 25
Number Residual Evaluations: 166
Number Nonlinear Convergence Failures: 1
Total Residual Load Time: 0.000463963 seconds
Total Jacobian Load Time: 7.24792e-05 seconds
Total Linear Solution Time: 0.000531673 seconds
Failed DC sweep steps:
DC Step # 1
***** Total Simulation Solvers Run Time: 0.0103819 seconds
***** Total Elapsed Run Time: 0.639405 seconds
*****
***** End of Xyce(TM) Simulation
*****
Timing summary of 1 processor
Stats Count CPU Time Wall Time
---------------------------------------- ----- --------------------- ---------------------
Xyce 1 0.627 (100.0%) 0.640 (100.0%)
Analysis 1 0.010 ( 1.65%) 0.010 ( 1.62%)
DC Sweep 1 0.010 ( 1.65%) 0.010 ( 1.61%)
Solve 1 0.010 ( 1.64%) 0.010 ( 1.61%)
Residual 166 0.001 ( 0.10%) 0.001 ( 0.09%)
Jacobian 62 0.000 ( 0.02%) 0.000 ( 0.02%)
Linear Solve 62 0.001 ( 0.09%) 0.001 ( 0.09%)
Failed Steps 1 0.000 (<0.01%) 0.000 (<0.01%)
Netlist Import 1 0.607 (96.88%) 0.620 (96.93%)
Parse Context 1 0.583 (92.90%) 0.595 (93.03%)
Distribute Devices 1 0.019 ( 3.05%) 0.019 ( 2.99%)
Verify Devices 1 0.000 (<0.01%) 0.000 (<0.01%)
Instantiate 1 0.000 ( 0.01%) 0.000 ( 0.01%)
Late Initialization 1 0.003 ( 0.55%) 0.003 ( 0.55%)
Global Indices 1 0.000 ( 0.03%) 0.000 ( 0.03%)
Setup Matrix Structure
Filippo
03/10/2023, 8:39 PMIn calltf for runXyce
vvp: symbol lookup error: ./runXyce.vpi: undefined symbol: xyce_open
Art Scott
04/21/2023, 2:44 PMAhmed Reda
05/06/2023, 5:11 AMAyushman Tripathi
05/07/2023, 4:17 PMArt Scott
05/18/2023, 2:21 PMPramitKumar Pal
05/20/2023, 5:44 AMStefan Schippers
05/20/2023, 11:30 AMdevices/code_shown.sym
or (better) use devices/simulator_commands.sym
.
Delete the lower command symbols or add spice_ignore=true
to them to avoid duplications. Very recent xschem versions show disabled elements in grey...PramitKumar Pal
05/22/2023, 2:15 PMPramitKumar Pal
05/22/2023, 2:16 PMPramitKumar Pal
05/22/2023, 4:04 PMArt Scott
05/31/2023, 4:48 PM