Commit Graph

34 Commits

Author SHA1 Message Date
rlar f78f03e6df spicelib/parser, support instance parameter defaults on .model lines 2018-01-21 21:39:48 +01:00
rlar 480a3f6be1 tests/regression/misc/resume-1.cir, expose bug
alter "resistance" and "resistor coefficient"
  is not honoured when resuming a transient simulation.
2017-10-21 19:05:28 +02:00
rlar e0126a4947 tests/regression/misc, check resistor flicker noise 2017-10-21 19:05:27 +02:00
rlar e9a675efb6 regression/**/*.cir, hide printed numeric values in some test cases
these tests shall be decided by "exit" value,
not be "diffing" the printed numerical values
2017-09-16 20:32:05 +02:00
rlar 6f7b68945d tests/regression/sens, fix test cases
which have been invalidated by commit:
ifparm, #4/16, missing IF_REDUNDANT for some aliases, introduce IOPAPR

before this commit, sensitivity to "capacitance" was published twice,
  once with name "c1"  (reference name of a CAP device)
  and as "c1_c" (reference name of a CAP concatenated with param name "c")
after said commit, sensitivity is no longer published as "c1_c"
  (because "c" is only an "alias"/IF_REDUNDANT of the main parameter
   which is named "capacitance", and "capacitance" is a IF_PRINCIPAL
   and thus avoids "concatenation" of the parameter name)
2017-04-21 18:52:43 +02:00
rlar 5522bfd814 tests/regression/sens, add some tests for "sensitivity" analysis 2016-07-17 18:18:35 +02:00
rlar d0897fd0c4 src/spicelib/parser/inpptree.c, bug fix, B expression of kind `max(0,expr)'
identified and reported by Marcel Hendrix,
expressions of this kind could trigger a segmentation violation.

PTdifferentiate() roughly evaluates to
  ternary_fcn(ge0(0-expr), 0, PTdifferentate(expr))
and mkb() optimizes
  0 - expr --> unary_minus(expr)

IFeval() invokes PTeval() for the derivative too,
PTeval() looks at the incorrect tree->funcnum
  and tries to PTeval for a second argument which is not there,
     (unary_minus does not have a second argument)
  causing a segmentation fault.
2016-03-09 20:24:37 +01:00
rlar c0eff98522 tests/regression/parser/bxpressn-1.cir, check some B expression capabilities 2016-03-09 20:24:36 +01:00
rlar 9fbafbfd1e frontend/device.c, com_alter_common(), #11/11 regression test 2015-12-27 11:19:00 +01:00
rlar 876086f768 fix commit "frontend/parse.c, bug fix, PPlex(.."dc1.@m1[vth][1]"..)"
which broke
  let something = foo[var]
notably used in
  examples/Monte_Carlo/MC_ring.sp
2015-12-16 19:17:41 +01:00
rlar 47a4aca9cb upgrade regression test to the previous commit 2015-11-22 19:37:48 +01:00
rlar 507e2ecca6 regression/misc/bugs-1.cir, add tests for unary `+' 2015-11-07 20:56:16 +01:00
rlar 28c0c96bbc devices/res, introduce TCE, exponential temperature coefficient 2015-11-02 19:25:43 +01:00
rlar a5f933b3ec frontend/parse.c, bug fix, PPlex(.."dc1.@m1[vth][1]"..)
The whole string was lexed into only one TOK_STR
  instead of the actual (quasi) identifier "dc1.@m1[vth]"
2015-09-24 18:25:25 +02:00
rlar 8a65e97c2f tests/regression/temper, several issues with `temper' in model parameters 2015-08-10 17:33:17 +02:00
rlar 93354e7b73 tests/regression/misc/log-functions-1.cir, check log, log10 and ln 2015-05-10 21:47:40 +02:00
rlar 53045dae53 tests/regression/parser/xpressn-1.cir, check log10 2015-05-10 21:47:34 +02:00
rlar b9abea4f88 tests/regression/pz/ac-resistance.cir, check ac resistance (op, ac and pz) 2015-05-10 21:47:18 +02:00
rlar d34ccd7208 tests/regression/model/special-names-1.cir, check "#307 define problems with the Modelname "mname" with Subcircuits" 2015-05-10 21:47:14 +02:00
rlar 1370f37f45 tests/regression/misc/resume-1.cir, regression test, "stop" and "resume" 2015-05-09 21:27:20 +02:00
rlar 8e65614d31 spfactor.c, cktnames.c, don't crash when simulating "nothing"
reported by Siddhant Saraf in
> [ngspice:discussion] "out of memory" error : simulating a 2bit AND gate"

This comes in two flavours,
   1) an empty circuit
   2) a xspice circuit with exclusively xspice event nodes
2015-02-08 22:07:14 +01:00
rlar 33d33e9d50 src/frontend/variable.c, fix expansion of '$var' when $var is an empty list
test case:
 set foo = ( )
 set foo = ( $foo baz bar )
 echo $foo
2014-11-30 11:20:05 +01:00
rlar 5e76305ffa inpcom.c, inp_modify_exp(), bug fix, enforce precedence when numparm substitutions come into play 2014-11-06 21:16:24 +01:00
rlar ba85aaf88f tests/regression/misc/bugs-1.cir, regression test for bug #294 2014-11-06 18:29:51 +01:00
rlar 98cfc1b26f regression test for nint/floor/ceil 2014-09-20 17:26:28 +02:00
rlar f1e67cccae tests/regression/model/binning-1.cir, check model binning 2014-08-09 18:17:57 +02:00
rlar a7dd20f5ca missing file in commit "b14eb0a4 * regression test for multiple .global cards" 2014-08-08 19:13:19 +02:00
rlar b14eb0a474 regression test for multiple .global cards 2014-07-26 20:27:55 +02:00
rlar 7f7453a227 inp_do_macro_param_replace(), fix several bugs concerning .func processing 2014-07-08 18:19:26 +02:00
rlar d225c4f958 xpressn.c, introduce fortran style nint() rounding function 2014-01-02 09:33:21 +01:00
rlar a088a6e0e6 subckt.c, fix .model processing (scope) 2014-01-02 09:33:18 +01:00
rlar cccc02e844 tests/regression/parser
check xpressn.c parser capability to parse {2--3}
check .control parser capability to parse 2--3
check B parser capability to parse 2--3

check echo commands capability to print "--"
check echo commands capability to print upper and lower case

check xpressn.c parser capabilities

check precision of some transcendental functions
2014-01-02 09:25:53 +01:00
rlar 92a26b58f0 tests/regression/lib-processing, fix upper/lower case 2014-01-02 09:25:51 +01:00
rlar cee318c68b check the .lib processing 2013-12-31 12:53:40 +01:00