Commit Graph

738 Commits

Author SHA1 Message Date
r29173 b2598cbe58 added new evaluate function (support of ddx operator used inside contribs) 2007-07-05 09:44:11 +00:00
gdiso 85a73411e6 allow NULL pointer in DEVices array 2007-06-17 03:20:42 +00:00
pnenzi 9eb9f56060 fix for the negative times in seconds. 2007-06-14 10:27:35 +00:00
dwarning bd92e84218 case sensitiv for ekv 2007-05-15 19:04:59 +00:00
pnenzi 613deca2f7 Updated the code for ekv model. 2007-05-13 09:55:13 +00:00
pnenzi 61a324fec5 This file is atuomatically generated by autogen.sh 2007-05-13 09:53:42 +00:00
r29173 c087846c38 added support to 'div' builtin function 2007-05-11 07:19:57 +00:00
dwarning 844fd93f92 Only the ekv long channel version as a placeholder 2007-05-09 19:24:17 +00:00
dwarning 85d44a5fa4 Only the long channel version as a placeholder 2007-05-08 19:33:40 +00:00
r29173 f3c3cd8909 traverse blocks named 'noise' or 'initial_step' during guesstopology code creation 2007-05-07 09:01:18 +00:00
dwarning 6edbe344ca small adms adaptions to ekv and psp102 2007-05-06 17:15:42 +00:00
dwarning 1a1c6171ef One additional NL prevent problems in vbicload.c 2007-05-05 21:11:46 +00:00
r29173 cc728d0dd8 fixed implementation of tempate 'fname' (created unvalid C code) 2007-05-04 14:48:09 +00:00
r29173 a674f92acf changed required adms version to 2.2.6 2007-05-02 14:56:49 +00:00
r29173 de1121a117 initial import: ngspice customization made to original psp code 2007-05-01 16:06:27 +00:00
gdiso 73629edd64 Add NDEV 2007-05-01 03:41:59 +00:00
gdiso 985fb6886d bug fix 2007-05-01 03:41:09 +00:00
gdiso 60d7ac039a *** empty log message *** 2007-05-01 03:40:17 +00:00
gdiso 8234088f3e Add indicator 2007-05-01 03:39:21 +00:00
gdiso b56645af57 parser for NDEV 2007-05-01 03:36:59 +00:00
gdiso 0d97318ee8 add ndev to device list 2007-05-01 03:35:53 +00:00
gdiso e98da264e1 Numerical Device Interface 2007-05-01 03:34:34 +00:00
r29173 57b40c8470 redefined macro P(txt) in order to 'see' instance parameters 2007-04-30 13:33:29 +00:00
r29173 9539cc2470 added initializeModel, initiliazeInstance to initial_model, initial_instance 2007-04-30 13:12:21 +00:00
r29173 1caee800ee improved 'guesstopology'
fixed implementation of macro 'noise'
when building 'load' traverse block 'noise'
2007-04-30 13:10:35 +00:00
r29173 53f05d9aef added cases initializeModel, initiliazeInstance (block name used by psp102) 2007-04-26 13:04:34 +00:00
pnenzi 92c4be77b6 Updated model to 4.6.0 2007-04-26 09:58:35 +00:00
pnenzi c9d9b2f337 psp model 102 initial import 2007-04-25 17:46:56 +00:00
pnenzi 2b2d2efce0 Added support for new verilog-a models. 2007-04-25 17:44:58 +00:00
r29173 23ecb3a896 add case 'blockvariable' 2007-04-24 12:26:36 +00:00
r29173 22ef8823ce added missing new lines (due to changes in adms225)
renamed pspva to psp102
2007-04-24 08:59:09 +00:00
dwarning c0458610e3 fifth node binding only for ADMS defined 2007-02-10 16:13:22 +00:00
dwarning b5ce155b97 unification for func and derivative 2007-02-10 16:08:41 +00:00
pnenzi 00cf9ec22a Fixed code for BJT devices with less than 5 nodes. 2007-01-20 12:37:35 +00:00
danmc a123453295 avoid multiple definitions for free_pnode() 2006-10-12 02:51:13 +00:00
danmc 23fb01db1b add missing <stdlib.h> for exit() 2006-10-12 02:47:28 +00:00
danmc 89462761c9 include <sys/ioctl.h> for the ioctl() prototype 2006-10-12 02:46:26 +00:00
danmc 0790dafd76 Rename makeidx to ngmakeidx to match all of the other binaries which
are prefixed with 'ng'.  This is the last of the conflicting files with
spice3 from Berkeley.
2006-10-12 02:38:26 +00:00
danmc 37863e0c23 Add a missing header to get a missing prototype for cp_ccon(). 2006-10-12 02:37:06 +00:00
pnenzi 68b765e3cd Truncation error calculation. 2006-03-10 09:55:53 +00:00
r29173 a14d3a60bd replaced '<' by xml special sequence '&lt;' 2006-03-07 10:12:12 +00:00
dwarning f034cc153f Macros for exp() limiting added. 2006-03-06 16:36:55 +00:00
r29173 3bc2a371a6 added support to 'analog functions' 2006-03-06 12:50:15 +00:00
pnenzi 103763d407 Updated version to 2.2.0 2006-03-05 09:38:41 +00:00
r29173 39cc7553da add missing xml code (computation of $function) 2006-03-03 08:41:41 +00:00
r29173 a6c791e7b4 add simparam definitions when possible 2006-03-03 08:39:31 +00:00
r29173 8e71bad753 started handling of adms elements 'case' and 'nilled' 2006-03-02 09:04:38 +00:00
r29173 304fbe9c41 started implementing of functions $simparam(), $given(), analysis() 2006-03-02 08:53:51 +00:00
r29173 f0df77fa0e added macro _scale (scaling factor) - always set to 1.0 2006-03-02 08:51:08 +00:00
pnenzi 38e68869a2 Added mdel, del and dest functions to interface. 2006-03-01 14:30:24 +00:00
pnenzi cf7e5f8d67 Added support for pole-zero analysis (experimental). 2006-02-26 22:09:01 +00:00
dwarning 8204213186 Add hicum2 and remove some ancient spice3 directives (*_USED). 2006-02-23 08:26:49 +00:00
dwarning 2f8c867e37 The original HICUM level2 model. Only ddt() terms are separated. 2006-02-22 19:11:48 +00:00
dwarning 7d554eb230 Move to hicum0.va 2006-02-22 19:06:36 +00:00
dwarning 837ccea880 Change to mextram.va. 2006-02-22 19:00:52 +00:00
dwarning f02b4ee320 Set pnp default to 0. 2006-02-21 20:06:05 +00:00
pnenzi 5bb2babf9f Added cleanfile target to remove generated .c and .h and .c.bak 2006-02-21 18:32:04 +00:00
pnenzi 2bfcb8cf4c Bipolar devices support 5 nodes now (Dietmar) 2006-02-21 15:25:23 +00:00
dwarning b6763b9a39 Fit the adms naming rule. 2006-02-21 12:58:57 +00:00
r29173 ec502ae373 removed printf statements used for debug purpose 2006-02-21 10:27:10 +00:00
dwarning 2a2dc8d502 Introduction of alias names for modules to prevent cryptic naming. 2006-02-21 08:05:18 +00:00
dwarning e95788e138 Added the VLADEV mechanism from configure.in. 2006-02-20 11:12:43 +00:00
dwarning 9191d42a5f Only delete HAVE_ADMS in a comment. Don't worry. 2006-02-20 11:07:53 +00:00
dwarning 3a86df8b0b For make adms we don't need make an new Makefile. Is done by autogen.sh. 2006-02-20 09:07:14 +00:00
dwarning 122de6abe7 Consistent VLADEVDIR 2006-02-19 20:17:42 +00:00
dwarning 067da3e860 Correct the ADMS macro. 2006-02-18 09:15:17 +00:00
pnenzi 9d5b6727f9 Corrected errors. 2006-02-17 17:19:24 +00:00
pnenzi af2b0819eb Removed conflict indicator (left in previous commit) 2006-02-17 14:54:16 +00:00
pnenzi f659abd416 Fixed support for adms devices (Mextram and hicum0) 2006-02-17 14:52:57 +00:00
dwarning b89dd232dd Close an else branch. 2006-02-17 12:05:55 +00:00
dwarning 35206820c2 Adapted to the actual adms dir configuration. 2006-02-16 15:57:27 +00:00
dwarning 9e74c9ee62 Added adms compiled devices: hicum0, mextram 2006-02-16 15:42:04 +00:00
dwarning 0dbcc804e6 Adapted to the actual adms dir configuration. 2006-02-16 15:38:42 +00:00
dwarning b1d1986876 Adapted to the actual adms dir configuration. 2006-02-16 15:11:29 +00:00
pnenzi f3070062eb Removed support for EKV and generation of C code from autogen.sh for verilog devices. 2006-02-16 11:44:42 +00:00
dwarning cf88f14383 The MEXTRAM Bipolar Model level 504 in Verilog-A (Original Version 504.6) 2006-02-16 09:25:19 +00:00
dwarning 2afbcfd070 The HICUM Level0 Bipolar Model in Verilog-A (Original Version 1.1 - only VT0 changed to Vt0) 2006-02-16 09:22:06 +00:00
dwarning acfefe4da2 Add .bak to perl -i switch because some interpreter versions struggles about 2006-02-16 09:17:40 +00:00
pnenzi da5d1b5660 Added section for r and c elements (Laurent) 2006-02-10 06:59:56 +00:00
pnenzi a8bc248dce Latest update from Laurent and Dietmar: (empty instances) 2006-02-09 11:25:24 +00:00
pnenzi 0505b2cd63 Fixed a typo (Dietmar) 2006-02-08 09:36:48 +00:00
pnenzi 271e940abd Dietmar uptade 2006-02-08 09:31:34 +00:00
pnenzi 35df92f882 Changed admsXml.exe to admsXml
+8
2006-02-08 09:28:11 +00:00
dwarning 57ec95ae87 Problem with nested comment. 2006-02-03 20:09:36 +00:00
pnenzi 4dbd9c51a8 Changed adms required version to 2.1.3 ,J 2006-02-02 17:56:31 +00:00
pnenzi 9f43df7a47 Removed nmos and pmos from list of parameters. (Laurent) 2006-02-02 14:26:50 +00:00
pnenzi 5990ff03cc Initial import for admst (Verilog-AMS) translators for ngspice. 2006-01-31 17:53:48 +00:00
dwarning 65ba4599c1 External resistors can be 0 because nodes are merged 2006-01-24 21:30:15 +00:00
dwarning 78cb65eef6 Var tmp should be int. 2005-12-06 19:58:46 +00:00
dwarning 5e1ebed38b Remove cpp comment - and make more readable 2005-12-05 20:46:03 +00:00
dwarning 6dd4777218 Remove cpp comment 2005-12-05 20:36:25 +00:00
pnenzi 486764292e Back to the original code from Berkeley around line 4015-4020. 2005-12-04 09:17:35 +00:00
pnenzi 5296cd51b8 Partially applied Paul Reich patch (missing include and c++ style comments) 2005-12-04 08:52:10 +00:00
pnenzi 99c1f901e3 Added fixes from Hitoshi Tanaka and Dietmar Warning over original code. 2005-11-13 21:22:37 +00:00
pnenzi 3403580a05 Updated BSIM4 model to BSIM4.5.0 (Hitoshi Tanaka and Dietmar Warning) 2005-11-13 20:56:33 +00:00
pnenzi d921759a2a Patch sent by Dietmar Warning: fixed double allocation of substrate node, current sign and tempo for rb and rc. 2005-11-07 13:57:10 +00:00
sjborley 75f2db1483 Implemented fix to prevent 'multiple definition' errors during link of nghelp when built on systems that use the latest versions of the GNU tools. Solution provided by Andreas Unger <a_unger@gmx.de>. 2005-10-19 07:09:37 +00:00
sjborley 3187fdf79d Fixed code to avoid errors (invalid lvalue in assignment) under gcc v4.0.2 or and warnings under gcc 4.0.0 (target of assignment not really an lvalue). 2005-10-15 15:34:18 +00:00
sjborley 869f5add68 Fixed problems of reporting resource usage for MacOSX (should help other platforms too). 2005-10-15 13:56:44 +00:00
sjborley 1f5695a34c fixed warning about unused variables and functions that can occur when HAVE_TERMCAP is undefined. 2005-10-15 13:55:28 +00:00
sjborley c2fb0224ed Implemented patches supplied by Andreas Unger <a_unger@gmx.de>. Fixes XSpice bug; variable PER was being used before initialisation. 2005-10-15 13:53:58 +00:00
sjborley 6fcd2e24e9 Fixed warning about redefinition of XtNumber. 2005-09-19 20:50:27 +00:00
sjborley 113341b981 Used (void*)0 instead of 0 for the terminating vararg, to avoid gcc 4.0 warning about missing sentinel in function call.
Resolved Bug 1293746 - Problem with aspice.c(171) in gcc (Solaris).
2005-09-19 20:49:38 +00:00
pnenzi ebb48f93ed Bug fix for error "unknown parameter(save)" 2005-09-18 08:24:07 +00:00
sjborley d457775820 Reverted to placing the cp_* stream variable definitions back in to src/frontend/streams.c with their extern declarations in src/frontend/streams.h 2005-09-09 17:53:45 +00:00
sjborley bf6ca0c491 Added hard-coded paths for NGSPICEBINDIR and NGSPICEDATADIR for MinGW targets 2005-09-08 20:52:40 +00:00
pnenzi c6d286f417 Fixed typo CKT should be ckt 2005-09-08 09:44:32 +00:00
pnenzi 240aea2cdf Fixed "undefined symbols" error. 2005-09-08 09:43:48 +00:00
sjborley b96b9aac28 Implemented fix as described by Hitoshi Tanaka for the problem that causes "Warning - approaching max data size...." to be erroneously reported when compiled with MinGW/MSYS 2005-09-06 21:19:58 +00:00
sjborley 3a69282b3a Fixed memory leak in tilde expansion 2005-09-06 20:24:47 +00:00
sjborley 54935831ff Added work-round for missing scroll bar (seems to be an X-Windows bug) 2005-09-06 20:21:09 +00:00
pnenzi 33b254609b Patch sent by Hitoshi to fix ltra code and "listing" command. See Changelog. 2005-09-04 16:41:27 +00:00
pnenzi 9596feb535 An include file was missing. 2005-08-30 07:46:13 +00:00
pnenzi f3069e042a Check for flex and yacc moved out of XSPICE for making distributions (Stuart Brorson) 2005-08-27 20:45:20 +00:00
pnenzi f79e9e703c Previous commit was incomplete. 2005-08-27 07:58:01 +00:00
pnenzi 8274fff4fe String offset wrong. Expression were translated incorrectly. 2005-08-26 20:22:26 +00:00
pnenzi f3e144bc8d Changed according to code supplied by Hitoshi Tanaka. 2005-08-23 18:29:53 +00:00
pnenzi ef5fab62a5 Removed extra blank lines. They break compilation with mingw. 2005-08-23 08:33:51 +00:00
pnenzi f805d7ab71 Applied changes to cfunc.mod sent by Hitoshi 2005-08-23 08:21:00 +00:00
pnenzi 9bb78c2d28 Mingw porting. 2005-08-22 21:00:02 +00:00
pnenzi 5bcb23d795 Removed casting for strictier syntax of recent gcc compilers. 2005-08-22 19:29:20 +00:00
pnenzi db294d26c3 Patch to allow for vm(4,0) and similar. 2005-08-08 19:08:23 +00:00
pnenzi 3c0898d7ac Updated MIFunsetup() 2005-08-06 08:41:27 +00:00
pnenzi 363ffb85e0 Fixed bug in memory management when xspice codemodels are used. 2005-08-04 08:23:32 +00:00
pnenzi f605f312cf Fixed a missing include and a missing definition 2005-06-30 14:38:21 +00:00
pnenzi cfb185c3bb Bug in power function fixed. 2005-06-30 11:41:17 +00:00
pnenzi b8dca1b4c2 Fixed xspice extensions. 2005-06-25 19:11:57 +00:00
sjborley 51988dfb80 Changes supplied bt Hitoshi Tanaka to allow XSpice to compile using MinGW in Windows. 2005-06-16 00:28:16 +00:00
sjborley 16db93285e Added #ifdef TRACE etc. to replace /* */ in code 2005-06-10 07:14:30 +00:00
sjborley d835edc527 Fixed '*# ' command operation.
Added 'hack' to allow the 'numparams' variable to be set (or unset)
before the netlist part of a file is parsed. This is based on code supplied by
Dietmar Warning, with  changes to allow it to work with the *# syntax, the
unset keyword and variable amounts of white space.

