ngspice/src/frontend
Giles Atkinson 359e3d4609 Fix Bug #467 - ".OPTION INTERP has accuracy issue". 2023-11-09 12:09:05 +00:00
..
help EXITPOINT, memory leaks upon failure 2020-04-27 10:16:55 +02:00
numparam Stat. functions: safeguard against divide by zero, return nominal value 2023-08-26 10:15:08 +02:00
parser Make the special "noglob" variable work. To preserve previous behaviour 2023-09-25 10:54:13 +02:00
plotting Modify the previous commit a616a0abe: 2023-09-15 23:41:12 +02:00
trannoise We start not at 0, but use the mean value (given in PARAM2) as 2022-04-25 21:31:00 +02:00
wdisp Fix bug 624 also for MS Windows 2023-03-18 14:33:51 +01:00
ChangeLog
Makefile.am Shift all compatibility handlinmg from inpcom.c into its own source files 2023-05-27 10:39:05 +02:00
README
arg.c Two memory leaks found interactively with valgrind with safe fixes. 2022-05-10 15:30:08 +02:00
arg.h Add 'esave' command to save only specific event nodes. 2022-01-09 10:58:38 +01:00
aspice.c Remove the obsolete RETSIGTYPE, replace by void 2023-03-18 14:30:29 +01:00
aspice.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
breakp.c Fix an infinite loop bug that may be seen with "stop whan a>b" or 2023-08-11 11:39:17 +02:00
breakp.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
breakp2.c plug a memory leak 2021-12-23 14:37:57 +01:00
breakp2.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
circuits.c harmonise `struct circ' variables, `ckt' --> `ci' 2015-12-15 18:36:59 +01:00
circuits.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
com_ahelp.c prevent string overflow by adding the string length 2018-07-22 14:57:49 +02:00
com_ahelp.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_alias.c Fix Bug #402 "Crash related to aliases". Do not return freed pointer. 2022-04-26 10:34:45 +02:00
com_alias.h Commit [88653f] Fixed assorted compiler warnings, memory leaks, etc. 2020-04-25 10:29:00 +02:00
com_asciiplot.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 2012-10-06 12:12:08 +02:00
com_asciiplot.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_cdump.c src/frontend/** remove superfluous `return' invocations 2012-09-22 19:33:55 +02:00
com_cdump.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_chdir.c remove all the remains of quote() and strip() that had been 2020-03-15 08:51:12 +01:00
com_chdir.h Command 'cd' now switches to the home directory also for MS Windows. 2018-08-18 21:22:59 +02:00
com_commands.h new command 'alterparam', to be used in conjunction with 'mc_source' 2018-05-15 22:46:06 +02:00
com_compose.c Improve commands for vector scales. "setscale" can now change 2023-07-15 11:28:48 +02:00
com_compose.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_display.c remove all the remains of quote() and strip() that had been 2020-03-15 08:51:12 +01:00
com_display.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_dl.c prototype for Verilog-A integration using OSDI and OpenVAF 2022-12-27 13:51:57 +01:00
com_dl.h prototype for Verilog-A integration using OSDI and OpenVAF 2022-12-27 13:51:57 +01:00
com_dump.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 2012-10-06 12:12:08 +02:00
com_dump.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_echo.c remove all the remains of quote() and strip() that had been 2020-03-15 08:51:12 +01:00
com_echo.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
com_fft.c correct fft dc scaling bug #620 2023-03-18 14:31:24 +01:00
com_fft.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
com_ghelp.c Updating links to ngspice web pages 2023-03-18 14:37:02 +01:00
com_ghelp.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_gnuplot.c src/frontend/** remove superfluous `return' invocations 2012-09-22 19:33:55 +02:00
com_gnuplot.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_hardcopy.c Fix a comment 2021-07-05 14:25:26 +02:00
com_hardcopy.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_help.c Fix a bug in the "help" command. Some commands have no action function, 2023-09-23 17:03:19 +02:00
com_help.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_history.c com_history.c, static declaration for 'cp_hprint()' 2016-08-15 11:27:15 +02:00
com_history.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_let.c Introduce variacle 'plainlet' which allow simple copying 2020-12-22 17:56:18 +01:00
com_let.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_measure2.c Fix a bug reported by Thomas Hoffmann in ngspice-users discussion, 2023-03-18 14:33:13 +01:00
com_measure2.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_option.c Improve iteration limit options display 2022-01-17 12:06:35 +01:00
com_option.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_plot.c The 'plot' command is not available in batch mode. 2023-07-15 11:22:00 +02:00
com_plot.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_rehash.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 2012-10-06 12:12:08 +02:00
com_rehash.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
com_set.c Fixed merge conflict. Also made readifile() static and removed an unnecessary string duplication there. 2020-03-15 08:50:52 +01:00
com_set.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_setscale.c Improve commands for vector scales. "setscale" can now change 2023-07-15 11:28:48 +02:00
com_setscale.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_shell.c Make the returned status of the "shell" command available as interpreter 2023-07-15 11:30:48 +02:00
com_shell.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
com_shift.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 2012-10-06 12:12:08 +02:00
com_shift.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
com_state.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 2012-10-06 12:12:08 +02:00
com_state.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_strcmp.c remove all the remains of quote() and strip() that had been 2020-03-15 08:51:12 +01:00
com_strcmp.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
com_sysinfo.c add missing get_sysmem() when no info available 2020-08-20 15:29:49 +02:00
com_unset.c clear all variables upon 'quit' 2020-08-20 15:21:12 +02:00
com_unset.h clear all variables upon 'quit' 2020-08-20 15:21:12 +02:00
com_wr_ic.c Update to command 'wrnodev': 2023-09-28 10:05:31 +02:00
com_wr_ic.h Add command 'write_ic' 2021-09-29 20:11:45 +02:00
com_xgraph.c src/frontend/** remove superfluous `return' invocations 2012-09-22 19:33:55 +02:00
com_xgraph.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
commands.c Add support for including analog node changes in VCD file output, 2023-07-31 14:28:29 +02:00
commands.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
completion.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
control.c Handle SIGTTIN and SIGTTOU on Unix-like OSs with X11 graphics. 2023-09-23 17:03:24 +02:00
control.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
cpitf.c Make the special "noglob" variable work. To preserve previous behaviour 2023-09-25 10:54:13 +02:00
cpitf.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
define.c Use only internal memory functions, replace 2018-07-21 23:54:43 +02:00
define.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
device.c Add new flags to command devhelp: 2022-04-28 09:29:02 +02:00
device.h Add new flags to command devhelp: 2022-04-28 09:29:02 +02:00
diff.c Add error messages when controlled_exit is called: 2022-12-11 15:29:47 +01:00
diff.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
dimens.c type modifier, parameter graph removed from SetColor() 2020-04-27 10:15:32 +02:00
dimens.h [PATCH #48] Fixed infinite loop and variation from documented behavior of 2019-08-13 23:28:25 +02:00
display.c Make the error message a little more reasonable. 2023-07-15 11:21:11 +02:00
display.h Add parameter 'isgrid' to plotting of arcs. 2022-02-01 12:23:29 +01:00
dotcards.c Fix warnings from gcc 10.2.1. 2022-12-11 15:35:14 +01:00
dotcards.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
dvec.c Rework of let command. Added support for slices as described in feature #69 and fixed several crashes and issues described in bugs #443, #444, #446, #447, and #448. 2020-03-15 08:51:01 +01:00
error.c WinGUI: Push any remaining error message into text window 2021-07-07 19:50:37 +02:00
evaluate.c Always propgate any individual scale for a vector that appears 2023-07-15 11:14:35 +02:00
evaluate.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
fourier.c Enable math characters in vector (node) names for command fourier 2021-12-13 21:41:58 +01:00
fourier.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
ftehelp.h
ftesopt.c Add statistics: load, subckt expansion, and parse times 2020-08-20 15:23:19 +02:00
gens.c use memcpy() instead of deprecated bcopy() 2016-07-30 20:58:19 +02:00
gens.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
get_avail_mem_size.c Add a check for sys/sysctrl.h, which has been declared deprecated, 2021-09-29 20:17:23 +02:00
get_phys_mem_size.c Add a check for sys/sysctrl.h, which has been declared deprecated, 2021-09-29 20:17:23 +02:00
get_resident_set_size.c #include resource.h added, fcn parameter void 2020-04-27 10:16:19 +02:00
hcomp.c
hcomp.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
hpgl.c Add parameter 'isgrid' to plotting of arcs. 2022-02-01 12:23:29 +01:00
hpgl.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
init.c Enable history substitution of interactive commands only when variable 'histsubst' is set. 2023-05-27 10:47:27 +02:00
init.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
inp.c Removing unused models takes much more time than keeping them 2023-10-18 14:36:08 +02:00
inp.h Insert XSPICE bridging devices automatically when an analogue node 2022-10-07 13:19:59 +02:00
inpc_probe.c Fix bug in fprintf 2023-09-23 16:45:35 +02:00
inpcom.c Ignore end-of-line comments in quoted strings. 2023-11-09 12:06:34 +00:00
inpcom.h Shift all compatibility handlinmg from inpcom.c into its own source files 2023-05-27 10:39:05 +02:00
inpcompat.c Shift all compatibility handlinmg from inpcom.c into its own source files 2023-05-27 10:39:05 +02:00
inpcompat.h Shift all compatibility handlinmg from inpcom.c into its own source files 2023-05-27 10:39:05 +02:00
interp.c Made descriptions of invalid interpolation cases more descriptive and fixed a memory leak 2020-03-15 08:51:04 +01:00
interp.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
inventory.c Only print the devices that are really used in the circuit 2021-01-02 19:02:07 +01:00
linear.c Check for tran at first when linearize is called. 2022-10-07 13:16:03 +02:00
linear.h Cut out part of each vector of the current tran plot, 2020-08-20 15:28:48 +02:00
logicexp.c remove compiler warning wrt. prototypes 2023-09-11 14:50:27 +02:00
measure.c Don't check continuously for autostop, only when option flag is set 2023-09-09 18:37:13 +02:00
misccoms.c Fix intro comment: NDEV is no longer supported in ngspice 2023-08-16 11:14:26 +02:00
misccoms.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
miscvars.c remove the ancient nobjthack option to fake 3-terminal bjt's 2016-11-01 11:56:48 +01:00
miscvars.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
mw_coms.c Change error messages to warning messages, because simulator moves on 2022-10-08 16:44:30 +02:00
mw_coms.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
newcoms.c remove all the remains of quote() and strip() that had been 2020-03-15 08:51:12 +01:00
newcoms.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
nutinp.c Remove some compiler warnings 2021-07-02 11:58:10 +02:00
nutinp.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
nutmegif.c
nutmegif.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
options.c Add an option nginfo to enable a status report during simulation 2023-07-31 14:26:40 +02:00
options.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
outitf.c Fix Bug #467 - ".OPTION INTERP has accuracy issue". 2023-11-09 12:09:05 +00:00
outitf.h Remove "incompatible pointer" warning 2021-01-26 18:18:28 +01:00
parse-bison-y.h drop yyparse() prototypes, require bison >= 2.7 which emits them 2015-10-18 00:46:13 +02:00
parse-bison.y proper size_t to int conversion 2020-10-10 12:12:59 +02:00
parse.c Add a control language function cvector, to create a complex vector. 2023-07-15 11:17:10 +02:00
parse.h protect vec_free() and free_pnode() macro for use in non braced blocks 2017-03-25 19:54:40 +01:00
points.c src/frontend/**, whitespace, indentation, ... 2012-09-20 20:30:53 +02:00
points.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
postcoms.c Add a note that wrs2p currently is limited to two ports only. 2022-04-29 07:29:24 +02:00
postcoms.h Add function 'remzerovec' to remove vectors of length 0 2020-05-02 20:06:58 +02:00
postsc.c Add parameter 'isgrid' to plotting of arcs. 2022-02-01 12:23:29 +01:00
postsc.h Define the function DevFinalize as used in the previous commit. 2021-07-05 14:22:55 +02:00
quote.c remove all the remains of quote() and strip() that had been 2020-03-15 08:51:12 +01:00
quote.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
rawfile.c remove typo 2022-10-07 12:38:02 +02:00
rawfile.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
resource.c Remove the obsolete RETSIGTYPE, replace by void 2023-03-18 14:30:29 +01:00
resource.h #includes modified 2020-04-27 10:24:45 +02:00
runcoms.c During setup of the models thre have been search scans in the 2023-10-18 14:34:16 +02:00
runcoms.h S parameter simulation 2022-02-17 15:48:00 +01:00
runcoms2.c During setup of the models thre have been search scans in the 2023-10-18 14:34:16 +02:00
runcoms2.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
shyu.c S parameter simulation 2022-02-17 15:48:00 +01:00
shyu.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
signal_handler.c Handle SIGTTIN and SIGTTOU on Unix-like OSs with X11 graphics. 2023-09-23 17:03:24 +02:00
signal_handler.h Handle SIGTTIN and SIGTTOU on Unix-like OSs with X11 graphics. 2023-09-23 17:03:24 +02:00
spec.c Enable math characters in vector (node) names for command spectrum 2021-12-13 21:41:48 +01:00
spec.h fix `SetAnalyse()' re-declaration 2013-12-31 12:56:58 +01:00
spiceif.c During setup of the models thre have been search scans in the 2023-10-18 14:34:16 +02:00
spiceif.h struct card, #3/6, rename members from struct line to struct card 2018-02-17 19:15:53 +01:00
streams.c Small fixup for misspelled words 2020-08-20 15:22:48 +02:00
streams.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
subckt.c get the right place for variable declaration 2023-05-27 10:41:29 +02:00
subckt.h Reduce the memory requirements if there is a PDK with 2020-12-22 17:56:18 +01:00
svg.c Add parameter 'isgrid' to plotting of arcs. 2022-02-01 12:23:29 +01:00
svg.h Define the function DevFinalize as used in the previous commit. 2021-07-05 14:22:55 +02:00
terminal.c remove unused 2020-04-27 10:26:22 +02:00
terminal.h avoid leading underscore in preprocessor macros 2013-12-31 12:54:27 +01:00
testcommands.c src/frontend/**, whitespace, indentation, ... 2012-09-20 20:30:53 +02:00
typesdef.c Allow 'nulltype', which returns NULL pointer. 2022-10-07 11:34:25 +02:00
typesdef.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00
udevices.c By default, use the shortest typical delay estimate. This makes the digi_74LS90_74LS42.cir testcase for bug641 behave almost the same as MicroCap 12. In ngspice and MicroCap, the only signal with a glitch is not_y8. The other not_* signals look the same. Setting ps_use_mntymx in .spiceinit will change the delay estimates. See the function set_u_devices_info in src/frontend/udevices.c for the various settings of ps_use_mntymx. 2023-09-09 23:22:06 +02:00
variable.c Make the special "noglob" variable work. To preserve previous behaviour 2023-09-25 10:54:13 +02:00
variable.h variable.h, reduce visibility of auxiliary struct xxx to variable.c 2016-10-15 15:06:16 +02:00
vectors.c re-enable making old app nutmeg 2022-12-11 15:47:22 +01:00
vectors.h protect vec_free() and free_pnode() macro for use in non braced blocks 2017-03-25 19:54:40 +01:00
where.c cleanup, use NULL instead of 0 in pointer context 2015-05-02 10:24:49 +02:00
where.h unify #ifndef include wrapper 2013-12-31 12:54:32 +01:00

README

This directory contains the code that is behind the commands of the
interactive frontend.  Note that every command has a source file
associated with it.  The source file is prefixed with `com_' to
distinguish command source files from other supporting code.