Commit Graph

7033 Commits

Author SHA1 Message Date
Holger Vogt 4bcacb310d enable XSPICE %vnam in subcircuits.
The token following after %vnam has to be
tranlated as an instance during subcircuit expansion.
2020-10-10 13:53:10 +02:00
Holger Vogt 14ef4e74ec Add PSPICE compatible ISWITCH
Translates iswitch either to csw or to aswitch models
2020-10-10 13:53:02 +02:00
Holger Vogt 51cfedc054 Improved error message (name the device instance)
when ac simulation and current or power are requested
2020-10-10 13:52:43 +02:00
Holger Vogt 644d8d0a3f Error message where to find the missing parameter
(only if 'set ngdebug' is given).
2020-10-10 13:52:32 +02:00
Holger Vogt aa25ec7f7c Improve on commit d6aa22e5 from 09.09.2020
Warning message only when 'set ngdebug' and instance or model line vectors read in do not have enclosing parens.
Both vectors with or without enclosing parens are allowed.
2020-10-10 13:52:12 +02:00
dwarning b31a65afb9 BSIM4 change wnflag parameter to integer 2020-10-10 13:51:41 +02:00
dwarning 32b161854d BSIM4 add wnflag to latest bsim4 version 2020-10-10 13:51:27 +02:00
dwarning 5f7f54d961 cleaning prototypes 2020-10-10 12:30:40 +02:00
dwarning 5d999be998 rm redundant redeclaration 2020-10-10 12:30:22 +02:00
dwarning bdd1e2faf6 better place for prototype 2020-10-10 12:23:10 +02:00
dwarning 31a054f244 prevent few gcc warnings 2020-10-10 12:22:57 +02:00
Holger Vogt a3380903be Fix a bug in the comment of the file headers 2020-10-10 12:22:43 +02:00
Holger Vogt 1bcfe886f3 GPL instead of BSD 2020-10-10 12:22:27 +02:00
Holger Vogt 468769df16 Update on various licences for XSPICE code models 2020-10-10 12:22:12 +02:00
Holger Vogt 2335639848 License 3-clause BSD
Update to license information
2020-10-10 12:22:01 +02:00
Holger Vogt df0ffcfc2b XSPICE is Public Domain
Update to license info
2020-10-10 12:21:35 +02:00
Holger Vogt cc5369816b XSPICE is in the public domain.
Update to the license information.
2020-10-10 12:21:22 +02:00
Holger Vogt 617ed01a5b licensi info:
Public Domain

Georgia Tech Research Corporation
Atlanta, Georgia 30332
PROJECT A-8503
2020-10-10 12:21:10 +02:00
Holger Vogt a066c43378 Add wnflag as an instance parameter. 2020-10-10 12:20:47 +02:00
Holger Vogt b1dc7f77d1 Add .options wnflag = 0|1 to unselect|select
nf as a divisor for w/nf while model binning.
Enable reading wnflag from the instance line.
2020-10-10 12:20:27 +02:00
Holger Vogt 3a3b7d3cde Use W/nf for selecting binning model,
if compat mode Spectre is set by
set ngbehavior=spe
in .spiceinit
2020-10-10 12:20:11 +02:00
Holger Vogt 2f1d3df8c7 add a Spectre compatibility mode 2020-10-10 12:19:49 +02:00
Holger Vogt 990d87bf1c replace gettok by gettok_node to ignore parentheses when reading
a .model line in the altermod ... file ... command.
2020-10-10 12:19:32 +02:00
Holger Vogt 110a853ce5 Fix a bug when reading a list of type ( 2 4 6 ): If ')' was not
the last token, an error message was generated.
2020-10-10 12:19:23 +02:00
Holger Vogt 64e5e13c4e Bug no. #512: Set a breakpoint at delay time td to safely
catch the starting time point of the random numbers
2020-10-10 12:19:04 +02:00
dwarning 2b33ef8c58 VDMOS fix bypass label in diode section 2020-10-10 12:18:46 +02:00
dwarning 1ae131551b truncation error calculation for body diode charge 2020-10-10 12:18:23 +02:00
dwarning 56b8da7be6 white spaces 2020-10-10 12:18:07 +02:00
dwarning 797042e7e7 include power dissipation of drain resistance 2020-10-10 12:17:03 +02:00
dwarning 04a1a74c2e limit deltemp maximum stepsize 2020-10-10 12:16:34 +02:00
dwarning 3f4b24be89 VDMOS change name of some matrix entries to make life easier 2020-10-10 12:16:04 +02:00
dwarning 17497eddec VDMOS change thermal left and rigth side signs that mos and diode part follow same logic 2020-10-10 12:15:51 +02:00
dwarning 689d561c9e unify temperature limit routine for usage in self-heating model 2020-10-10 12:15:37 +02:00
dwarning 04656c4596 rearrange and white spaces 2020-10-10 12:15:14 +02:00
dwarning 7f5f8ac69f correct peripheral resistor current temperature dependency 2020-10-10 12:15:02 +02:00
dwarning 8a7fce8676 BJT prevent crash in qs model for insane parameter entry 2020-10-10 12:14:50 +02:00
dwarning c8fa54ce1c BJT Kull Quasi-Saturation model 2020-10-10 12:14:37 +02:00
dwarning 9a6ec08287 VBIC add quasi-saturation example 2020-10-10 12:14:12 +02:00
dwarning d00fbd0c51 workaround for bug #511 to prevent copy model parameter M to device multiplier 2020-10-10 12:13:55 +02:00
dwarning aab54e8a55 add alternative temperature model for certain jfet parameter 2020-10-10 12:13:19 +02:00
Holger Vogt b0a790a463 proper size_t to int conversion 2020-10-10 12:12:59 +02:00
Holger Vogt 8ea8ddcc03 simplify the previous commit, single step warp if multibyte utf-8 character 2020-10-10 12:12:37 +02:00
Holger Vogt f911758e4b X11: re-enable writing text to a graph if libxft is used 2020-10-10 12:12:21 +02:00
Holger Vogt 445c6f2d32 fix a bug that occurs when xspice is not selected
missing function parameter has been introduced in previous commit
2020-10-10 12:11:41 +02:00
Holger Vogt 602baf68e6 spice2g6 allows to omit the poly(n) statement, if the
polynomial is one-dimensional (n==1).
For compatibility with the XSPIXE code, we have to add
poly(1) appropriately.
2020-10-10 12:11:14 +02:00
Holger Vogt 60dfe836f4 If ps is enabled, .dc TEMP -15 75 5 will have been
modified to .dc (TEMPER) -15 75 5.
So we repair it here with a preliminary fix.
2020-10-10 12:10:43 +02:00
Holger Vogt 1698004078 The tests of cmaths function will be done only on request,
with configure flag --enable-cmathtests
2020-10-10 12:09:52 +02:00
Holger Vogt ca27319213 no forcing lower-case letters for command 'cd' 2020-10-10 12:09:25 +02:00
Holger Vogt 37858e66ec utf-8 without BOM 2020-10-10 12:08:41 +02:00
Holger Vogt a0389bb547 In PS compatibility mode:
In subcircuit .subckt and X lines with 'params:' statement
replace comma separator by space. Do nothing if comma is inside of {}.
2020-08-20 15:49:32 +02:00