line_free(line,flag) is now a macro so that line is set to NULL when it is
freed. (src/frontend/inp.c) This is a safty mechnism.
2005-06-09 01:38:47 +00:00
sjborley a5b8ac8ebc Added required include 2005-06-01 11:32:38 +00:00
sjborley 1f33b1ee02 Applied fix for logging supplied by Dietmar Warning (src/main.c).
Miscellaneous tidying for format, indentation, #include style ("" vis-a-vis <>). Also removal of some compile time warnings.
2005-05-31 16:47:48 +00:00
sjborley c8babc9450 Added prototype for evalAccLimits() 2005-05-31 16:37:22 +00:00
sjborley e4e2de886f Fixed path for include of windisp.h and winprint.h 2005-05-31 00:12:18 +00:00
sjborley e4fdd6719c Added a CIDER dpendent reference 2005-05-30 20:30:09 +00:00
sjborley 67ff1b3a83 Tidy up of the header files in src/frontend and sub-directories. Motivation is to remove extern declarations within .c files and place them in .h files. Added new header files where necessary (and adjusted makefile.am files where required) 2005-05-30 20:28:29 +00:00
sjborley 150a3e1775 jbuf moved to here. Was in main.c 2005-05-30 17:22:33 +00:00
sjborley 89f74211fb Added reference to jbuf (now declared in signal_handler.c) 2005-05-30 17:21:11 +00:00
sjborley 3a0c488504 Replaced extern references in .c file with #include of suitable headers. Moved jbuf to signal_handler.c 2005-05-29 01:44:20 +00:00
sjborley 0374c45d2a Added numpaif.h for the external interface to the numparam library. 2005-05-29 01:18:20 +00:00
sjborley c87326ebc8 Replaced extern references in .c file with #include of suitable headers. 2005-05-29 01:05:33 +00:00
sjborley 08fb461abb Added extern references to rawfileFp, rawfileBinary, last_used_rawfile, and resumption; 2005-05-29 01:04:08 +00:00
sjborley b7701cd0e9 Added access to dbs and debugnumber 2005-05-29 01:01:40 +00:00
sjborley efaf4404bf Fixed the format of section 5.3.37. Save* 2005-05-28 17:59:04 +00:00
sjborley 1d414b9595 Fix bug introduced in my last change. Thanks to Hitoshi Tanaka. 2005-05-28 17:31:49 +00:00
sjborley ad52efc501 Fix for 'unused variable' compile warning. 2005-05-27 17:52:33 +00:00
sjborley 84b7f8c73d Fixed bug with 'plot title title_name' (see bug [ 557638 ] plot segmentation fault). 2005-05-26 21:46:54 +00:00
sjborley 476f60255e Spotted error in my previous fix to this file, now corrected. 2005-05-26 19:51:33 +00:00
sjborley 304049224a Fixed bug with define (see bug reference [ 999546 ] 'define' is broken in ngspice-15). free_pnode() now copes properly with parse trees that reuse leaf nodes. 2005-05-26 19:49:50 +00:00
sjborley cbdd811aa5 Fixed bug with define (see bug reference [ 999546 ] 'define' is broken in ngspice-15). free_pnode() now copes properly with parse trees that reuse leaf nodes. 2005-05-26 19:29:52 +00:00