Matthew Guthaus
05/14/2021, 7:15 PM.meas tran delay_sen0 TRIG v(clk0) VAL=2.5 FALL=1 TD=55.0n TARG v(xsram.s_en0) VAL=2.5 RISE=1 TD=55.0n
I get an error:
Netlist error: Function or variable V(XSRAM.S_EN0) is not defined
Are there a set of spice regression tests/examples anywhere? This might be useful for figuring out syntax peculiarities through examples.Matthew Guthaus
05/14/2021, 7:56 PMEric Keiter
05/14/2021, 8:16 PMMatthew Guthaus
05/14/2021, 8:17 PMEric Keiter
05/14/2021, 8:18 PMEric Keiter
05/14/2021, 8:18 PMMatthew Guthaus
05/14/2021, 8:18 PMMatthew Guthaus
05/14/2021, 8:19 PMEric Keiter
05/14/2021, 8:19 PMMatthew Guthaus
05/14/2021, 8:19 PMMatthew Guthaus
05/14/2021, 8:20 PMEric Keiter
05/14/2021, 8:20 PMMatthew Guthaus
05/14/2021, 8:21 PMEric Keiter
05/14/2021, 8:21 PMMatthew Guthaus
05/14/2021, 8:21 PMEric Keiter
05/14/2021, 8:21 PMEric Keiter
05/14/2021, 8:21 PMMatthew Guthaus
05/14/2021, 8:22 PMEric Keiter
05/14/2021, 8:22 PMEric Keiter
05/14/2021, 8:24 PMEric Keiter
05/14/2021, 8:27 PMEric Keiter
05/14/2021, 8:28 PMVern
05/14/2021, 10:59 PM.option hier_separator="."
that allows everyone's favorite punctuation mark, among other potential characters. An allowed list could be provided in the documentation.Vern
05/16/2021, 1:07 AM.loop
simulation card. To include differential loop gain, he created a balun element, but ran into the problem that we're out of letters for new elements. At the bottom of the thread, the suggested syntax for a new element (and thus, what could be a generalized means of expanding the spice instance syntax) is to indicate the balun with :balun:<instance-name>
. If anyone has connections to the ngspice developers, it might be worth pointing out xyce's conflicting hierarchy separator syntax.
ngspice .loop analysis threadEric Keiter
05/16/2021, 4:40 PMEric Keiter
05/16/2021, 4:42 PMEric Keiter
05/16/2021, 4:45 PMXyce -hspice-ext all netlist.cir <return>
This option forces Xyce to use the “Hspice” method of doing things when there is an unresolvable conflict with Xyce’s standard syntax. One example that is handled by this option is the “atto” unit suffix. In Hspice a number followed by “a” means “atto” which means 1e-18 multiplier. But in many other simulators “a” just means Amps unit. There isn’t an easy way to have the parser figure out which of these two things is intended.Eric Keiter
05/16/2021, 4:48 PMEric Keiter
05/16/2021, 4:51 PMEric Keiter
05/17/2021, 5:37 PMMatthew Guthaus
05/17/2021, 5:38 PMEric Keiter
05/17/2021, 5:39 PM