Holger Vogt
8d9f69f7bf
Add --enable-shortcheck as configure option
2022-12-11 15:46:27 +01:00
Holger Vogt
e28d3feee0
Remove unused variable debarr.
...
Add another example.
2022-12-11 15:39:10 +01:00
Holger Vogt
45574cecb2
derivative inside of .func
2022-12-11 15:38:49 +01:00
Holger Vogt
89a48e7d73
simple example for derivative in B source
2022-12-11 15:38:37 +01:00
Holger Vogt
6c1be283a7
Add a function ddt (derivative versus time) to the B-source funtion parser.
2022-12-11 15:38:22 +01:00
Brian Taylor
47260e2eb8
Rewrite extract_model_param.
2022-12-11 15:38:08 +01:00
Brian Taylor
0924fbb7eb
Modify the delay calculation for non-conforming timing model in .subckt CD4572UB.
2022-12-11 15:37:34 +01:00
Holger Vogt
a5eaac128a
For monotonic plotting find out the majority of increasing or decreasing
...
x-axis values, add a warning to add 'retraceplot' to plot all if more than
10% of the values deviate from the majority.
2022-12-11 15:37:14 +01:00
Holger Vogt
082ae1603e
add linewidth for graphs
2022-12-11 15:36:57 +01:00
Holger Vogt
058e7a34f8
tiny update, typos, font size
2022-12-11 15:36:42 +01:00
Holger Vogt
9613625840
Prevent seg fault after strange input like
...
*no circuit
.save all
.probe alli
.op
.end
2022-12-11 15:36:22 +01:00
Pascal Kuthe
744002dc49
fix sigfault on older c compilers
2022-12-11 15:35:53 +01:00
Giles Atkinson
7ead974a5a
Prevent crash when cm_analog_set_temp_bkpt() is called during OPtran().
2022-12-11 15:35:31 +01:00
Giles Atkinson
73e8fed0fc
Fix warnings from gcc 10.2.1.
2022-12-11 15:35:14 +01:00
Brian Taylor
929d1f5190
Added xor/xnor for logicexp timing models.
2022-12-11 15:34:56 +01:00
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.
2022-12-11 15:34:33 +01:00
Brian Taylor
cd883d23d6
Examples for 74*568 behavioral subckts.
2022-12-11 15:33:53 +01:00
Brian Taylor
a0cf65ca1a
Add B-source note
2022-12-11 15:33:24 +01:00
Holger Vogt
5324319edb
Move digital examples to new locations
2022-12-11 15:33:08 +01:00
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.
2022-12-11 15:32:51 +01:00
Holger Vogt
e967b31c94
Add a new compatibility mode xs (for XSPICE)
2022-12-11 15:32:30 +01:00
Holger Vogt
27fb6cd0a6
Allow resetting the limit for warning mesaages, when a new run is started.
2022-12-11 15:32:11 +01:00
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.
2022-12-11 15:31:41 +01:00
Brian Taylor
1511214874
Add more debug instrumentation.
2022-12-11 15:31:09 +01:00
Brian Taylor
fe733a8ca2
Use tilde '~' inputs instead of creating inverters.
2022-12-11 15:30:41 +01:00
Holger Vogt
59e28ac2a2
Remove mentioning line number 0, which has been incomprehensible.
2022-12-11 15:30:12 +01:00
Holger Vogt
59413a7f71
Add error messages when controlled_exit is called:
...
No exit without message.
2022-12-11 15:29:47 +01:00
Pascal Kuthe
75c2a3c621
calculate log frequency sweep such that start frequency and stop frequency are always exactly included
2022-12-11 15:29:19 +01:00
Pascal Kuthe
c5d5da15ee
fix: allow hicum/l2 to compile with older c++ compilers
2022-12-11 15:28:59 +01:00
Holger Vogt
925dc55a73
rename example file
2022-12-11 15:28:23 +01:00
Holger Vogt
ca1974ff37
Examples moved to folder /various
2022-12-11 15:28:01 +01:00
Holger Vogt
751019b447
Examples for d_pwm and d_osc
2022-12-11 15:27:42 +01:00
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
2022-12-11 15:27:26 +01:00
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
2022-12-11 15:27:02 +01:00
Brian Taylor
9932a78e39
Add safety braces.
2022-12-11 15:26:42 +01:00
Brian Taylor
5726c9ff0b
Tidy up debug tracing code.
2022-12-11 15:26:16 +01:00
Brian Taylor
aa2f3b7bbb
Fix memory leaks.
2022-12-11 15:25:52 +01:00
Brian Taylor
4294f49968
Add more vectors to behavioral 283 circuit. Add tristate buffer circuit which shows glitches until inertial delays are implemented.
2022-12-11 15:25:24 +01:00
Brian Taylor
cefa6b380c
When the gen_tab has only one entry, do not call optimize_gen_tab, it is not necessary.
2022-12-11 15:25:00 +01:00
Brian Taylor
029df5a3d6
Check that the bparse gen_tab optimization loop finishes when no more improvements occur.
2022-12-11 15:24:35 +01:00
Holger Vogt
6af73bc97f
remove unused
2022-12-11 15:24:04 +01:00
Holger Vogt
d77e36dc1b
To find the nearest integer, use nearbyint(). trunc() has delivered
...
only one-sided answers.
2022-12-11 15:23:20 +01:00
Holger Vogt
47f2b7c6af
AlmostEqualUlps setting has been too strict: it failed in MINGW gcc.
...
3 --> 10
2022-12-11 15:22:54 +01:00
Holger Vogt
ba6ff75dab
Trim trailing spaces
2022-12-11 15:22:30 +01:00
Holger Vogt
f26c9146f5
Don't allocate memory for control array at every time step
...
Use loc instead, setting it up once during INIT
2022-12-11 15:22:01 +01:00
Holger Vogt
5d51107ff3
Add logicexp.c to fftw and shared project files
2022-12-11 15:21:30 +01:00
Brian Taylor
aff20b9db1
Remove asserts, replace fixed size lexer_buf.
2022-12-11 15:21:09 +01:00
Brian Taylor
d425beb557
Typo, 2 x1 subcircuits.
2022-12-11 15:20:49 +01:00
Brian Taylor
d54c1fc091
Add pindly tristate example. Cleanup error handling.
2022-12-11 15:20:27 +01:00
Brian Taylor
0627af435a
Remove most asserts.
2022-12-11 15:20:03 +01:00