iverilog/vpi
Cary R 221b83b932 Rework $plusarg routines.
This patch addresses a number of issues:

Rewrote the $test$plusargs and $value$plusargs routines to have
better error/warning messages, to support runtime strings, to
correctly load bit based values (truncating, padding, negative
value), added support for the real formats using strtod() and
added "x/X" as an alias for "h/H" to match the other part of
Icarus.

Rewrite the vpip_{bin,oct,hex}_str_to_vec4 routines to ignore
embedded "_" characters. Add support for a negative value and
set the entire value to 'bx if an invalid digit is found. A
warning is printed for this case.

Rewrite vpip_dec_str_to_vec4 to ignore embedded "_" characters,
to support a single "x" or "z" constant and to return 'bx if an
invalid digit is found. A warning is printed for this case.

It simplifies the system task/functions error/warning messages.

It removes the signed flag for the bin and dec string conversions.
This was not being used (was always false) and the new negative
value support makes this obsolete.

Add support for a real variable to handle Bin, Oct, Dec and Hex
strings. They are converted into a vvp_vector4_t which is then
converted to a real value.

Add support for setting a bit based value using a real value.

Removed an unneeded rfp signal in vpip_make_reg()
2008-11-13 15:56:29 -08:00
..
.cvsignore Give the vip directory its own configure and vpi_config.h 2004-01-21 01:22:51 +00:00
Makefile.in Non-controversial whitespace cleanup 2008-09-04 21:31:30 -07:00
configure.in AC_CHECK_FUNCS_ONCE is a little too modern for many uses. 2008-05-09 09:55:41 -07:00
lxt2_write.c Synchronize lxt_write.c and lxt2_write.c with Tony Bybell 2008-01-04 16:04:18 -08:00
lxt2_write.h Synchronize lxt_write.c and lxt2_write.c with Tony Bybell 2008-01-04 16:04:18 -08:00
lxt_write.c Synchronize lxt_write.c and lxt2_write.c with Tony Bybell 2008-01-04 16:04:18 -08:00
lxt_write.h mingw needs fseeko/ftello redefinitions in lxt_write.h 2007-09-04 16:32:52 -07:00
mt19937int.c Clean up spurious trailing white space. 2004-10-04 01:10:51 +00:00
sdf_lexor.lex Content-free portability fixes. 2008-09-29 18:06:47 -07:00
sdf_parse.y Support annotation of edge paths 2007-12-13 20:42:06 -08:00
sdf_parse_priv.h Spelling fixes 2008-01-29 20:24:24 -08:00
sdf_priv.h Support annotation of edge paths 2007-12-13 20:42:06 -08:00
stringheap.c Give the vip directory its own configure and vpi_config.h 2004-01-21 01:22:51 +00:00
stringheap.h Make lxt use stringheap to perm-allocate strings. 2003-02-13 18:13:28 +00:00
sys_clog2.c Rework $plusarg routines. 2008-11-13 15:56:29 -08:00
sys_convert.c Rework $plusarg routines. 2008-11-13 15:56:29 -08:00
sys_deposit.c Delay compiletf until bindings are complete 2007-07-24 18:24:24 -07:00
sys_display.c Checks for illegal use of automatically allocated variables. 2008-11-11 20:45:19 -08:00
sys_fileio.c Rework $plusarg routines. 2008-11-13 15:56:29 -08:00
sys_finish.c Clean up more compiletf routines, etc. 2008-06-06 20:44:21 -07:00
sys_icarus.c Error message for missing system tasks/functions. 2008-08-23 09:20:30 -07:00
sys_lxt.c Rework $plusarg routines. 2008-11-13 15:56:29 -08:00
sys_lxt2.c Rework $plusarg routines. 2008-11-13 15:56:29 -08:00
sys_plusargs.c Rework $plusarg routines. 2008-11-13 15:56:29 -08:00
sys_priv.c Rework $plusarg routines. 2008-11-13 15:56:29 -08:00
sys_priv.h Rework more compiletf and calltf routines in the vpi directory. 2008-06-14 20:13:52 -07:00
sys_random.c Spelling fixes 2008-06-13 08:51:28 -07:00
sys_random_mti.c Content-free portability fixes. 2008-09-29 18:06:47 -07:00
sys_readmem.c Spelling fixes 2008-06-13 08:51:28 -07:00
sys_readmem_lex.h conditional ident string using autoconfig. 2002-08-12 01:34:58 +00:00
sys_readmem_lex.lex remove lint flagged by gcc-4.3 2008-01-07 18:39:10 -08:00
sys_scanf.c Content-free portability fixes. 2008-09-29 18:06:47 -07:00
sys_sdf.c Content-free portability fixes. 2008-09-29 18:06:47 -07:00
sys_table.c Add the Verilog-2005 and Verilog-AMS constant system functions. 2008-08-29 21:11:44 -07:00
sys_time.c Modify $realtime to use vpiScaledRealTime 2008-09-12 20:36:08 -07:00
sys_vcd.c Rework $plusarg routines. 2008-11-13 15:56:29 -08:00
sys_vcdoff.c Rework more compiletf and calltf routines in the vpi directory. 2008-06-14 20:13:52 -07:00
system.sft Add $clog2 function. 2008-08-20 08:59:36 -07:00
v2005_math.c Content-free portability fixes. 2008-09-29 18:06:47 -07:00
v2005_math.sft Add the Verilog-2005 and Verilog-AMS constant system functions. 2008-08-29 21:11:44 -07:00
va_math.c Content-free portability fixes. 2008-09-29 18:06:47 -07:00
va_math.sft Add the Verilog-2005 and Verilog-AMS constant system functions. 2008-08-29 21:11:44 -07:00
vams_simparam.c Rework $plusarg routines. 2008-11-13 15:56:29 -08:00
vcd_priv.c Rework $plusarg routines. 2008-11-13 15:56:29 -08:00
vcd_priv.h Rework more compiletf and calltf routines in the vpi directory. 2008-06-14 20:13:52 -07:00
vpi_config.h.in Content-free portability fixes. 2008-09-29 18:06:47 -07:00