rlar
07ee771a96
noise analysis, bug fix, override ac magnitude of all vsrc/isrc devices
Bug report due to Hartmut Henkel in
>> [Ngspice-users] Noise analysis depends on ac parameter
The noise analysis internally depends on an ac analysis
to derive "inoise" from "onoise"
("onoise" is multiplied with the inverse ac gain from input to output)
This AC analysis used all the given ac magnitudes for all vsrc/isrc
devices in the deck.
This fix overrides all ac magnitudes with zero,
except for the given input device,
whose magnitude is set to one.
11 years ago
rlar
73d581f9a6
graph.h, struct graph, remove unused elements
11 years ago
rlar
2b3220086d
graph.h, grid.c, enforce consistent string buffer size (plot "units", LABEL_CHARS)
11 years ago
rlar
c5e0bcde04
cleanup using `hypot()'
11 years ago
rlar
e08dcafbe9
cleanup, signature of CKTacDump() and CKTdump(), void* --> runDesc*
12 years ago
rlar
c6a8429258
src/maths/cmaths, implement `nint()' (.control language)
12 years ago
rlar
9e72296e40
src/spicelib/parse, implement `nint()' (`B' language)
12 years ago
rlar
99eade8ec9
cleanup, rename cx_ln --> cx_log (.control language)
12 years ago
rlar
c926f46986
cleanup, rename rename cx_log --> cx_log10 (.control language)
12 years ago
rlar
bdf70bd2b0
cleanup, rename PTln --> PTlog, PTF_LN --> PTF_LOG (`B' language)
12 years ago
rlar
93a212ca3c
cleanup, rename PTlog --> PTlog10, PTF_LOG --> PTF_LOG10 (`B' language)
12 years ago
rlar
f5d05af51d
inpgmod.c, INPgetModBin(), use model_name_match()
12 years ago
rlar
b663731379
rewrite model_bin_match(), rename --> model_name_match()
12 years ago
rlar
aa7a7606c7
avoid multiple declarations of controlled_exit(), add 'noreturn' attribute
13 years ago
rlar
80dd41451f
introduce tvprintf()
12 years ago
rlar
03f0ef778f
bug fix, need va_copy() when reusing a va_list
12 years ago
rlar
a4780f8e34
string.c, introduce tprintf()
12 years ago
rlar
ea7372efe7
rewrite, useing IFerrorf()
OUTerror() and IFerror() are no more used,
but kept for compatibility
12 years ago
rlar
f26c1b71f9
introduce OUTerrorf() and IFerrorf()
a varargs variant of the older variants OUTerror() and IFerror()
12 years ago
Henrik Forsten
3794c1eb20
mark end of struct GENmodel overlay
13 years ago
h_vogt
0a17d46509
new callback function cm_get_path, which makes the global
ngspice variable Infile_Path available to XSPICE code models
12 years ago
h_vogt
1f5de32512
global variable Infile_Path, which contains the
input netlist file path
12 years ago
h_vogt
52d8c7ec6e
cm.h: add config.h to access #defines
12 years ago
dwarning
a90f916883
fftext.c, move the Bourke FFT code to fftext.c (rename macro)
13 years ago
dwarning
c61e1bc8c6
fftext.c, move the Bourke FFT code to fftext.c (as a backup)
13 years ago
h_vogt
e97de24041
C99 functions are only available in MSVC 2013 and newer. Still needs testing!
12 years ago
rlar
d225c4f958
xpressn.c, introduce fortran style nint() rounding function
12 years ago
rlar
5d3f4e7f55
introduce CKTsoaInit()
13 years ago
dwarning
c8f5d49ddd
implement CKTsoaCheck()
13 years ago
dwarning
bf9ad0bdfd
introduce new SPICEdev operation `DEVsoaCheck()'
13 years ago
h_vogt
8ad6bd209d
replacements for functions missing in the msvc world
12 years ago
rlar
d598630b72
inpcom.c, cleanup inp_readall() #1/7, introduce inp_read()
13 years ago
rlar
5db94276d3
sprinkle some constness
13 years ago
h_vogt
d70865a162
allow 'temper' keyword in .param, .model and device instance lines
inpcom.c: fcns inp_fix_temper_in_param(), inp_new_func(), inp_rem_func()
to convert .param with 'temper' to .func, and replace all affected
parameter tokens xxx by their func counterpart xxx()
inpcom.c; fcns inp_temper_compat(), inp_modify_exp() added
to prepare expression with 'temper' for numparam
inp.c: fcns inp_parse_temper(), inp_parse_temper_trees() added
inp_evaluate_temper()
to prepare, parse and evaluate the expressions containing 'temper'
cktdefs.h: add global variable to expressions with 'temper'
dctrcurv.c: add fcn inp_evaluate_temper()
when temp has changed
13 years ago
h_vogt
8c85064018
inperrc.c: new function `INPstrCat()' to concatenate two strings
13 years ago
dwarning
54529d0e42
allow cshell $variable substitution with and without $&var
13 years ago
dwarning
075b620a86
introduce `cx_sortorder()' function
13 years ago
dwarning
4635a19ba9
introduce unwrap, minimum and maximum function
13 years ago
h_vogt
d2dbe6145f
sharedspice.c: modified callback interface
enhanced function ngSpice_Init_Sync()
three new callback functions for synchronization
13 years ago
dwarning
6a3da0105b
fft and ifft as vector functions
13 years ago
dwarning
0b1bff9fd8
fix type of length in fft window function
13 years ago
dwarning
f3e7bf141d
move the `fft_windows()' function to fft/fftext.c
13 years ago
rlar
23d0f41e66
ft_find_analysis_parm(), change signature
13 years ago
rlar
fc2dd436fe
abstraction, new function `ft_find_analysis_parm()'
13 years ago
rlar
9d0500027c
abstraction, new function `ft_find_analysis()'
13 years ago
rlar
7381081226
ciderlib, proper types for newCard(), setCardParm(), askCardQuest()
13 years ago
rlar
ccb600f3c1
drop `NIL' macro
13 years ago
rlar
f973e7107f
memory.h, polish macros
13 years ago
rlar
df5c785a84
drop `INPmodUsed' which is redundant to `INPmodfast'
13 years ago
rlar
e7def1a0bc
CKTfndMod(), drop unused arguments `type' and `modfast'
13 years ago