rlar
729ab44bd5
ngspiceMODULE.hxx.xml, $finish and test with r2_cmc.va
2019-02-17 07:41:20 +01:00
rlar
f71926ad15
bsim6.va, work around body local vars (topology.c)
...
again OPdependent related
2019-02-17 07:41:20 +01:00
rlar
9e1f43e9d8
bsim6.va, split temporary variable T0 into two variables
...
to avoid a dependency related problem in the xml files.
T0 and T0y, one of them have the OPdependent flag set
which surpresses variable declarations to be emited.
2019-02-17 07:41:20 +01:00
rlar
c093420884
bsim6.va, split temporary variable T1 into two variables
...
to avoid a dependency related problem in the xml files.
T1 and T1y, one of them have the OPdependent flag set
which surpresses variable declarations to be emited.
2019-02-17 07:41:19 +01:00
rlar
5b93bf1695
bsim6.va, split temporary variable T2 into two variables
...
to avoid a dependency related problem in the xml files.
T2 and T2y, one of them have the OPdependent flag set
which surpresses variable declarations to be emited.
2019-02-17 07:41:19 +01:00
rlar
504ef5f5e5
bsim6.va, split temporary variable T3 into two variables
...
to avoid a dependency related problem in the xml files.
T3 and T3y, one of them have the OPdependent flag set
which surpresses variable declarations to be emited.
2019-02-17 07:41:19 +01:00
Guilherme Brondani Torri
e8da2ccbe1
avoid escape sequence %M, show hierarchical name
...
* it will cause printf to fail
2019-02-17 07:41:19 +01:00
rlar
83641704d2
bsim6.va, work around "case"
2019-02-17 07:41:18 +01:00
rlar
5f928354a2
bsim6.va, work around "for" (in guesstopology ?)
2019-02-17 07:41:18 +01:00
rlar
47a6e00291
scrub analoffunction.xml, (anti cpp)
2019-02-17 07:41:18 +01:00
Guilherme Brondani Torri
5a6b0cbf60
analogfunction, rename generated file from .cpp to .c
2019-02-17 07:41:17 +01:00
Guilherme Brondani Torri
c7af29cd59
analogfunction, rename included file from [module]defs.h
2019-02-17 07:41:17 +01:00
rlar
45b362ca53
analogfunction.xml, name collission, rename function:getname and c:math_h
...
these would shadow definitions in ngspiceVersion.xml
2019-02-17 07:41:17 +01:00
rlar
b1e757d89d
extend "add analogfunction.xml from Qucs"
2019-02-17 07:41:17 +01:00
Guilherme Brondani Torri
54cb35f492
add analogfunction.xml from Qucs
...
* This script creates a header and source [module].analogfuncion.[h.cpp]
containing functions defined on the body of the Verilog-A model
2019-02-17 07:41:16 +01:00
Guilherme Brondani Torri
7924d547ba
add modulus symbol, multmod
2019-02-17 07:41:16 +01:00
rlar
99f6d4150c
bsim6.va from bsim 6.1.1, see %bsim6.el
2019-02-17 07:41:16 +01:00
Guilherme Brondani Torri
062763f911
Add bsim6.va to build system
2019-02-17 07:41:16 +01:00
rlar
6ad8a801ba
auxiliary my.mak files and %bsim6.el
2019-02-17 07:41:15 +01:00
Guilherme Brondani Torri
3d2bd1c6e1
register BSIM6 on adms ngspice interface
...
$./autogen.sh --adms
...
[fatal..] bsim6: device not handled by the adms ngspice interface
[fatal..] see [../admst/ngspiceVersion.xml:2120]
2019-02-17 07:41:15 +01:00
rlar
10219ace63
avoid unneccessairy diff noise (due to currentdate) in the adms generated files
2019-02-17 07:41:15 +01:00
dwarning
5fe1dca57a
add resource file for fftw build
2019-02-16 19:05:29 +01:00
Holger Vogt
02bc314a54
Allow " around netnames for .plot and .print commands.
...
This enables characters like - / + in netnames, e.g.
.print tran v("/jk-flip-flop-1/q")
2019-02-11 23:11:08 +01:00
Holger Vogt
6a86e3347e
correct the command name to 'setcs'
2019-02-06 23:11:48 +01:00
h_vogt
15542990bb
command.c, inpcom.c, add command 'setcs': like command 'set',
...
but case sensitive, and thus keeping upper or lower case
of subsequently following variable name and other letters.
2019-02-06 22:31:05 +01:00
Holger Vogt
23402a01cc
Add 'set stepsizelimit' also to spinit in 'make check'
2019-02-06 21:57:49 +01:00
dwarning
e8ee1169b0
correct entry for vdmos bulk diode in acload
2019-02-06 18:31:12 +01:00
Holger Vogt
daa5bdf203
-rm -> rm, re-enable 'make uninstall'
2019-02-04 20:53:25 +01:00
Holger Vogt
ccb0319022
An example for non-convergence of the pll if the stepszelimit is removed.
...
Adding a somewhat relaxed limit by TMAX in the tran command will speed
up the simulation by a factor of 1.5 without compromising the result.
2019-02-02 09:46:07 +01:00
Holger Vogt
c86f6265db
relieve the step size limitation (formerly set to TSTEP in tran simulation).
...
However not all examples will do without, thus the variable 'stepsizelimit'
is set in spinit. Unset it in .spiceinit to get the new behavior.
Of course then you might add the limit by setting TMAX in the tran command.
2019-02-02 09:46:00 +01:00
dwarning
6a14271894
prevent crash if mos instance has too few nodes - bug #391
2019-01-30 15:44:36 +01:00
dwarning
1c0890794b
remove double mos instantiation
2019-01-30 14:57:33 +01:00
Holger Vogt
03396aff6b
do not use the current plot, but try to get the plot set in arg...
2019-01-27 22:48:04 +01:00
Holger Vogt
21ef095b4e
Revert "take the plot data vector from the node selected - not the current plot"
...
This reverts commit 125600db9f .
2019-01-27 22:33:24 +01:00
Holger Vogt
125600db9f
take the plot data vector from the node selected - not the current plot
...
This is safe against plots or vectors that are not available.
Patch provided by Toni (astx)
2019-01-27 14:23:32 +01:00
Holger Vogt
90767c5bb8
beautify code with astyle
2019-01-27 12:42:56 +01:00
Holger Vogt
4bea0aadcf
use fcn plot_get
2019-01-27 12:41:53 +01:00
Holger Vogt
a3ead0bec5
return vector located in plot type given by 'name',
...
not just from the current plot
2019-01-27 12:41:08 +01:00
Holger Vogt
872ec89692
add function get_plot(name) to return address of named plot
2019-01-27 12:39:32 +01:00
Holger Vogt
29f364d475
creating a linearized cutout of the original vector
...
by defining the vectors lin-tstart, lin-tstop, and lin-tstep
before issuing the 'linearize' command
2019-01-26 09:48:30 +01:00
Holger Vogt
210dc1122f
new examples: inverters and ring oscillator using SOI
2019-01-19 14:11:45 +01:00
Holger Vogt
43e185a3cc
enable node names containing '-' in .ic and .nodeset statements
2019-01-19 11:04:03 +01:00
Holger Vogt
c6fae9ccfd
clarify estmation of memeory size for output vectors
2019-01-19 10:20:05 +01:00
Holger Vogt
151ddf141f
don't print status output in dcpss.c, if norefvalue is set
2019-01-13 20:04:09 +01:00
Holger Vogt
a16e2d7f6c
Remove memory warning message in shared lib
...
False warning on some OSs, especially on Linux when loaded during runtime.
The caller then has to take care of memory available
2019-01-13 10:35:46 +01:00
Holger Vogt
06d34379fb
add 'option norefvalue' to suppress printing the reference value.
2019-01-12 13:26:03 +01:00
Holger Vogt
50045f00af
add a variable 'nosavecurrents'.
...
If set by 'set nosavecurrents' and followed by 'reset',
the setting of internal current vectors is suppressed.
This is useful in ac simulation which does not support
'options savecurrents' and you have a mix of several
simulations in a script.
2019-01-10 07:52:11 +01:00
Holger Vogt
ac0a67eba1
move adding 1 to meminit to the right place (needed only once)
2019-01-09 08:21:48 +01:00
Holger Vogt
2d288a481c
Set up all memory in a single step for vector list in a plot.
...
This is to avoid multiple calls to time consuming TREALLOC
2019-01-08 23:32:17 +01:00
Holger Vogt
f8365762fb
prevent crash, instead issue an error message
...
if first coefficient cannot be parsed, e.g. of a line
V1 1 0 DC 0 trnoise(NoiseVoltage fs 0 0 0 0 0 )
(with missing {}).
Code truncates evaluating further coefficients,
if an error is detected. This now results in a warning
message, if ngdebug is set. The warning may be a
false positive though.
2019-01-06 14:18:50 +01:00