steve
52bf4e613f
conditional ident string using autoconfig.
2002-08-12 01:34:58 +00:00
steve
774f78cd3e
Autoconfig ident support.
2002-08-12 00:27:10 +00:00
steve
aca1dcf848
Add missing Log and Ident strings.
2002-08-11 23:47:04 +00:00
steve
faff19af7b
vvp.pdf comes from the man page.
2002-08-10 22:12:01 +00:00
steve
ea779ac7dd
Documentation, and excessive inlines.
2002-08-07 00:54:20 +00:00
steve
db2c842d15
Account for the tail readonly callbacks.
2002-07-31 03:22:44 +00:00
steve
c0e22a6533
Set vpi_mode_flag to represent cpReadOnlySync actions.
2002-07-31 03:22:23 +00:00
steve
e2f537628f
integral type/ptrdiff_t warning.
2002-07-23 15:11:41 +00:00
steve
7fcaeacd65
Careful not to overrun vector buffer.
2002-07-23 02:36:34 +00:00
steve
57aee7ca26
Add vpi_chk_error and vpi_control functions.
2002-07-19 01:57:26 +00:00
steve
2fcfe9f2c3
vpi_iterate returns 0 on error.
2002-07-19 01:12:50 +00:00
steve
2df2619029
Support put of wide vpiVectorVal to signal.
2002-07-19 00:36:36 +00:00
steve
c5d03d3a25
Fix uninitialized thread pointer in named event.
2002-07-17 18:30:01 +00:00
steve
9e1570dc80
Implementation of vpi_handle_by_name, and
...
add the vpiVariables iterator.
2002-07-17 05:13:43 +00:00
steve
41239078a9
Fix initialization of symbol table string heap.
2002-07-15 00:21:42 +00:00
steve
fbaf8f91bb
Fix vpiScope iterator.
2002-07-14 02:52:05 +00:00
steve
329e943e4e
Use result buf for event and scope names.
2002-07-12 18:23:30 +00:00
steve
26a80005d6
Fix typo.
2002-07-12 16:30:44 +00:00
steve
e41ee7632d
Document the IVERILOG_DUMPER variable.
2002-07-12 02:35:35 +00:00
steve
b7aaf51fbd
vpiIntegerVars can have callbacks.
2002-07-12 02:07:36 +00:00
steve
5a885165b2
vpi_iterate return null if there is nothing to iterate.
2002-07-12 02:04:44 +00:00
steve
e1a4e27173
Dynamic resizevpi result buf in more places.
2002-07-09 03:24:37 +00:00
steve
2b06a293b6
Fix split of root btree node.
2002-07-09 03:20:51 +00:00
steve
54b96ea7bd
Count different types of functors.
2002-07-05 20:08:44 +00:00
steve
fd8ceac170
Names of vpi objects allocated as vpip_strings.
2002-07-05 17:14:15 +00:00
steve
a05d8c2823
Symbol table uses more efficient key string allocator,
...
and remove all the symbol tables after compile is done.
2002-07-05 04:40:59 +00:00
steve
626f418ab0
Track opcode memory space.
2002-07-05 03:46:43 +00:00
steve
5792220dcb
Remove the vpi object symbol table after compile.
2002-07-05 02:50:57 +00:00
steve
b2762f63a2
Fix s_vpi_vecval array byte size.
2002-07-04 16:37:07 +00:00
steve
d3e63088d8
Dynamic size result buffer for _str and _get_value functions.
2002-07-03 23:39:57 +00:00
steve
ccbb1e5f5a
don't pollute name space
...
fix vecval for Z/X cases
2002-07-03 23:16:27 +00:00
steve
3f80bead1b
vpiName, vpiFullName support in memory types,
...
length checks for *_get_str() buffers,
temporary buffers for *_get_str() data,
dynamic storage for vpi_get_data() in memory types
shared with signal white space
2002-07-03 02:09:38 +00:00
steve
c5bde6560c
Limit word writing to vector limits.
2002-07-01 15:36:12 +00:00
steve
210010a390
Get vpiVectorVal for memories.
2002-06-30 04:35:47 +00:00
steve
99b3cc4464
vpiVectorVal of very wide signals.
2002-06-30 02:52:36 +00:00
steve
d8d07eb129
trivial performance boost.
2002-06-23 18:23:09 +00:00
steve
f4a4ee00d0
Add support for special integer vectors.
2002-06-21 04:58:55 +00:00
steve
870c35eece
sign extend signed vectors vpiIntVal.
2002-06-14 22:05:28 +00:00
steve
2be3507422
Stub value change callbacks for consts and modules.
2002-06-11 03:47:34 +00:00
steve
a91c4f66ce
Check for null pointers from users.
2002-06-02 19:05:50 +00:00
steve
d68153dea3
Add %cmpi/u instruction.
2002-06-02 18:55:58 +00:00
steve
1ce50993f0
Add the %muli instruction.
2002-05-31 20:04:22 +00:00
steve
af6f0c800f
Slight improvement in %mov performance.
2002-05-31 04:09:58 +00:00
steve
48f65cef40
Word oriented bit storage.
2002-05-31 00:05:49 +00:00
steve
b6b364a09d
Add %addi, which is faster to simulate.
2002-05-29 16:29:34 +00:00
steve
f704d4d3ff
Use binary search to speed up deep lookups.
2002-05-29 05:37:35 +00:00
steve
450b9ab85c
Callbacks can happen during calltf functions.
2002-05-28 22:55:20 +00:00
steve
bcd49b94dd
Able to disable thread self.
2002-05-27 00:53:10 +00:00
steve
d63e994ea5
Detect long division by zero.
2002-05-24 04:55:13 +00:00
steve
7ce713356e
Define SIZEOF_UNSIGNED_LONG_LONG
2002-05-24 00:43:16 +00:00
steve
cfab250671
Add callbacks for vpiNamedEvent objects.
2002-05-19 05:18:16 +00:00
steve
b1c0f7306d
Add vpi support for named events.
...
Add vpi_mode_flag to track the mode of the
vpi engine. This is for error checking.
2002-05-18 02:34:11 +00:00
steve
a7b7781fe9
Rewire vpiMemory and vpiMemoryWord handles to
...
support proper iteration of words, and the
vpiIndex value.
2002-05-17 04:12:19 +00:00
steve
21fe6afe8d
null terminate the reversed decimal string
2002-05-17 04:05:38 +00:00
steve
48da46986b
Support set by string for reg objects.
2002-05-15 04:48:46 +00:00
steve
94cef20e49
task calls and forks push the thread event in the queue.
2002-05-12 23:44:41 +00:00
steve
da0c4c7565
Get thread vectors by vpiIntVal.
2002-05-12 00:32:21 +00:00
steve
9c28f085d8
Set and get memory words by string value.
2002-05-11 04:39:35 +00:00
steve
e9af0c7485
Support scope iterate over vpiNet,vpiReg/vpiMemory.
2002-05-10 16:00:57 +00:00
steve
88ae1b7b3c
Handle null time and calltf pointers.
2002-05-09 03:34:31 +00:00
steve
68f1316eba
Fix uninitialized memory accesses.
2002-05-07 04:15:43 +00:00
steve
822a085d97
Properly free vpi callback objects.
2002-05-04 03:17:29 +00:00
steve
f23aec7f14
Add simulator event callbacks.
2002-05-04 03:03:17 +00:00
steve
fb457128bf
Add vpiModule iterator to vpiScope objects.
2002-05-03 15:44:11 +00:00
steve
844fe3b9bc
Trim leading nulls from string forms.
2002-04-27 23:26:24 +00:00
steve
271855377f
Support drawing vpiBinaryConst in hex.
2002-04-27 22:36:39 +00:00
steve
52ea13819a
Add the assign/d instruction for computed delays.
2002-04-21 22:29:49 +00:00
steve
eb708c1540
Support specified times in cbReadOnlySync, and
...
add support for cbReadWriteSync.
Keep simulation time in a 64bit number.
2002-04-20 04:33:23 +00:00
steve
eb27dc8db3
Support signed integer division.
2002-04-14 18:41:34 +00:00
steve
a18662ed13
Allow signed constant vectors for call_vpi parameters.
2002-04-14 03:53:20 +00:00
steve
3275d1f252
Support signed expressions through to VPI.
2002-04-14 02:56:19 +00:00
steve
e1a6bb10de
Formally define extended arguments to vvp.
2002-04-12 02:44:02 +00:00
steve
fa97ba0d9a
Set vpip_cur_task while calling compileft
2002-04-07 02:34:10 +00:00
steve
0c04e2976b
minor cleanup of formatting.
2002-04-07 00:46:21 +00:00
steve
c98c24b9ff
cbValueChange automatically replays.
2002-04-06 20:25:45 +00:00
steve
65159a2733
Update for newer bison.
2002-03-31 04:06:49 +00:00
steve
362b2aa604
vpip_bits_to_dec_str takes a bit array in a specific format.
2002-03-18 05:33:24 +00:00
steve
de252965ac
Add the .ufunc statement.
2002-03-18 00:19:34 +00:00
steve
f5049c2f14
Do not push values through logic gates.
2002-03-17 05:48:49 +00:00
steve
f77c7f3d18
Clean up edge detection code.
2002-03-17 03:24:34 +00:00
steve
f75fb3cd95
Force the push flags to be explicit.
2002-03-17 03:23:10 +00:00
steve
b0a489fb7f
Debug code for write to constants.
2002-03-08 05:41:45 +00:00
steve
01b9d5e023
Better linker error messages.
2002-03-05 05:31:52 +00:00
steve
6fa9415482
Initialize all the codes tables.
2002-03-01 05:43:59 +00:00
steve
c159ff3134
Add cleanup to verbose messages.
2002-03-01 05:43:14 +00:00
steve
efa5338e3b
out-of-memory asserts.
2002-03-01 05:42:50 +00:00
steve
6dcf880482
carriage return is white space.
2002-02-27 05:46:33 +00:00
steve
d55a890fdd
get bin or hex string values of memory words.
2002-02-06 04:48:34 +00:00
steve
f2cff31b6e
Clean up warnings.
2002-02-04 00:41:34 +00:00
steve
ddd3566d50
Add CVS tokens.
2002-02-03 05:51:31 +00:00
steve
ec82af0c74
Use Larrys bits-to-decimal-string code.
2002-02-03 01:01:51 +00:00
steve
9fa0f95003
Full support for $readmem ranges (Tom Verbeure)
2002-01-31 04:28:17 +00:00
steve
b906f4c0a1
Handle x in l-value of set/x
2002-01-26 02:08:07 +00:00
steve
d67ad166cd
Support display of strings with umber formats. (Tom Verbeure)
2002-01-25 03:24:19 +00:00
steve
a9be4e009f
Spelling in comment.
2002-01-24 04:17:46 +00:00
steve
6a98764b3b
Load modules with RTLD_LAZY
2002-01-23 04:54:37 +00:00
steve
da8d59757e
return calculated oval from UDP (Stephan Boettcher)
2002-01-20 23:27:51 +00:00
steve
a697157257
Support DesSTrVal for binary constants.
2002-01-15 03:21:18 +00:00
steve
ec070ee65b
Support vpiSize and vpiSigned for time objects.
2002-01-15 03:06:29 +00:00
steve
b274dada85
Support the BUFZ logic device.
2002-01-12 04:02:16 +00:00
steve
dee52dd2d0
Magic stime object support.
2002-01-11 05:21:47 +00:00
steve
4d3611c5f1
odd width thread vectors as strings.
2002-01-10 01:54:04 +00:00
steve
77c4c88a4c
String prints of non-round vectors (PR378)
2002-01-09 03:29:12 +00:00
steve
4291866b9f
Add vpi_get_vlog_info support.
2002-01-09 03:15:23 +00:00
steve
0aa033ddf3
Support scope for functors. (Stephan Boettcher)
2002-01-06 17:50:50 +00:00
steve
edba542c7a
Feedback output, not propagated output. (Stephan Boettcher)
2002-01-06 17:35:01 +00:00
steve
03d188fc52
Support weak functor inputs.
2002-01-06 03:15:13 +00:00
steve
6e1e658922
VPI access to root module scopes.
2002-01-06 00:48:39 +00:00
steve
71660fbaa5
Implement vpi_mcd_printf.
2002-01-04 02:26:36 +00:00
steve
dd79885f6d
Add structural modulus support down to vvp.
2002-01-03 04:19:01 +00:00
steve
51ffeb7c06
Use my own cfltype to defend against bison 1.30.
2002-01-02 02:39:34 +00:00
steve
a3fe753826
Account for negatives in cmp/s
2001-12-31 00:01:16 +00:00
steve
fd5c0cfa28
Support vpiStringVal in vhtread vectors.
2001-12-30 21:31:38 +00:00
steve
357a0ff23e
Detect bison and flex in configure.in
2001-12-30 17:20:33 +00:00
steve
5de8e0555c
push events through event/or lists.
2001-12-29 23:59:06 +00:00
steve
7c9fe0c173
clarify bufif output strenghts.
2001-12-19 23:43:03 +00:00
steve
fd0cb30a4d
Improved functor debug dumps.
2001-12-18 05:32:11 +00:00
steve
125c631091
Remove result length restrictions for vpi_get_value.
2001-12-18 05:31:54 +00:00
steve
ace6b0a767
Give tri0 and tri1 their proper strengths.
2001-12-15 02:11:51 +00:00
steve
7d494fd3d5
Support tri0 and tri1 resolvers.
2001-12-15 01:54:38 +00:00
steve
a0526cdd32
Arrange bufif to support notif as well.
2001-12-14 06:03:17 +00:00
steve
1ca6fe5519
Support strength syntax on functors.
2001-12-14 02:04:49 +00:00
steve
6b2c604124
Better variable names for functor chunks.
2001-12-14 01:59:28 +00:00
steve
a8c4729cf5
vpi_put_value of vpiIntVal for memory words.
2001-12-07 23:23:05 +00:00
steve
ec4f8c80d5
Support functor delays for gates and UDP devices.
...
(Stephan Boettcher)
2001-12-06 03:31:24 +00:00
steve
a50fe36ef8
Ignore foo and a.out.
2001-11-22 04:44:23 +00:00
steve
54bb59ae99
Support compile on MacosX 10.1.1 (Timothy J. Wood)
2001-11-17 17:57:58 +00:00
steve
d8970752b6
include stdlib.h for portability.
2001-11-16 04:22:27 +00:00
steve
4a74ae1795
Runtime support for functor delays. (Stephan Boettcher)
2001-11-10 18:07:11 +00:00
steve
aca5afa95c
Support vpiIntVal from memory.
2001-11-09 03:39:07 +00:00
steve
fa23dafdae
Use functor pointers where vvp_ipoint_t is unneeded.
2001-11-07 03:34:41 +00:00
steve
bf9a8f5021
Code rearrange. (Stephan Boettcher)
2001-11-06 03:07:21 +00:00
steve
cc5ddc0b6b
MacOSX 10.1 updates.
2001-11-04 05:03:21 +00:00
steve
58b5b583a7
Comment the scope type parser.
2001-11-02 05:43:11 +00:00
steve
9e385e6947
Implement split_node for symbol table (hendrik)
2001-11-02 04:48:03 +00:00
steve
7a0e73ef3d
Handle procedural constant functor pointers.
2001-11-01 04:42:39 +00:00
steve
82c0a2ebac
Add force/cassign/release/deassign support. (Stephan Boettcher)
2001-11-01 03:00:19 +00:00
steve
a75326e2e0
Rewrite the functor type to have fewer functor modes,
...
and use objects to manage the different types.
(Stephan Boettcher)
2001-10-31 04:27:46 +00:00
steve
438605fad5
Account for new scope type syntax on scope.
2001-10-31 03:07:11 +00:00
steve
21194c909a
Propagate functor push, to make assign better.
2001-10-27 03:43:56 +00:00
steve
96a50d635d
Minor rework of summation carry propagation (Stephan Boettcher)
2001-10-27 03:22:26 +00:00
steve
4e92501864
VPI support for callback to return values.
2001-10-25 04:19:53 +00:00
steve
b2f6953259
npmos outputs have 3bit strengths, not 2.
2001-10-24 03:18:52 +00:00
steve
2adea8de48
Fix carry between works for %add instruction.
2001-10-23 03:49:13 +00:00
steve
e45546e6f3
Install pdf version of the man pages.
2001-10-21 21:59:49 +00:00
steve
56954356db
Catch and X division by 0.
2001-10-20 23:20:32 +00:00
steve
acf3a4ec16
Print memory usage information if requested (Stephan Boettcher)
2001-10-20 01:03:42 +00:00
steve
73283768a5
Support rnpmos devices. (Philip Blundell)
2001-10-18 17:30:25 +00:00
steve
3924c51097
Support vpiVectorVal for signals. (Philip Blundell)
2001-10-18 04:52:31 +00:00
steve
4bb1bd4315
Get Division error into the division method!
2001-10-16 03:10:20 +00:00
steve
0164ad78be
Catch division by zero in .arith/div.
2001-10-16 03:06:18 +00:00
steve
36e1eab3f4
Add arith/div object.
2001-10-16 02:47:37 +00:00
steve
a3217db7b2
Add %div support (Anthony Bybell)
2001-10-16 01:26:54 +00:00
steve
42dab181cd
Carry the type of the scope (Stephan Boettcher)
2001-10-15 02:58:27 +00:00
steve
98d71de50f
sign warning.
2001-10-15 02:55:03 +00:00
steve
706f2ffc89
Support getting scope of scope, and scope of signals.
2001-10-15 01:49:50 +00:00
steve
a7054a91e5
libiberty is needed for mingw, and useable under cygwin.
2001-10-14 19:54:05 +00:00
steve
ad44b411fb
Try appending .vpi to module names with directories.
2001-10-14 18:42:46 +00:00
steve
2fcab15704
Forgot to propagate carry.
2001-10-14 17:36:18 +00:00
steve
cfbad49d33
Very wide multiplication (Anthony Bybell)
2001-10-14 16:36:43 +00:00
steve
1b69bb5d2f
Handle mode-42 functor init.
2001-10-14 03:41:58 +00:00
steve
4b3b41cd79
Propogate strength-only changes from resolver.
2001-10-14 01:45:11 +00:00
steve
eab5793dda
Account for non-0 start address for memories (Stephan Boettcher)
2001-10-14 01:36:12 +00:00
steve
6cf2ddf541
M42 implementation of mode 2 (Stephan Boettcher)
2001-10-12 03:00:08 +00:00
steve
ad6bbe539f
functor lookup includes vpi signal search.
2001-10-12 02:53:47 +00:00
steve
f12864f69e
Propagate initial value of UDP.
2001-10-11 18:29:21 +00:00
steve
b61c89c104
npmos devices pass strength.
2001-10-11 18:20:51 +00:00
steve
de985ac3fd
Document the behavioral reduction or.
2001-10-10 04:48:12 +00:00
steve
789efb9832
Collect functor reference handling into a single function. (Stephan Boettcher)
2001-10-09 16:57:47 +00:00
steve
64ff74df37
Add the PMOS and NMOS functor types.
2001-10-09 02:28:16 +00:00
steve
41384a0e41
Reduce VCD output by removing duplicates. (Stephan Boettcher)
2001-09-30 05:18:46 +00:00
steve
3854e12024
Fencepost error in memory writes. (Stephan Boettcher)
2001-09-29 20:55:42 +00:00
steve
ff55af1e9e
Check address is in range for set. (Stephan Boettcher)
2001-09-29 04:45:20 +00:00
steve
a73cfbc2b5
MacOS X compile time changes. (Timothy Wood)
2001-09-20 03:21:01 +00:00
steve
21c844363a
Change UDP output only if table matches.
2001-09-19 04:10:40 +00:00
steve
3109906514
Detect C name mangling for dlsym.
2001-09-17 22:26:33 +00:00
steve
b2b8b89cd8
Make configure detect malloc.h
2001-09-15 18:27:04 +00:00
steve
03b635604a
initial structural memory propagation (Stephan Boettcher)
2001-09-11 01:54:58 +00:00
steve
0c5ce9dfec
Redo of_SUBU in a more obvious algorithm, that
...
is not significantly slower. Also, clean up the
implementation of %mov from a constant.
Fix initial clearing of vector by vector_to_array
2001-09-07 23:29:28 +00:00
steve
c29e11ed36
Add the assign/x0 and set/x opcodes.
2001-08-26 22:59:32 +00:00
steve
794ce68a6c
Only use fvectors for nets and vars.
2001-08-25 17:22:32 +00:00
steve
820d8b9edc
Support various other string formats for time.
2001-08-16 03:29:31 +00:00
steve
a98b5023a8
Describe the new .net behavior.
2001-08-10 04:31:27 +00:00
steve
645c8913f1
Neaten and document the resolv object.
2001-08-10 04:31:09 +00:00
steve
066284d5c2
Make sure arithmetic objects run at time 0.
2001-08-10 00:50:50 +00:00
steve
ca801574e3
Include functor address in debug functor print.
2001-08-09 22:25:30 +00:00
steve
606c1d38bb
Nets (wires) do not use their own functors.
...
Modifications to propagation of values.
(Stephan Boettcher)
2001-08-09 19:38:23 +00:00
steve
147ee59940
memory port bug fix.
2001-08-09 19:37:05 +00:00
steve
2e3fc89831
rearrange bison parameters for compatability.
2001-08-09 19:35:29 +00:00
steve
82bccd335d
Initial implementation of vvp_fvectors.
...
(Stephan Boettcher)
2001-08-08 01:05:06 +00:00
steve
bfc05e2d71
Unused variable warnings.
2001-08-08 00:57:20 +00:00
steve
c8135595be
signed/unsigned warnings?
2001-08-08 00:53:50 +00:00
steve
f5b9c26735
Detect system function used as a task.
2001-08-03 06:50:44 +00:00
steve
ed86dee65d
Initialize initial functor tables.
2001-07-30 03:53:01 +00:00
steve
537757a7b9
Cleanup defines and types for mingw compile.
2001-07-30 02:44:05 +00:00
steve
1583b1e84a
Reference the iverilog man page.
2001-07-29 22:50:44 +00:00
steve
140533db50
If module name has a /, skip the path search.
2001-07-28 03:29:42 +00:00
steve
7e0b0d7328
Support C<su0> and C<su1> special symbols.
2001-07-28 03:12:39 +00:00
steve
c5234e95cd
Make the -M flag add module search paths.
2001-07-26 03:13:51 +00:00
steve
7b79fd98e5
Fast UDP tables (Stephan Boettcher)
2001-07-24 01:44:50 +00:00