Jesse Cirimelli-Low
09/02/2021, 10:32 AMEric Keiter
09/02/2021, 3:44 PMMatthew Guthaus
09/02/2021, 3:48 PMEric Keiter
09/02/2021, 3:55 PMEric Keiter
09/02/2021, 4:01 PMMatthew Guthaus
09/02/2021, 5:17 PMEric Keiter
09/02/2021, 5:18 PMMatthew Guthaus
09/02/2021, 5:20 PMMatthew Guthaus
09/02/2021, 9:16 PM***** Reading and parsing netlist...
Netlist error: There was 1 undefined symbol in .PRINT command: node Z
Simulation aborted due to error. There are 0 MSG_FATAL errors and 1 MSG_ERROR
errors
*** Xyce Abort ***
Simulation aborted due to error. There are 0 MSG_FATAL errors and 1 MSG_ERROR
errors
But then I use the same version on another machine and it runs, but gives me the invalid output as well as the warnings:
***** Setting up topology...
Netlist warning in file
/home/mrg/test/share/pdk/sky130A/libs.tech/ngspice/../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__tt.pm3.spice
at or near line 31
Device instance X2:MSKY130_FD_PR__NFET_01V8: Source conductance reset to
1.0e3 mho
Netlist warning in file
/home/mrg/test/share/pdk/sky130A/libs.tech/ngspice/../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__nfet_01v8__tt.pm3.spice
at or near line 31
Device instance X2:MSKY130_FD_PR__NFET_01V8: Drain conductance reset to 1.0e3
mho
Netlist warning in file
/home/mrg/test/share/pdk/sky130A/libs.tech/ngspice/../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__pfet_01v8__tt.pm3.spice
at or near line 33
Device instance X1:MSKY130_FD_PR__PFET_01V8: Source conductance reset to
1.0e3 mho
Netlist warning in file
/home/mrg/test/share/pdk/sky130A/libs.tech/ngspice/../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__pfet_01v8__tt.pm3.spice
at or near line 33
Device instance X1:MSKY130_FD_PR__PFET_01V8: Drain conductance reset to 1.0e3
mho
Matthew Guthaus
09/02/2021, 9:17 PMEric Keiter
09/02/2021, 9:26 PMEric Keiter
09/02/2021, 9:27 PMMatthew Guthaus
09/02/2021, 9:28 PMEric Keiter
09/02/2021, 9:28 PMMatthew Guthaus
09/02/2021, 9:33 PMEric Keiter
09/02/2021, 11:05 PMMatthew Guthaus
09/02/2021, 11:06 PMMatthew Guthaus
09/02/2021, 11:06 PMEric Keiter
09/02/2021, 11:07 PMMatthew Guthaus
09/02/2021, 11:08 PMMatthew Guthaus
09/02/2021, 11:36 PMEric Keiter
09/03/2021, 12:21 AMEric Keiter
09/03/2021, 12:21 AMMatthew Guthaus
09/03/2021, 2:36 AMMatthew Guthaus
09/03/2021, 2:39 AMEric Keiter
09/03/2021, 3:00 PMTim Edwards
09/03/2021, 4:59 PMMatthew Guthaus
09/03/2021, 5:00 PMMatthew Guthaus
09/03/2021, 5:03 PMTim Edwards
09/03/2021, 5:12 PM.option scale
line properly. . . see Eric's comment above. My understanding is that the ngspice and xyce model contents should be equivalent.Matthew Guthaus
09/03/2021, 5:14 PMMatthew Guthaus
09/03/2021, 5:15 PMTim Edwards
09/03/2021, 5:18 PMMatthew Guthaus
09/03/2021, 5:18 PMMatthew Guthaus
09/03/2021, 5:19 PMTim Edwards
09/03/2021, 5:19 PMMatthew Guthaus
09/03/2021, 5:20 PMTim Edwards
09/03/2021, 5:21 PMMatthew Guthaus
09/03/2021, 5:22 PMEric Keiter
09/03/2021, 6:02 PM.options parser scale=1u
. I have thought about attempting to change Xyce’s syntax to just be .option scale=1u
, like ngspice and other codes such as Hspice. That is possible to do, but it sort of breaks the standard way that we handle other types of options in Xyce. So it is a bit of a philosophical shift.Eric Keiter
09/03/2021, 6:03 PMEric Keiter
09/03/2021, 6:04 PMxyce_test/pdk/sky130A/libs.tech/ngspice/all.spice
file. Is that the case? if so it is really just a single file that would require 2 versions.Tim Edwards
09/03/2021, 6:05 PM.option
is a compatibility level support for known other versions of SPICE? After all .options
and .option
are two different cards.Tim Edwards
09/03/2021, 6:06 PMall.spice
is called from at least sky130.lib.spice
and possibly others, which would need to be changed as well.Tim Edwards
09/03/2021, 6:07 PMMatthew Guthaus
09/03/2021, 6:07 PMEric Keiter
09/03/2021, 6:07 PMEric Keiter
09/03/2021, 6:07 PMMatthew Guthaus
09/03/2021, 6:08 PMTim Edwards
09/03/2021, 6:10 PM.option
is a legal card in Berkeley spice3, so not supporting it is a serious compatibility issue.Matthew Guthaus
09/03/2021, 6:10 PMEric Keiter
09/03/2021, 6:10 PM.option
command for all manner of code options. For example, I wanted to be able to independently set different tolerances in different parts of the code (like the iterative solver vs. the nonlinear solver vs. the time integrator). But most SPICE codes apply the same tolerances to everything. So, to have more flexibility, we decided to go with the .options <package_name> param=#
format. So, we’ve stuck with that pattern ever since. But, we were less concerned with being precisely compatible with other codes back in those days, and we are much more concerned with it now.Matthew Guthaus
09/03/2021, 6:11 PMEric Keiter
09/03/2021, 6:12 PM.option scale=#
format. So, I’m not totally opposed to the idea, but I hadn’t quite made peace with it yet.