Pascal Kuthe
744002dc49
fix sigfault on older c compilers
3 years ago
Giles Atkinson
7ead974a5a
Prevent crash when cm_analog_set_temp_bkpt() is called during OPtran().
3 years ago
Giles Atkinson
73e8fed0fc
Fix warnings from gcc 10.2.1.
3 years ago
Brian Taylor
929d1f5190
Added xor/xnor for logicexp timing models.
3 years ago
Brian Taylor
7ff8f3773f
Handle cases where logicexp has a timing model but no pindly. This is rare, only 22 tests from the digital libraries. Move digital examples, add missing .spiceint file.
3 years ago
Brian Taylor
cd883d23d6
Examples for 74*568 behavioral subckts.
3 years ago
Brian Taylor
a0cf65ca1a
Add B-source note
3 years ago
Holger Vogt
5324319edb
Move digital examples to new locations
3 years ago
Holger Vogt
631ff35c34
The 8th parameter on a voltage or current source now is 'number of pulses'.
Previous usage had been PHASE, introduced by XSPICE, which has
been redundant to DELAY. PHASE is again available when compatibility flag
xs has been set.
3 years ago
Holger Vogt
e967b31c94
Add a new compatibility mode xs (for XSPICE)
3 years ago
Holger Vogt
27fb6cd0a6
Allow resetting the limit for warning mesaages, when a new run is started.
3 years ago
Holger Vogt
8e175f1e77
Replace obscure warning "singular matrix: check nodes mymode1 and mynode1" by
"singular matrix: check node mynode1", if both node names are equal.
3 years ago
Brian Taylor
1511214874
Add more debug instrumentation.
3 years ago
Brian Taylor
fe733a8ca2
Use tilde '~' inputs instead of creating inverters.
3 years ago
Holger Vogt
59e28ac2a2
Remove mentioning line number 0, which has been incomprehensible.
3 years ago
Holger Vogt
59413a7f71
Add error messages when controlled_exit is called:
No exit without message.
3 years ago
Pascal Kuthe
75c2a3c621
calculate log frequency sweep such that start frequency and stop frequency are always exactly included
3 years ago
Pascal Kuthe
c5d5da15ee
fix: allow hicum/l2 to compile with older c++ compilers
4 years ago
Holger Vogt
925dc55a73
rename example file
3 years ago
Holger Vogt
ca1974ff37
Examples moved to folder /various
3 years ago
Holger Vogt
751019b447
Examples for d_pwm and d_osc
3 years ago
Holger Vogt
f13aa89626
Add new functions for operators x**y or x^y
compatmode hs: x>0 pow(x, y), x<0 pow(x, round(y)), X=0 0
compatmode lt: x>0 pow(x, y), x<0 pow(x, y) if y is close to integer, else 0
3 years ago
Holger Vogt
d0f686727d
Add new functions for operators x**y or x^y
compatmode hs: x>0 pow(x, y), x<0 pow(x, round(y)), X=0 0
compatmode lt: x>0 pow(x, y), x<0 pow(x, y) if y is close to integer, else 0
3 years ago
Brian Taylor
9932a78e39
Add safety braces.
3 years ago
Brian Taylor
5726c9ff0b
Tidy up debug tracing code.
3 years ago
Brian Taylor
aa2f3b7bbb
Fix memory leaks.
3 years ago
Brian Taylor
4294f49968
Add more vectors to behavioral 283 circuit. Add tristate buffer circuit which shows glitches until inertial delays are implemented.
3 years ago
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
Holger Vogt
5d51107ff3
Add logicexp.c to fftw and shared project files
3 years ago
Brian Taylor
aff20b9db1
Remove asserts, replace fixed size lexer_buf.
3 years ago
Brian Taylor
d425beb557
Typo, 2 x1 subcircuits.
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