Commit Graph

278 Commits

Author SHA1 Message Date
rlar eb0824f55d whitespace 2017-07-29 19:21:52 +02:00
rlar 10e089ba26 simplify 2017-07-29 19:21:51 +02:00
rlar 8b65958b90 rename 2017-07-29 19:21:49 +02:00
rlar 8aa7535cff qa tests, avoid repeated exection of ngspice for version detection 2017-07-29 18:40:45 +02:00
rlar cbd323ff85 fix "ngspice version detection implemented", configure in separate directory 2017-07-28 22:51:38 +02:00
rlar f10b2c8b07 partial revert commit "charge check added by Colin McAndrew"
which reintroduced deprecated perl syntax

> defined(@array) is deprecated ...
>   (Maybe you should just omit the defined()?)
2017-07-27 20:27:01 +02:00
dwarning f1fe7ff842 debug printout improvements 2017-07-18 15:25:50 +02:00
dwarning 529c37b7b6 charge check added by Colin McAndrew 2017-07-18 15:23:51 +02:00
dwarning d125b47b1a fix ac-analysis check and overall improvements 2017-07-18 15:20:15 +02:00
dwarning ea8773bd5a ngspice version detection implemented 2017-07-18 15:18:08 +02:00
dwarning dfaada2f9d make shell string compare safe 2017-07-18 15:15:07 +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
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