Commit Graph

284 Commits

Author SHA1 Message Date
Holger Vogt 38ed802ba4 add alter-1.cir to EXTRA_DIST 2018-06-01 21:57:28 +02:00
Holger Vogt 06e669fdf7 add alter-1.cir to allow the regression test 2018-05-31 19:07:01 +02:00
rlar 1a39d3f59d spicelib/parser, support instance parameter defaults on .model lines 2018-05-19 15:40:20 +02:00
rlar c8aac12374 regression test for device.c "alter" 2018-05-15 22:33:50 +02:00
rlar 6903584e99 asrc/asrcacld.c, bug fix, reciproc tc coefficient 2018-02-25 21:59:15 +01:00
rlar c5d8ad792e analysis/acsetp.c, ac analysis, allow frequency=0 2018-01-15 19:04:52 +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 3f9e79925e tests/bin/check.sh, process MINGW and MSYS test results like Linux 2017-09-16 20:42:17 +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
dwarning 9f931ad155 modelQaTestRoutines.om, avoid '(' ')' and '/' in the platform name
which will be used as a directory name
2017-09-16 20:30:42 +02:00
rlar 98c0e4bdae qa tests, avoid repeated exection of ngspice for version detection 2017-08-03 17:02:57 +02:00
dwarning 104d65bebe compareSimulationResults.pl, debug printout improvements 2017-08-03 17:02:21 +02:00
dwarning 72531c955d charge check added by Colin McAndrew 2017-08-03 17:02:00 +02:00
dwarning 118026cfb9 ngspice version detection implemented 2017-08-03 17:01:49 +02:00
dwarning eacbc3702d fix ac-analysis check and overall improvements 2017-08-03 17:01:40 +02:00
dwarning 5214bd4b96 run_cmc_check, make shell string compare safe 2017-08-03 17:01:17 +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
dwarning 3f0096fd46 bsim4 model update according berkeley release - code change 2017-03-31 14:48:14 +02:00
h_vogt c260a83114 d_state.cir: print all event nodes to vcd file 2016-08-15 19:24:15 +02:00
h_vogt 0a9917e142 check.sh, enable msys2 2016-08-15 11:27:06 +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 9a1170c032 tests/bin/modelQaTestRoutines.pm, avoid defined(@array) is deprecated warning 2015-10-31 20:32:19 +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
dwarning 000b23cc52 bsim4 generates .out files 2015-03-31 17:25:02 +02:00
dwarning 9a0e9df794 use latest version for bsim4 2015-03-31 14:12:33 +02:00
dwarning 0cf0bcd0ea few digits more in result file 2015-03-31 14:10:57 +02:00
dwarning 5e0726195d model qa check for other simulator 2015-03-30 16:02:41 +02:00
dwarning 886bc336bf extend qa test to hisimhv version 2 2015-03-30 12:48:44 +02:00
dwarning f135a32401 extend qa test to hisimhv version 2 2015-03-30 12:06:56 +02:00
dwarning d09ad841ac few unifications for better qa tests and recover permission of run scripts 2015-03-30 11:48:29 +02:00
dwarning 4030d97c19 qa check: no additional noise from test bench 2015-03-27 22:22:49 +01:00
dwarning a80783ac56 hisimhv: qa check cleaning for qaSpec 2015-03-27 22:06:05 +01:00
dwarning d767743f76 no copy needed for qaSpec 2015-03-27 22:01:23 +01:00
dwarning 9970ce590d use sqrnoise for qa test to be compatible with reference results 2015-03-26 14:01:35 +01: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