Commit Graph

6673 Commits

Author SHA1 Message Date
Holger Vogt c4f641dad6 remove bracket left over from recent manual merge conflict resolution 2020-03-15 08:51:04 +01:00
h_vogt dbd0a5743a Enable utf-8 and UNICODE for string handling.
preprocessor flag EXT_ASC resets handling to old behaviour.
Add utf-16 wide char to all Windows string i/o.
Add translation between utf-8 and utf-16.
Add angle to fcn DevDrawText.
2020-03-15 08:51:04 +01:00
Holger Vogt 28c0fbf397 Zero fp, this fixes bug no #475 2020-03-15 08:51:04 +01:00
Jim Monte 93233fde2c Made descriptions of invalid interpolation cases more descriptive and fixed a memory leak 2020-03-15 08:51:04 +01:00
dwarning 740df722c7 partially revert commit b4bbcb149 for spec analysis functionality 2020-03-15 08:51:04 +01:00
dwarning 86d7963f32 more meaningful warning if vector can't interpolate 2020-03-15 08:51:03 +01:00
Holger Vogt 0ad7acadec remove unreachable code warning, add const 2020-03-15 08:51:03 +01:00
Holger Vogt c77da1870d Fixed compiler warnings related to const, unreachable code, and an empty translation unit. 2020-03-15 08:51:03 +01:00
Jim Monte 7084274344 Fixed incorrect type of variable ch_cur. It was from const char * but should have been const char. 2020-03-15 08:51:03 +01:00
Holger Vogt 5bd45c0451 make path to dstring.c independent from build directory 2020-03-15 08:51:03 +01:00
Holger Vogt 5bc9a320eb Revert "correct the path to dstring.c"
This reverts commit 28002be150.
2020-03-15 08:51:03 +01:00
Holger Vogt 89ea46e39a prevent false freeing of vector 2020-03-15 08:51:03 +01:00
dwarning 129b219ed2 correct the path to dstring.c 2020-03-15 08:51:03 +01:00
dwarning 4f75d56011 no wrapper cp_globmatch needed 2020-03-15 08:51:03 +01:00
Vogt e628fd8977 just use strcmp instead of wrapper function 2020-03-15 08:51:02 +01:00
Holger Vogt 5e76758e57 update to cmpp by J. Monte 2020-03-15 08:51:02 +01:00
Jim Monte 955dda749d Jim Monte's update to cmpp 2020-03-15 08:51:02 +01:00
Holger Vogt 375a92d788 Fix of buffer overrun in interpolation at endpoint of interval.
Made cfunc.mod for tables more modular.
Prevented buffer overrun when building file name.
Added error checking for allocation failures in many locations.
Made binary search for interpolation more efficient.
2020-03-15 08:51:02 +01:00
Jim Monte 92065ea41b fixed singluar/plural agreement in an error message generated by the let command 2020-03-15 08:51:02 +01:00
Jim Monte a53cd3a3e9 fixed path created by ngdirname in Windows. Also added const to parameters whose arguments do not change and fixed some potential buffer overruns. 2020-03-15 08:51:02 +01:00
Jim Monte 2d9110bf65 Add const to some parameters, made function static 2020-03-15 08:51:02 +01:00
Jim Monte 1867f5b727 Fix of buffer overrun in interpolation at endpoint of interval. Made cfunc.mod for tables more modular. Prevented buffer overrun when building file name. Added error checking for allocation failures in many locations. Made binary search for interpolation more efficient. 2020-03-15 08:51:02 +01:00
Jim Monte b4757f934b Added support for DSTRING in code modules with makefile builds 2020-03-15 08:51:02 +01:00
Jim Monte 190c7fb75c Clarified error message 2020-03-15 08:51:01 +01:00
Jim Monte ac49ccaf58 Fixed compile warning about signed/unsigned comparison. 2020-03-15 08:51:01 +01:00
Jim Monte d254b6c97e Gave structure defining Mif_Complex_t a name so that it could be forward referenced. 2020-03-15 08:51:01 +01:00
Jim Monte bfe660e57b Formatting and added comments 2020-03-15 08:51:01 +01:00
Jim Monte 082f36e794 Formatting 2020-03-15 08:51:01 +01:00
Jim Monte 2f8b7ab062 Minor fix to end-of-index processing of let command 2020-03-15 08:51:01 +01:00
Jim Monte b967caaabb File path built more efficiently and now allows an arbitrary length. Prevented strdup() of NULL if path too long. Similarly prevented fopen with a NULL file name. Added function to determine Windows absolute paths properly. Fixed numerous issues that were caused by including Windows system header due to conflicting names. Generally a CMPP_ prefix was added as a "namespace". Also used the standard C bool type instead of defining one. 2020-03-15 08:51:01 +01:00
Jim Monte 0c741bbde2 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
Jim Monte 7990a82f02 Formatting and comments added 2020-03-15 08:51:01 +01:00
Jim Monte 3a2a05f7b0 Removed unnecessary comparisons when lowercasing a string. 2020-03-15 08:51:01 +01:00
Jim Monte b767df3a7e Modified calculation to determine when memory is nearly exhausted. Also changed prototypes of memory reporting functions to match their definitions. 2020-03-15 08:51:00 +01:00
dwarning 93317c87a9 simplify beta derivation 2020-03-15 08:51:00 +01:00
dwarning e966ce5054 alternative temperature model for extrinsic resistances and subthreshold range 2020-03-15 08:51:00 +01:00
Holger Vogt 9c848cdca6 increase max. number of threads for BSIM4 to 8 2020-03-15 08:51:00 +01:00
Holger Vogt ec1d655289 In VDMOS device, if instance parameter tnodeout is set,
check for exactly five nodes
2020-03-15 08:51:00 +01:00
Holger Vogt 643b0edc26 enable local or global statistical values for B source
pre_set statlocal
(or set statlocal in spinit or .spiceinit) will be setting a
different random number for evaluating the value of fcn agauss
etc. in each B line, e.g. if this line appears in a subcircuit,
all expanded B lines will have different values. If not set,
each B line will use the same random number for agauss evaluation.
2020-03-15 08:51:00 +01:00
Holger Vogt 1353a5de77 allow again single letter vector names 2020-03-15 08:51:00 +01:00
dwarning 41ddb9a63d correct thermal parameter 2020-03-15 08:51:00 +01:00
dwarning 51d95f1b6f avoiding temporary setplot problem 2020-03-15 08:51:00 +01:00
dwarning 0fb1c6a000 prevent program crash by misusing thermal model 2020-03-15 08:50:59 +01:00
dwarning 7d17b8f082 vdmos have no Cgb 2020-03-15 08:50:59 +01:00
dwarning d244b1c008 update vdmos examples to the new model interface 2020-03-15 08:50:59 +01:00
dwarning 0362d63094 update vdmos with self-heating network and tj and tcase terminal 2020-03-15 08:50:59 +01:00
Holger Vogt f585807085 re-enable V source with parameter EXTERNAL
Fix bug #463
2020-03-15 08:50:59 +01:00
Holger Vogt 23cef80914 option not needed for convergence 2020-03-15 08:50:59 +01:00
Holger Vogt b699c7fad8 add the PSPICE vswitch S_ST variant,
which resolves to the classical ngspice sw switch
2020-03-15 08:50:59 +01:00
Holger Vogt 9d53780992 allow vec_get to verify vectors if their names are quoted by "" 2020-03-15 08:50:59 +01:00