Larry Doolittle
9772068bbc
vpi_get_str improvements
...
Gets rid of a few warning: deprecated conversion from string
constant to 'char*', follows IEEE 1364-2001C 27.10 in more cases,
and fixes at least one real bug (look at the previous use of
strdup/strcat in real_var_get_str() and signal_get_str()).
2007-12-18 15:11:50 -08:00
Cary R
81a45cdc5f
Make vpi_put_value to a real accept an integer value and add diagnostic code.
...
Modified the code that deals with real variables to accept an integer
value when using vpi_put_value(). Also added some type of diagnostic
message for all switch defaults that have an assert(0) to indicate an
error condition, removed CVS comments and removed a small section of
unreachable code.
2007-08-29 20:02:12 -07:00
Stephen Williams
8dc23dad59
Delay compiletf until bindings are complete
...
Delat the compiletf calls until after all the label references
are resolved and link bindings are complete. Otherwise, there may
be dangling references.
Signed-off-by: Stephen Williams <steve@icarus.com>
2007-07-24 18:24:24 -07:00
steve
fb7ce1d330
Support for vpi_get_value of scaler values. (ravi@bluespec)
2007-04-12 04:45:52 +00:00
steve
8f9738719b
Add support for vpiSize on system task handle. (ravi@bluespec.com)
2007-04-12 04:33:39 +00:00
steve
ceb6bf4afd
Correct return code for vpi_put_userdata.
2006-09-22 22:33:00 +00:00
steve
80f30be9d0
Add support for system functions in continuous assignments.
2006-06-18 04:15:50 +00:00
steve
bf8b085159
Clean up compiler warnings.
2005-09-20 18:34:01 +00:00
steve
6f839aa5df
Eliminate int to vvp_bit4_t casts.
2005-08-29 02:38:50 +00:00
steve
e4ae832153
Clean up spurious trailing white space.
2004-10-04 01:10:51 +00:00
steve
6cd7c1a650
Some explination of vpi_func arguments.
2004-06-30 03:00:36 +00:00
steve
a7ae8adf9b
Support delayed/non-blocking assignment to reals and others.
2004-05-19 03:26:24 +00:00
steve
17c891bc9c
Fix type mismatches of various VPI functions.
2004-02-18 02:51:59 +00:00
steve
4c8c14ceec
Ducument lxt2 access.
2003-12-07 20:05:56 +00:00
steve
ae418c6a6d
Account for all 64 bits in results of $time.
2003-06-18 00:54:28 +00:00
steve
fd4985cc62
Support vpi_get of vpiTimeUnit.
2003-03-14 05:00:44 +00:00
steve
8d0cb2aa7f
signed/unsigned warnings.
2003-03-13 05:07:10 +00:00
steve
0aaf0218ca
Support vector put of function return values.
2003-03-07 02:44:14 +00:00
steve
85991e88e8
Support vpiName for system task/function calls.
2003-03-03 03:27:35 +00:00
steve
04ada23119
Support in various contexts the $realtime
...
system task.
2003-01-27 00:14:37 +00:00
steve
6416f8b90e
Add vpi_put_userdata
2003-01-09 04:09:44 +00:00
steve
c2070777b2
The $time system task returns the integer time
...
scaled to the local units. Change the internal
implementation of vpiSystemTime the $time functions
to properly account for this. Also add $simtime
to get the simulation time.
2002-12-21 00:55:57 +00:00
steve
52bf4e613f
conditional ident string using autoconfig.
2002-08-12 01:34:58 +00:00
steve
a91c4f66ce
Check for null pointers from users.
2002-06-02 19:05:50 +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
88ae1b7b3c
Handle null time and calltf pointers.
2002-05-09 03:34:31 +00:00
steve
fb457128bf
Add vpiModule iterator to vpiScope objects.
2002-05-03 15:44:11 +00:00
steve
fa97ba0d9a
Set vpip_cur_task while calling compileft
2002-04-07 02:34:10 +00:00
steve
b2b8b89cd8
Make configure detect malloc.h
2001-09-15 18:27:04 +00:00
steve
f5b9c26735
Detect system function used as a task.
2001-08-03 06:50:44 +00:00
steve
64cabd8074
Give task/function definitions a vpi type object.
2001-06-25 03:12:06 +00:00
steve
224af78463
Add support for system function calls.
2001-05-20 00:46:12 +00:00
steve
44a182d92c
VVP support for memories in expressions,
...
including general support for thread bit
vectors as system task parameters.
(Stephan Boettcher)
2001-05-10 00:26:53 +00:00
steve
9e8005f7b7
Put threads into scopes.
2001-04-18 04:21:23 +00:00
steve
548ff4f89a
Detect undefined system tasks at compile time.
2001-03-22 22:38:13 +00:00
steve
6779f01f3a
Add support for string constants to VPI.
2001-03-18 04:35:18 +00:00
steve
66f7ef97da
Add support for vpi scopes.
2001-03-18 00:37:55 +00:00
steve
f2c1902984
Add structures for VPI support, and all the %vpi_call
...
instruction. Get linking of VPI modules to work.
2001-03-16 01:44:34 +00:00