Brian Taylor
cefa6b380c
When the gen_tab has only one entry, do not call optimize_gen_tab, it is not necessary.
3 years ago
Brian Taylor
029df5a3d6
Check that the bparse gen_tab optimization loop finishes when no more improvements occur.
3 years ago
Holger Vogt
6af73bc97f
remove unused
3 years ago
Holger Vogt
d77e36dc1b
To find the nearest integer, use nearbyint(). trunc() has delivered
only one-sided answers.
3 years ago
Holger Vogt
47f2b7c6af
AlmostEqualUlps setting has been too strict: it failed in MINGW gcc.
3 --> 10
3 years ago
Holger Vogt
ba6ff75dab
Trim trailing spaces
3 years ago
Holger Vogt
f26c9146f5
Don't allocate memory for control array at every time step
Use loc instead, setting it up once during INIT
3 years ago
Brian Taylor
aff20b9db1
Remove asserts, replace fixed size lexer_buf.
3 years ago
Brian Taylor
d54c1fc091
Add pindly tristate example. Cleanup error handling.
3 years ago
Brian Taylor
0627af435a
Remove most asserts.
3 years ago
Brian Taylor
b142be7fde
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.
3 years ago
Brian Taylor
4e76586b6b
Reduce the delays of 'zero' delay gates to 1.0e-11. Add decoder test for logicexpr and pindly.
3 years ago
Brian Taylor
13c01abf0d
Fix a typo, add more comments.
3 years ago
Brian Taylor
68f0d49f58
Add support for TRISTATE: in PINDLY.
3 years ago
Brian Taylor
363179ce2f
Fix potential memory leak, clean out debug code.
3 years ago
Brian Taylor
499bef097e
Better estimates of rise/fall delays in PINDLYs with outputs separated by CASE.
3 years ago
Brian Taylor
a01edf2f36
Fix visualc compiler warnings.
3 years ago
Brian Taylor
22a3af8a1e
Improve delay estimates for pindly output buffers.
3 years ago
Brian Taylor
64c2c1ee05
Initial handling of PINDLY. Output buffers without rise/fall delay estimates.
3 years ago
Brian Taylor
62aab3885d
Move f_logicexp, f_pindly calls to u_process_instance. Use u_add_instance to copy gate instances and models to the replacement cards.
3 years ago
Brian Taylor
7c699a599f
Fix potential memory leak.
3 years ago
Brian Taylor
a54aa4d1f7
Initial logicexp parser and gate generator.
3 years ago
Brian Taylor
4a904cdf18
Add drive 0/1 for $d_lo/$d_hi.
3 years ago
Holger Vogt
e47049f31a
Add STATIC_VAR_TABLE locdata
Add CALLBACK cm_d_pwm_callback
Reserve memory for x, y arrays only once during INIT
3 years ago
Holger Vogt
f1165052ad
We are developing towards ngspice-39
3 years ago
Holger Vogt
14f42f805d
Add info on new function ngCM_Input_Path
3 years ago
Holger Vogt
eb70d81dab
Add function
char* ngCM_Input_Path(const char* path);
to shared ngspice API
to send file path for code model input files (e.g. dsource).
Such path cannot be extracted automatically when netlist has
been sent by ngSpice_Circ
3 years ago
Holger Vogt
4b15632f9b
Function ngSpice_Circ() may receive empty lines.
Skip these lines while setting the netlist.
3 years ago
Holger Vogt
97ee2d8047
Fix typo
3 years ago
holger
7eafd48cc0
Add udevices.h to makefile.am for 'make dist'
3 years ago
Holger Vogt
a6c28e44ff
Add info on shared library
3 years ago
Holger Vogt
638a09b718
Make doxygen documentation complete as an example.
4 years ago
Holger Vogt
70f38ec25f
Update for doxygen: add function names to \brief
4 years ago
Holger Vogt
b6d2a50e42
Update to comments for doxygen
4 years ago
Holger Vogt
3288d5ac99
Test for doxygen documentation
4 years ago
Holger Vogt
ed6f802948
Add a guard on parameter 'position', limit to
1e-9 to 0.999999999
FIXME: the given parameter limits from ifspec.ifs are not recognized.
3 years ago
Holger Vogt
2d8ea17d65
Update on author
3 years ago
Holger Vogt
61d23b99ff
Patch required to allow compiling at Fedora with -Werror=format-security
Provided by Mamoru Tasaka
3 years ago
Holger Vogt
7fa5c7ad87
Typo
3 years ago
Holger Vogt
27ba1e39df
Small correction to previous commit.
4 years ago
Holger Vogt
06d349ff06
Add a limit of 0.999 to bipolar parameters mje, mjc, and mjs.
The bipolar model is restricted to values < 1.
Fixes bug 583
4 years ago
Holger Vogt
5bc1660773
prepare ngspice-38
4 years ago
Holger Vogt
e2defea752
The derivative of pow shall use the new pow function as well,
when compat mode LT is selected.
4 years ago
Giles Atkinson
01c4a5dff2
Fix memory leak reported by Brian Taylor.
4 years ago
Giles Atkinson
9801d06795
Fix XSPICE's node prefix '~' when PSPICE compatability is used.
4 years ago
Holger Vogt
d7485d7136
Fix typo
4 years ago
Holger Vogt
edab163192
If compatmode is lt, change the pow(x,y) and x**y functions:
If x < 0, output only if y is integer number, otherwise output 0
4 years ago
Holger Vogt
933b1fdb2b
Add some comment
4 years ago
Brian Taylor
150839dd1a
Remove VisualC compile warnings.
4 years ago
Holger Vogt
7f486febe9
Search for .spiceinit (or spice.rc) firstly in a user defined directory,
when the directory path is set in the environmental variable
SPICE_USERINIT_DIR.
If not found then search in the current directory, then in HOME, then
in USERPROFILE.
4 years ago