Brian Taylor
b4dc94e915
Merge branch 'pre-master-47' into bt_dev
2026-04-08 09:50:34 -07:00
Holger Vogt
afd4eb64ed
Fix a bug introduced by yesterday's commit
...
8abfb5aeb0 /
2026-04-07 22:25:27 +02:00
Holger Vogt
8abfb5aeb0
Remove unused ft_gidb
...
Add debug ft_shvecsearch
Make ft_codemodelerror more verbose.
2026-04-06 14:15:42 +02:00
Brian Taylor
5149c2d344
Merge branch 'pre-master-47' into bt_dev
2026-04-04 09:27:50 -07:00
Brian Taylor
e628e92bc5
Match pre-master-47
2026-04-02 12:30:02 -07:00
Brian Taylor
13a3777aec
Merge branch 'pre-master-47' into bt_dev
2026-04-02 12:00:27 -07:00
Giles Atkinson
ae4a05158b
Ugly fix for failing MacOS builds on github: move parse-binon.y to the top.
...
BUILT_SOURCES seems not to work.
2026-04-01 09:53:34 +01:00
Giles Atkinson
e42a9e6b5c
Fix excessive forcing to lower-case in pure script files.
...
Add string comparisons as protected commands so they can be case-sensitive.
2026-04-01 07:35:20 +01:00
Giles Atkinson
3586cbcbea
Fix crash when a "*ng_script_with_params" script is called
...
from a control section.
2026-04-01 07:35:20 +01:00
Holger Vogt
4feeb94b12
Improve error message, make fprintf independent from OS
2026-03-30 16:03:19 +02:00
Holger Vogt
96404e9939
Exclude memory check for Apple Silicon
...
Not yet working as getAvailableMemorySize delivers wrong values.
2026-03-30 16:00:32 +02:00
Holger Vogt
f227a3abd6
Prevent a crash with shared ngspice when memory is exhausted:
...
Add a pre-check if available memory is sufficient. If not, bail out.
2026-03-27 10:31:30 +01:00
Holger Vogt
cd14f85cde
Remove ft_skywaterpdk, replace it by variable no_auto_braces
2026-03-25 13:33:52 +01:00
Holger Vogt
aab3371f36
A memory leak occurs when command 'step' is followed by 'quit'
...
without having reached the final TSTOP.
New function DCtran_step_quit() removes the leak.
2026-03-25 13:33:17 +01:00
Brian Taylor
a044a43dd4
Merge branch 'pre-master-46' into bt_dev
2026-03-23 19:27:41 -07:00
Holger Vogt
35c63e1008
No quoting of potential params when comnpatmode is set to hs
...
and variable no_auto_braces is set.
2026-03-22 11:34:29 +01:00
Holger Vogt
16e6f21523
Revert "No quoting of potential params when comnpatmode is set to hs."
...
This reverts commit 1aa3fa22ff .
2026-03-22 11:08:35 +01:00
Holger Vogt
ab5010506e
A memory leak occurs when command 'step' is followed by 'quit'
...
without having reached the final TSTOP.
New function DCtran_step_quit() removes the leak.
2026-03-21 19:57:16 +01:00
Holger Vogt
af67662a3f
In case of transient simulation error, bail out when fft is called.
2026-03-20 16:59:11 +01:00
Holger Vogt
5066fe05f3
In case of transient simulation error, bail out when fft is called.
2026-03-20 16:01:19 +01:00
geraldfournier
65e5ccb7bb
Make fft scaling independent from rounding behaviour for odd data.
...
Add a time slot to fft span.
2026-03-20 13:37:06 +01:00
dwarning
b3a78b02cc
Special Nyquist scaling only for even length.
...
Let nyquist bin not empty for odd vector
2026-03-20 13:33:39 +01:00
Holger Vogt
88895f1394
Parameter np=xx added. xx may be a number or auto2n.
...
If np is not set, 'linearize' behaves as usual, (TSTOP-TSTART)/TSTEP + 1.5
If np=<number>, integer <number> is used
If np=auto2n, the number of points is 2^n, close to (TSTOP-TSTART)/TSTEP.
2026-03-20 10:58:36 +01:00
Holger Vogt
38ce7778b3
Update 2 to warning messages if osdi or code model files cannot be loaded
2026-03-20 10:57:37 +01:00
Holger Vogt
7d0dce0e70
Update to warning messages if osdi or code model files cannot be loaded
2026-03-20 10:57:23 +01:00
Holger Vogt
f86018afe9
Do not give up when non-existing fft window is chosen,
...
but issue a message and go on.
2026-03-20 10:43:44 +01:00
Enrique
7a76310b6b
Added parameter numPeriod so that the user can select the number of fundamental frequency periods used in the detection of the fundamental frequency and its harmonics. This is usefull when trying to recover the fundamental frequency and its harmonics from a noisy signal, like the output of a DCDC converter
2026-03-20 10:40:15 +01:00
Holger Vogt
e613d5b8db
Improve error message, no output of line string if not 'set ngdebug'
2026-03-20 10:38:51 +01:00
Holger Vogt
603089b29f
Re-enable not setting lower case if commands from spinit or .spiceinit
2026-03-20 10:38:21 +01:00
Holger Vogt
a165ab5c28
Allow Cd as a valid C reference designator for a capacitor,
...
i.e. lower-casing of node names,
by re-organizing the setting of lower cases in the netlist:
No lower-casing for cd only while in a .control section.
2026-03-20 10:37:42 +01:00
Holger Vogt
d13cd984f4
Special treatment while spiltting multiple .param lines, if .param is a .func
2026-03-20 10:35:32 +01:00
Holger Vogt
7474cd70d0
Ignore .hdl and .biaswarn commands.
2026-03-20 10:34:45 +01:00
Holger Vogt
84f87aeafd
Improve error message by adding the sourcing netlist line
2026-03-20 10:31:34 +01:00
Holger Vogt
81d3812db0
Add a user-settable variable measureprec to set the number of digits
...
when printing the measure outputs.
Internally this is a global variable measure_precision.
Enable all measure commands to recognize measure_precision when
printing an output.
Default value is 5 (yielding 6 digits after .?).
2026-03-20 10:28:28 +01:00
Holger Vogt
7482de588b
Parameter np=xx added. xx may be a number or auto2n.
...
If np is not set, 'linearize' behaves as usual, (TSTOP-TSTART)/TSTEP + 1.5
If np=<number>, integer <number> is used
If np=auto2n, the number of points is 2^n, close to (TSTOP-TSTART)/TSTEP.
2026-03-16 18:04:39 +01:00
Holger Vogt
08a8ea275c
Revert "Add command 'linearnp np=1024 vec1 vec2'"
...
This reverts commit c4fc026af9 .
2026-03-16 13:15:53 +01:00
Holger Vogt
e95f19af46
Revert "Enable linearizing all vectors, when none is given, with or without np statement."
...
This reverts commit 8639a053a3 .
2026-03-16 13:15:40 +01:00
Holger Vogt
7d808f991e
Update 2 to warning messages if osdi or code model files cannot be loaded
2026-03-10 23:24:15 +01:00
Holger Vogt
2301d2e6aa
Update to warning messages if osdi or code model files cannot be loaded
2026-03-10 23:21:59 +01:00
geraldfournier
1c0bc1d5c9
make fft scaling independent from rounding behaviour for odd data
2026-03-06 16:34:20 +01:00
Holger Vogt
32e0d5f12f
Revert "make fft scaling independent from rounding behaviour for odd data"
...
This reverts commit a31ac54200 .
2026-03-06 16:31:29 +01:00
dwarning
a31ac54200
make fft scaling independent from rounding behaviour for odd data
2026-03-05 09:30:55 +01:00
dwarning
b522bcc6c0
correct Nyquist bin scaling for Green branch
2026-03-03 20:39:08 +01:00
dwarning
ad44b4ff4c
let nyquist bin not empty for odd vector
2026-03-03 18:32:32 +01:00
dwarning
a0dc0bb608
Special Nyquist scaling only for even length
2026-03-03 09:55:57 +01:00
dwarning
6ae057b3ea
revert commit 5e82b63
2026-03-03 08:54:03 +01:00
Holger Vogt
8639a053a3
Enable linearizing all vectors, when none is given, with or without np statement.
2026-03-02 15:56:11 +01:00
Holger Vogt
bfe496937e
Add patch for span
...
to add a time slot.
2026-03-01 18:31:37 +01:00
Holger Vogt
ee347262b5
Do not give up when non-existing fft window is chosen,
...
but issue a message and go on.
2026-03-01 17:04:14 +01:00
Holger Vogt
c4fc026af9
Add command 'linearnp np=1024 vec1 vec2'
...
linearises tran output on given number of time points.
If none is given, 2^n new points are chosen, next to
but smaller than original number of time points.
2026-03-01 17:04:10 +01:00