You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Brian Taylor 6500caeba1 Now that checks on actuals and formals have been fixed for X* instances, some older PSpice libraries will not translate correctly in psa mode. This commit removes unnecessary power and ground nodes from X* instances of subcircuits where the nodes are optional. These X* instances occur within the body of another subcircuit which is being translated. MicroCap libraries that we can translate in ngspice do not have such cases. To enable the removal of the power and ground nodes, set ps_global_tmodels=1 in .spiceinit. This is not set by default since an extra pass through the circuit word list is necessary to find the subcircuits whose instances do not require power and ground node removal. Without enabling this feature, errors reporting too many parameters may be reported. 1 year ago
..
help EXITPOINT, memory leaks upon failure 6 years ago
numparam Prevent crash if number of lines is wrong/not available ... 1 year ago
parser Remove function cp_ccon() and related code. The function modifies 1 year ago
plotting Allow plotting a single point in an ascii plot 1 year ago
trannoise Patches provided by Carsten Schoenert: Misspellings, File access 2 years ago
wdisp Unify the function interface, avoid lto-type-mismatch 2 years ago
ChangeLog Integrated code from tclspice, brorson xspice and Vera memleak. 23 years ago
Makefile.am New interpreter commands strstr, strslice, fopen, fread and fclose. 2 years ago
README * src/Makefile.am src/main.c src/sconvert.c 26 years ago
arg.c Two memory leaks found interactively with valgrind with safe fixes. 4 years ago
arg.h Add 'esave' command to save only specific event nodes. 4 years ago
aspice.c Remove the obsolete RETSIGTYPE, replace by void 3 years ago
aspice.h unify #ifndef include wrapper 12 years ago
breakp.c Fix an infinite loop bug that may be seen with "stop whan a>b" or 3 years ago
breakp.h unify #ifndef include wrapper 12 years ago
breakp2.c Add '.save nosub' to suppress storing the node vectors from inside 2 years ago
breakp2.h unify #ifndef include wrapper 12 years ago
circuits.c harmonise `struct circ' variables, `ckt' --> `ci' 10 years ago
circuits.h unify #ifndef include wrapper 12 years ago
com_ahelp.c prevent string overflow by adding the string length 8 years ago
com_ahelp.h avoid leading underscore in preprocessor macros 12 years ago
com_alias.c Fix Bug #402 "Crash related to aliases". Do not return freed pointer. 4 years ago
com_alias.h Commit [88653f] Fixed assorted compiler warnings, memory leaks, etc. 6 years ago
com_asciiplot.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_asciiplot.h avoid leading underscore in preprocessor macros 12 years ago
com_cdump.c src/frontend/** remove superfluous `return' invocations 14 years ago
com_cdump.h avoid leading underscore in preprocessor macros 12 years ago
com_chdir.c remove all the remains of quote() and strip() that had been 6 years ago
com_chdir.h Command 'cd' now switches to the home directory also for MS Windows. 8 years ago
com_commands.h new command 'alterparam', to be used in conjunction with 'mc_source' 8 years ago
com_compose.c Change the code that makes variables from device/model parameters 2 years ago
com_compose.h avoid leading underscore in preprocessor macros 12 years ago
com_display.c remove all the remains of quote() and strip() that had been 6 years ago
com_display.h avoid leading underscore in preprocessor macros 12 years ago
com_dl.c Add ft_spiniterror, to be set during spinit processing,as 2 years ago
com_dl.h prototype for Verilog-A integration using OSDI and OpenVAF 3 years ago
com_dump.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_dump.h avoid leading underscore in preprocessor macros 12 years ago
com_echo.c remove all the remains of quote() and strip() that had been 6 years ago
com_echo.h unify #ifndef include wrapper 12 years ago
com_fft.c correct fft dc scaling bug #620 3 years ago
com_fft.h unify #ifndef include wrapper 12 years ago
com_fileio.c Suppress some warnings from MSVC. 2 years ago
com_fileio.h New interpreter commands strstr, strslice, fopen, fread and fclose. 2 years ago
com_ghelp.c Repair the link to the xhtml manual 2 years ago
com_ghelp.h avoid leading underscore in preprocessor macros 12 years ago
com_gnuplot.c src/frontend/** remove superfluous `return' invocations 14 years ago
com_gnuplot.h avoid leading underscore in preprocessor macros 12 years ago
com_hardcopy.c Fix a comment 5 years ago
com_hardcopy.h avoid leading underscore in preprocessor macros 12 years ago
com_help.c Fix a bug in the "help" command. Some commands have no action function, 3 years ago
com_help.h avoid leading underscore in preprocessor macros 12 years ago
com_history.c com_history.c, static declaration for 'cp_hprint()' 10 years ago
com_history.h avoid leading underscore in preprocessor macros 12 years ago
com_let.c Allow KiCad special token V(/xyz) by quoting 1 year ago
com_let.h avoid leading underscore in preprocessor macros 12 years ago
com_measure2.c Three minor code improvements. Remove a redundant test in com_measure2.c. 1 year ago
com_measure2.h avoid leading underscore in preprocessor macros 12 years ago
com_option.c only access to CKTkluMODE if KLU configured 2 years ago
com_option.h avoid leading underscore in preprocessor macros 12 years ago
com_plot.c The 'plot' command is not available in batch mode. 3 years ago
com_plot.h avoid leading underscore in preprocessor macros 12 years ago
com_rehash.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_rehash.h unify #ifndef include wrapper 12 years ago
com_set.c Fixed merge conflict. Also made readifile() static and removed an unnecessary string duplication there. 6 years ago
com_set.h avoid leading underscore in preprocessor macros 12 years ago
com_setscale.c Improve commands for vector scales. "setscale" can now change 3 years ago
com_setscale.h avoid leading underscore in preprocessor macros 12 years ago
com_shell.c Remove function cp_ccon() and related code. The function modifies 1 year ago
com_shell.h unify #ifndef include wrapper 12 years ago
com_shift.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_shift.h unify #ifndef include wrapper 12 years ago
com_state.c cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones) 14 years ago
com_state.h avoid leading underscore in preprocessor macros 12 years ago
com_strcmp.c Suppress some warnings from MSVC. 2 years ago
com_strcmp.h New interpreter commands strstr, strslice, fopen, fread and fclose. 2 years ago
com_sysinfo.c add missing get_sysmem() when no info available 6 years ago
com_unset.c clear all variables upon 'quit' 6 years ago
com_unset.h clear all variables upon 'quit' 6 years ago
com_wr_ic.c Update to command 'wrnodev': 3 years ago
com_wr_ic.h Add command 'write_ic' 5 years ago
com_xgraph.c src/frontend/** remove superfluous `return' invocations 14 years ago
com_xgraph.h avoid leading underscore in preprocessor macros 12 years ago
commands.c When reading code models, allow only a single model pere command 2 years ago
commands.h avoid leading underscore in preprocessor macros 12 years ago
completion.h avoid leading underscore in preprocessor macros 12 years ago
control.c Handle SIGTTIN and SIGTTOU on Unix-like OSs with X11 graphics. 3 years ago
control.h unify #ifndef include wrapper 12 years ago
cpitf.c Remove function cp_ccon() and related code. The function modifies 1 year ago
cpitf.h unify #ifndef include wrapper 12 years ago
define.c Use only internal memory functions, replace 8 years ago
define.h unify #ifndef include wrapper 12 years ago
device.c Improved warning message: hint to line causing the warning. 2 years ago
device.h Add new flags to command devhelp: 4 years ago
diff.c Add error messages when controlled_exit is called: 3 years ago
diff.h avoid leading underscore in preprocessor macros 12 years ago
dimens.c type modifier, parameter graph removed from SetColor() 6 years ago
dimens.h [PATCH #48] Fixed infinite loop and variation from documented behavior of 7 years ago
display.c Make the error message a little more reasonable. 3 years ago
display.h Add parameter 'isgrid' to plotting of arcs. 4 years ago
dotcards.c Fix warnings from gcc 10.2.1. 3 years ago
dotcards.h unify #ifndef include wrapper 12 years ago
dvec.c Update to comments, restrict mutex definitions to shared ngspice 2 years ago
error.c Remove function cp_ccon() and related code. The function modifies 1 year ago
evaluate.c Improve an error message. 1 year ago
evaluate.h avoid leading underscore in preprocessor macros 12 years ago
fourier.c Enable math characters in vector (node) names for command fourier 4 years ago
fourier.h unify #ifndef include wrapper 12 years ago
ftehelp.h * src/frontend/com_ahelp.c src/frontend/com_ahelp.h 26 years ago
ftesopt.c Add statistics: load, subckt expansion, and parse times 6 years ago
gens.c use memcpy() instead of deprecated bcopy() 10 years ago
gens.h unify #ifndef include wrapper 12 years ago
get_avail_mem_size.c Add a check for sys/sysctrl.h, which has been declared deprecated, 5 years ago
get_phys_mem_size.c Add a check for sys/sysctrl.h, which has been declared deprecated, 5 years ago
get_resident_set_size.c #include resource.h added, fcn parameter void 6 years ago
hcomp.c #1/4 #include <ngspice/...> --> #include "ngspice/..." 14 years ago
hcomp.h avoid leading underscore in preprocessor macros 12 years ago
hpgl.c Add parameter 'isgrid' to plotting of arcs. 4 years ago
hpgl.h unify #ifndef include wrapper 12 years ago
init.c Enable history substitution of interactive commands only when variable 'histsubst' is set. 3 years ago
init.h avoid leading underscore in preprocessor macros 12 years ago
inp.c typos 1 year ago
inp.h Insert XSPICE bridging devices automatically when an analogue node 4 years ago
inpc_probe.c Create extra name derived from node name, but with / replaced by _, 1 year ago
inpcom.c Remove 512 char limit of sourcepath variable. 1 year ago
inpcom.h New parameter char *linesource for fcn insert_new_line 2 years ago
inpcompat.c Now that checks on actuals and formals have been fixed for X* instances, some older PSpice libraries will not translate correctly in psa mode. This commit removes unnecessary power and ground nodes from X* instances of subcircuits where the nodes are optional. These X* instances occur within the body of another subcircuit which is being translated. MicroCap libraries that we can translate in ngspice do not have such cases. To enable the removal of the power and ground nodes, set ps_global_tmodels=1 in .spiceinit. This is not set by default since an extra pass through the circuit word list is necessary to find the subcircuits whose instances do not require power and ground node removal. Without enabling this feature, errors reporting too many parameters may be reported. 1 year ago
inpcompat.h Shift all compatibility handlinmg from inpcom.c into its own source files 3 years ago
interp.c Made descriptions of invalid interpolation cases more descriptive and fixed a memory leak 6 years ago
interp.h unify #ifndef include wrapper 12 years ago
inventory.c Only print the devices that are really used in the circuit 5 years ago
linear.c Check for tran at first when linearize is called. 4 years ago
linear.h Cut out part of each vector of the current tran plot, 6 years ago
logicexp.c Now that checks on actuals and formals have been fixed for X* instances, some older PSpice libraries will not translate correctly in psa mode. This commit removes unnecessary power and ground nodes from X* instances of subcircuits where the nodes are optional. These X* instances occur within the body of another subcircuit which is being translated. MicroCap libraries that we can translate in ngspice do not have such cases. To enable the removal of the power and ground nodes, set ps_global_tmodels=1 in .spiceinit. This is not set by default since an extra pass through the circuit word list is necessary to find the subcircuits whose instances do not require power and ground node removal. Without enabling this feature, errors reporting too many parameters may be reported. 1 year ago
measure.c Don't check continuously for autostop, only when option flag is set 3 years ago
misccoms.c Remove function cp_ccon() and related code. The function modifies 1 year ago
misccoms.h unify #ifndef include wrapper 12 years ago
miscvars.c remove the ancient nobjthack option to fake 3-terminal bjt's 10 years ago
miscvars.h unify #ifndef include wrapper 12 years ago
mw_coms.c Change error messages to warning messages, because simulator moves on 4 years ago
mw_coms.h unify #ifndef include wrapper 12 years ago
newcoms.c remove all the remains of quote() and strip() that had been 6 years ago
newcoms.h unify #ifndef include wrapper 12 years ago
nutinp.c Add an additional funtion parameter 'filename' to fcn inp_readall 2 years ago
nutinp.h unify #ifndef include wrapper 12 years ago
nutmegif.c #1/4 #include <ngspice/...> --> #include "ngspice/..." 14 years ago
nutmegif.h unify #ifndef include wrapper 12 years ago
options.c Add ft_spiniterror, to be set during spinit processing,as 2 years ago
options.h unify #ifndef include wrapper 12 years ago
outitf.c Improve the behaviour of ngspice when run in the background on a 1 year ago
outitf.h Remove "incompatible pointer" warning 5 years ago
parse-bison-y.h drop yyparse() prototypes, require bison >= 2.7 which emits them 11 years ago
parse-bison.y proper size_t to int conversion 6 years ago
parse.c Add a control language function cvector, to create a complex vector. 3 years ago
parse.h protect vec_free() and free_pnode() macro for use in non braced blocks 9 years ago
points.c src/frontend/**, whitespace, indentation, ... 14 years ago
points.h unify #ifndef include wrapper 12 years ago
postcoms.c Set pl_lookup_table to NULL after freeing: allow another initialization 1 year ago
postcoms.h Add function 'remzerovec' to remove vectors of length 0 6 years ago
postsc.c Add parameter 'isgrid' to plotting of arcs. 4 years ago
postsc.h Define the function DevFinalize as used in the previous commit. 5 years ago
quote.c remove all the remains of quote() and strip() that had been 6 years ago
quote.h unify #ifndef include wrapper 12 years ago
rawfile.c Fix some memory leaks. 1 year ago
rawfile.h unify #ifndef include wrapper 12 years ago
resource.c format - white spaces 1 year ago
resource.h #includes modified 6 years ago
runcoms.c Reload sourceinfo when changing the current circuit. 2 years ago
runcoms.h S parameter simulation 4 years ago
runcoms2.c During setup of the models thre have been search scans in the 2 years ago
runcoms2.h unify #ifndef include wrapper 12 years ago
shyu.c S parameter simulation 4 years ago
shyu.h unify #ifndef include wrapper 12 years ago
signal_handler.c Improve the behaviour of ngspice when run in the background on a 1 year ago
signal_handler.h Improve the behaviour of ngspice when run in the background on a 1 year ago
spec.c rm obsolete order for spec blackman window 2 years ago
spec.h fix `SetAnalyse()' re-declaration 12 years ago
spiceif.c Three minor code improvements. Remove a redundant test in com_measure2.c. 1 year ago
spiceif.h struct card, #3/6, rename members from struct line to struct card 8 years ago
streams.c Small fixup for misspelled words 6 years ago
streams.h unify #ifndef include wrapper 12 years ago
subckt.c Re-enable detection of over- or underflow of number of nodes 1 year ago
subckt.h Reduce the memory requirements if there is a PDK with 5 years ago
svg.c Add parameter 'isgrid' to plotting of arcs. 4 years ago
svg.h Define the function DevFinalize as used in the previous commit. 5 years ago
terminal.c If compiling shared ngspice, don't set up a terminal. 2 years ago
terminal.h avoid leading underscore in preprocessor macros 12 years ago
testcommands.c src/frontend/**, whitespace, indentation, ... 14 years ago
typesdef.c Allow 'nulltype', which returns NULL pointer. 4 years ago
typesdef.h unify #ifndef include wrapper 12 years ago
udevices.c Now that checks on actuals and formals have been fixed for X* instances, some older PSpice libraries will not translate correctly in psa mode. This commit removes unnecessary power and ground nodes from X* instances of subcircuits where the nodes are optional. These X* instances occur within the body of another subcircuit which is being translated. MicroCap libraries that we can translate in ngspice do not have such cases. To enable the removal of the power and ground nodes, set ps_global_tmodels=1 in .spiceinit. This is not set by default since an extra pass through the circuit word list is necessary to find the subcircuits whose instances do not require power and ground node removal. Without enabling this feature, errors reporting too many parameters may be reported. 1 year ago
variable.c Remove function cp_ccon() and related code. The function modifies 1 year ago
variable.h variable.h, reduce visibility of auxiliary struct xxx to variable.c 10 years ago
vectors.c Three minor code improvements. Remove a redundant test in com_measure2.c. 1 year ago
vectors.h protect vec_free() and free_pnode() macro for use in non braced blocks 9 years ago
where.c cleanup, use NULL instead of 0 in pointer context 11 years ago
where.h unify #ifndef include wrapper 12 years ago

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.