8829d21e26Patch fixes bug in the original linear interpolation, along with generating a proper "streaming" resampled output.
Linus Torvalds
2025-07-07 14:08:56 +0200
492ab61ff1provide correct path info
Holger Vogt
2025-07-07 14:02:10 +0200
f3ba79b5a2No autostart when ctrl is set. Fix a bug when repeating the sequence.
Holger Vogt
2025-06-08 11:09:17 +0200
882acb73fdAdd a monitoring output the the seegen instance
Holger Vogt
2025-06-08 10:09:28 +0200
7f6b233543MESFET m and ic parameters fixed.
Árpád Bűrmen
2025-06-07 10:22:32 +0200
8d2e11b218Add a generator for SEE (single event effects) pulses as a code model. To be used like aseegen1 NULL [%id(xcell.n1 m1) %id(xcell.n2 m2) %id(xcell.n1 m1) %id(xcell.n2 m2)] seemod1 .model seemod1 seegen (tdelay = 11n tperiod=25n tfall='tfall' trise='trise' let='let' cdepth='d') see README.SEEgenerator for details
Holger Vogt
2025-06-06 15:11:35 +0200
b7d434550aAdd function cm_get_neg_node_name as cm_get_node_name delivers only the pos node.
Holger Vogt
2025-06-04 12:31:13 +0200
b57ef4a42dSnapshot support for new statistics added by e1677a18c4. That prevents a crash exiting examples/snapshot/adder_snload.script.
Giles Atkinson
2025-06-06 12:01:36 +0100
4fcb74779eFix Bug #793 - "breakp.c error: compling without XSPICE failed". Additional changes to conditional compilation are needed for iplot without XSPICE.
Giles Atkinson
2025-06-04 09:47:38 +0100
30ab455b64Enable real (from fft)or complex (from sp) frequency vetors in plot sp
Holger Vogt
2025-06-06 11:56:57 +0200
88d337f299Remove limitation on TSTEP
Holger Vogt
2025-06-04 13:07:51 +0200
c8f3a054c9large TSTEP is possible
Holger Vogt
2025-06-04 12:35:02 +0200
61633d39d9Use cm_get_neg_node_name to improve output. Set a breakpoint at pulse maxumum time. Set first breakpoint during initialization. This enables large TSTEP times.
Holger Vogt
2025-06-04 12:33:05 +0200
32b8be0896Add function cm_get_neg_node_name as cm_get_node_name delivers only the pos node.
Holger Vogt
2025-06-04 12:31:13 +0200
69cac5bcc6README and examples updated (trise, tfall, let, cdepth).
Holger Vogt
2025-06-03 10:51:51 +0200
5c3ddfb8e4add source of model
Holger Vogt
2025-06-02 23:43:51 +0200
1144e67a20Introduce let, cdepth, and angle replace tbeta and talpha by trise and tfall
Holger Vogt
2025-06-02 23:38:29 +0200
29c3189a68Enable expressions in a meas statement within a .control section, like meas tran yeval2 FIND v(2) WHEN v(1)= 0.9*v(2)
Holger Vogt
2025-06-02 11:59:18 +0200
1d8724b855Linux line endings
Holger Vogt
2025-05-31 12:03:09 +0200
ed80400661Fix Bug #792 - "N device instance line not parsed correct". Code added by 83d3890490 failed with a single parameter with no speces.
Giles Atkinson
2025-05-28 11:28:21 +0100
29ce826cf6Improve efficiency of linked list search. (See BUG 783).
Giles Atkinson
2025-05-03 08:55:29 +0100
0713f46506Make all new entries lower case.
Holger Vogt
2025-05-27 21:13:26 +0200
705c0d8dc6Prevent crash if file cannot be opened.
Holger Vogt
2025-05-27 21:13:09 +0200
a385a8654bFix Bug #792 - "N device instance line not parsed correct". Code added by 83d3890490 failed with a single parameter with no speces.
Giles Atkinson
2025-05-28 11:28:21 +0100
8d76a9a56aImprove efficiency of linked list search. (See BUG 783).
Giles Atkinson
2025-05-03 08:55:29 +0100
b09778d479Make all new entries lower case.
Holger Vogt
2025-05-27 21:13:26 +0200
b05d9eb150Prevent crash if file cannot be opened.
Holger Vogt
2025-05-27 21:13:09 +0200
ed0ab4cc0dCMOS simple and slow OpAmp example
Holger Vogt
2025-05-27 14:29:59 +0200
cf72e76607Early return, if ac simulation
Holger Vogt
2025-05-27 14:21:54 +0200
287e8da85bHow to choose TSTEP in transient simulation.
Holger Vogt
2025-05-27 13:56:46 +0200
064c649d98Add a breakpoint to catch the pulse start time.
Holger Vogt
2025-05-27 13:56:08 +0200
8e7c15a01aDescription of parameter 'perlim'.
Holger Vogt
2025-05-27 13:34:23 +0200
f247d1e2ceAdd parameter perlim: continous sequence or one time sequence.
Holger Vogt
2025-05-27 13:33:17 +0200
1b39cf9025Fix some more -Wextra warnings. Fix to inpcom.c removed by HVO
Brian Taylor
2025-05-14 16:21:14 +0200
3ceb16024aFixes a bug introduced by 317378085 ("Tidy code in get_number_terminals(), removing unneeded copying.", 2025-02-25)
Holger Vogt
2025-05-14 16:00:54 +0200
c2702208bdAllow command 'stop when time=val' also if the tran simulation has already been started, e.g. while waiting for resume. Add a breakpoint if 'val' is in the future.
Holger Vogt
2025-05-13 11:52:45 +0200
a7961f1a97Fix some compiler warnings when -Wextra is added to CFLAGS.
Brian Taylor
2025-05-11 15:54:18 -0700
c3553396d9beautify the code
Holger Vogt
2025-04-29 20:29:14 +0200
d8317d57bcRe-enable compilation with MS Visual Studio, as "ngspice/config.h" is not available. Add-on to commit 4881b2973 ("Fix Bug #772 - "ngspice + icarus verilog cosim: searches for ivlng.so in /usr/local/lib/ngspice ...". Use the configured library directory, NGSPICELIBDIR.", 2025-04-11)
Holger Vogt
2025-04-29 11:50:09 +0200
d6f3267bf6Fix Bug #772 - "ngspice + icarus verilog cosim: searches for ivlng.so in /usr/local/lib/ngspice ...". Use the configured library directory, NGSPICELIBDIR.
Giles Atkinson
2025-04-11 08:59:25 +0100
35ae1ece8cAdd an error message for a .model line that includes a default value for a read-only instance parameter. Before that caused a fatal error in parsing the first device to use the model.
Giles Atkinson
2025-03-11 21:09:44 +0000
8ab446fc9cFix Bug #750 - "VDMOS Model Naming Rules in NGSPICE Cause Confusion." Recognise VDMOS as a special keyword only as the third token in a .model line. A new function, skip_token(), included in the change allows simplification of some existing code.
Giles Atkinson
2025-03-11 21:03:24 +0000
bba4046d55Re-make pll-xspice.cir as a wrapper around shared-pll-xspice.cir, behaviour as before. Add similar pll-digital-iplot.cir as a demonstration of iplot with analogue and digital nodes.
Giles Atkinson
2025-03-31 10:33:49 +0100
592b99d0efRename pll-xspice.cir to shared-pll-xspice.cir to prepare for split.
Giles Atkinson
2025-03-31 10:26:41 +0100
0029d415eeFix for an error message seen when testing the shx shared-library program: do not allow a negative timestep.
Giles Atkinson
2025-03-29 14:20:52 +0000
a649514e87Add an extended shared library test program with additional local commands to exercise the API.
Giles Atkinson
2025-03-27 08:54:24 +0000
16aadef4c7Add two new functions to the shared library API. ngSpice_Raw_Evt() requests a callback that returns all the XSPICE events for a specific node that occurred during the last timestep. ngSpice_Decode_Evt() provides numeric and string versions of the event data. Also fix some warnings in sharedspice.c.
Giles Atkinson
2025-03-25 17:50:24 +0000
44b620658eEvent nodes can be plotted with offset by "iplot", like the digitop option for "plot". Offsets may be explicit or automatic with "-o". A variable to set the offset is shared with "plot". In plotcurv.c suppress some warnings that should not apply to event nodes and do not falsely claim that some vectors have only one x-value.
Giles Atkinson
2025-03-29 19:08:32 +0000
78924a86a1Support use of XSPICE event nodes with iplot. In graf.c, local function set() is renamed setflag() to avoid conflict with a newly-visible global function with the same name.
Giles Atkinson
2023-12-29 16:21:53 +0000
d528c2a693Do not strip event value member names (like "digital_node(strength") from the name when creating a vector from event node history.
Giles Atkinson
2023-07-27 04:51:54 +0100
5790dc2f4dAdd two new XSPICE functions: EVTnew_value_call() and EVTcancel_value_call(). EVTnew_value_call() specifies a function to be called for each confirmed new value produced on an XSPICE event node. To be used to add event node support for iplot.
Giles Atkinson
2025-03-23 16:46:55 +0000
80d6e681f2MS Windows: Get a canonical paths name: Important if path length exceeds MAX_PATH, might happen when using PDKs
Holger Vogt
2025-04-12 18:12:54 +0200
43c4c49e11re-enable adding variables (path names) to list variable "sourcepath"
Holger Vogt
2025-04-06 12:47:08 +0200
a2dbedff4eImproved error message, not using internal 'circbyline'
Holger Vogt
2025-04-10 23:51:34 +0200
f1381b43a1Debug printout of start-up command line
Holger Vogt
2025-04-04 15:33:43 +0200
cf934bca7dNew command 'save nointernals' to suppress outputting and saving of internal device nodes, espicially needed for PSP OSDI model. Output file size reduction is e.g. from 20GB to 200MB.
Holger Vogt
2025-03-28 14:20:32 +0100
de7cec1735AC noise: Update opertating point, if variable 'hertz' is given
Holger Vogt
2025-03-10 12:56:41 +0100
338cc42dd0PS compatibility: MOS level 5 and Bip level 2 will create an error. ngspice then bails out, as no such models are available. Hint to use OpenVAF, OSDI.
Holger Vogt
2025-03-10 12:55:29 +0100
d776a229e1Create a vector thdnm from THD calculation, e.g. thd11 New vector fournosave: if set, suppress creation of vectors thd11 and fourier, usefull when writing a raw file.
Holger Vogt
2025-03-10 12:53:40 +0100
629d1f5462Fix a bug where a node name is mis-identified as the model for an OSDI device and remove a limit on node count. Problem was reported by user Sam in ngspice-users.
Giles Atkinson
2025-02-26 09:04:42 +0000
d18479b45bAlways check for GUI events during simulation, if any graphs exist. Previously this check was only made if an iplot window existed. The 100W.sp example displayed frozen windows with X11-based plotting.
Giles Atkinson
2025-02-25 08:44:17 +0000
7cc3280851Enhance the search path for .spiceinit (spice.rc): - in the directory from where the netlist has been loaded - in a user provided path read from environmental variable SPICE_USERINIT_DIR, - in the current directory, - in the the HOME directory, - in the USERPROFILE directory. */ In shared ngspice the first line shall read - in the directory Infile_Path received from the caller (sent before initialization)
Holger Vogt
2025-03-01 13:42:01 +0100
7aa8ed0170Involve optional d-s shunt in ac and pz analysis
dwarning
2025-02-28 16:52:00 +0100