ngspice/src/frontend
Holger Vogt d0f686727d Add new functions for operators x**y or x^y
compatmode hs: x>0 pow(x, y), x<0 pow(x, round(y)), X=0 0
compatmode lt: x>0 pow(x, y), x<0 pow(x, y) if y is close to integer, else 0
2022-12-11 15:27:02 +01:00
..
help EXITPOINT, memory leaks upon failure 2020-04-27 10:16:55 +02:00
numparam Add new functions for operators x**y or x^y 2022-12-11 15:27:02 +01:00
parser make comment more verbose 2022-04-26 10:34:21 +02:00
plotting Improve (a little) the plotting of digital data with plot option digiplot: 2022-10-07 13:05:56 +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 Add parameter 'isgrid' to plotting of arcs. 2022-02-01 12:23:29 +01:00
ChangeLog
Makefile.am Initial logicexp parser and gate generator. 2022-12-11 15:16:02 +01: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 fix bug no. 362, reported by Bohdan Tkhir 2018-07-30 00:35:25 +02:00
aspice.h
breakp.c 'Option interp' and command 'stop' have been incompatible. 2021-09-29 20:21:23 +02:00
breakp.h
breakp2.c plug a memory leak 2021-12-23 14:37:57 +01:00
breakp2.h
circuits.c harmonise `struct circ' variables, `ckt' --> `ci' 2015-12-15 18:36:59 +01:00
circuits.h
com_ahelp.c prevent string overflow by adding the string length 2018-07-22 14:57:49 +02:00
com_ahelp.h
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
com_asciiplot.h
com_cdump.c
com_cdump.h
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 remove all the remains of quote() and strip() that had been 2020-03-15 08:51:12 +01:00
com_compose.h
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
com_dl.c
com_dl.h
com_dump.c
com_dump.h
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
com_fft.c Enable math characters in vector (node) names for command fft 2021-12-13 21:42:36 +01:00
com_fft.h
com_ghelp.c Added basic help messages in addtion to reference to web pages 2020-03-15 08:50:55 +01:00
com_ghelp.h
com_gnuplot.c
com_gnuplot.h
com_hardcopy.c Fix a comment 2021-07-05 14:25:26 +02:00
com_hardcopy.h
com_help.c Added basic help messages in addtion to reference to web pages 2020-03-15 08:50:55 +01:00
com_help.h
com_history.c com_history.c, static declaration for 'cp_hprint()' 2016-08-15 11:27:15 +02:00
com_history.h
com_let.c Introduce variacle 'plainlet' which allow simple copying 2020-12-22 17:56:18 +01:00
com_let.h
com_measure2.c send error message to stderr, not to stdout 2022-10-08 16:51:02 +02:00
com_measure2.h
com_option.c Improve iteration limit options display 2022-01-17 12:06:35 +01:00
com_option.h
com_plot.c
com_plot.h
com_rehash.c
com_rehash.h
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
com_setscale.c remove all the remains of quote() and strip() that had been 2020-03-15 08:51:12 +01:00
com_setscale.h
com_shell.c modifier const, error message if 'system' fails 2020-04-27 10:13:50 +02:00
com_shell.h
com_shift.c
com_shift.h
com_state.c
com_state.h
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
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 add a function prototype for com_wric() 2021-12-16 08:03:59 +01:00
com_wr_ic.h Add command 'write_ic' 2021-09-29 20:11:45 +02:00
com_xgraph.c
com_xgraph.h
commands.c S-parameters in ngspice 2022-04-25 21:31:28 +02:00
commands.h
completion.h
control.c Suppress I/O redirection for command 'circbyline'. 2022-10-07 13:02:39 +02:00
control.h
cpitf.c Make warning message on missing init file more verbose. 2022-10-07 12:38:38 +02:00
cpitf.h
define.c Use only internal memory functions, replace 2018-07-21 23:54:43 +02:00
define.h
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 typüe modifier 2020-04-27 10:15:01 +02:00
diff.h
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 Suppress warnings from function pointer casts seen with gcc 10.2.1. 2022-05-01 10:29:43 +02:00
display.h Add parameter 'isgrid' to plotting of arcs. 2022-02-01 12:23:29 +01:00
dotcards.c Transfer i(xx) to xxx#branch only when i is the first 2022-10-08 16:46:51 +02:00
dotcards.h
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 Suppress warning from gcc 10.2.1. 2022-05-10 15:29:43 +02:00
evaluate.h
fourier.c Enable math characters in vector (node) names for command fourier 2021-12-13 21:41:58 +01:00
fourier.h
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
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
hpgl.c Add parameter 'isgrid' to plotting of arcs. 2022-02-01 12:23:29 +01:00
hpgl.h
init.c Make optran standrad by calling com_optran during ngspice initialization. 2021-10-29 16:38:27 +02:00
init.h
inp.c Function ngSpice_Circ() may receive empty lines. 2022-10-26 22:24:52 +02:00
inp.h Insert XSPICE bridging devices automatically when an analogue node 2022-10-07 13:19:59 +02:00
inpc_probe.c Enable power measurement for W switch 2022-10-07 13:18:51 +02:00
inpcom.c Fix XSPICE's node prefix '~' when PSPICE compatability is used. 2022-10-14 13:52:17 +02:00
inpcom.h Insert XSPICE bridging devices automatically when an analogue node 2022-10-07 13:19:59 +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
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 Add safety braces. 2022-12-11 15:26:42 +01:00
measure.c .measure results from batch mode may be saved in a file 2022-01-15 23:28:06 +01:00
misccoms.c Add info on shared library 2022-10-24 17:04:45 +02:00
misccoms.h
miscvars.c remove the ancient nobjthack option to fake 3-terminal bjt's 2016-11-01 11:56:48 +01:00
miscvars.h
mw_coms.c Change error messages to warning messages, because simulator moves on 2022-10-08 16:44:30 +02:00
mw_coms.h
newcoms.c remove all the remains of quote() and strip() that had been 2020-03-15 08:51:12 +01:00
newcoms.h
nutinp.c Remove some compiler warnings 2021-07-02 11:58:10 +02:00
nutinp.h
nutmegif.c
nutmegif.h
options.c enable usage of parameters in .options lines. 2021-07-05 14:11:26 +02:00
options.h
outitf.c If a node name to be plotted ends by ':power', its type is set to POWER. 2022-10-07 13:12:04 +02: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 some comment 2022-10-14 13:50:20 +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
points.h
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
rawfile.c remove typo 2022-10-07 12:38:02 +02:00
rawfile.h
resource.c #includes modified 2020-04-27 10:24:45 +02:00
resource.h #includes modified 2020-04-27 10:24:45 +02:00
runcoms.c Warning message, when 'run' is called without job 2022-10-08 16:44:48 +02:00
runcoms.h S parameter simulation 2022-02-17 15:48:00 +01:00
runcoms2.c Change error messages to warning messages, because simulator moves on 2022-10-08 16:44:30 +02:00
runcoms2.h
shyu.c S parameter simulation 2022-02-17 15:48:00 +01:00
shyu.h
signal_handler.c Line endings from \r\n to \n 2021-01-02 19:06:58 +01:00
signal_handler.h Remove compiler warning 2021-01-02 19:00:29 +01: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 Just to notify that this might need a better solution 2022-10-08 16:46:18 +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
subckt.c save within subcircuit 2021-10-29 16:40:34 +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
testcommands.c
typesdef.c Allow 'nulltype', which returns NULL pointer. 2022-10-07 11:34:25 +02:00
typesdef.h
udevices.c Add behavioral (LOGICEXP, PINDLY) test for 283 circuit. There are glitches in the simulation for some of the s* outputs. Probably due to not having inertial delays. And why not set 'zero' delays as close to zero as permitted by XSPICE. 2022-12-11 15:19:39 +01:00
variable.c Improved error message: more info on the bad set form 2022-10-07 13:22:43 +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 Prevent crashes when nodes or tables are not available, 2022-10-07 13:22:59 +02: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

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.