iverilog/vpi
Cary R 80e596b212 Add leading 0 support to $swrite/$sformat and $display uses this code.
This patch does a number of things.

It adds file and line number information to the strobe_cb_info
structure. This allows the $swrite and $sformat calls to reference
their location in warning/error messages.

Their compiletf and calltf routines also display file and line
number information in messages.

The $display routine was converted to use the string formatting
routine. This can be reverted by defining USE_OLD_DISPLAY. The
old code will be removed once there has been more testing.

A number of bugs were fixed that were discovered with the
$display code.

The output of some conversions, variables and system functions
were changed to match the original display code or to better
match expectation.

Leading zero support was added to the %b/%b, %o/%O, %h/%H, %x/%X,
%c/%C and %d/%D. The floating point conversions already supported
adding a leading zero.

This is the start of converting all the various display tasks to use
the string formatting code and a cleanup/update of the sys_display.c
file in general.
2009-01-06 20:23:17 -08:00
..
Makefile.in Keep source code version information in version files. 2009-01-05 21:43:21 -08: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 Remove most of the lingering CVS droppings. 2008-12-05 21:48:28 -08: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 Remove most of the lingering CVS droppings. 2008-12-05 21:48:28 -08:00
stringheap.h Remove most of the lingering CVS droppings. 2008-12-05 21:48:28 -08: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 Remove most of the lingering CVS droppings. 2008-12-05 21:48:28 -08:00
sys_display.c Add leading 0 support to $swrite/$sformat and $display uses this code. 2009-01-06 20:23:17 -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 Shadow reduction part 5 2008-12-18 16:42:55 -08:00
sys_lxt2.c Shadow reduction part 5 2008-12-18 16:42:55 -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 Shadow reduction part 5 2008-12-18 16:42:55 -08:00
sys_random_mti.c Remove most of the lingering CVS droppings. 2008-12-05 21:48:28 -08:00
sys_readmem.c Shadow reduction part 5 2008-12-18 16:42:55 -08:00
sys_readmem_lex.h Remove most of the lingering CVS droppings. 2008-12-05 21:48:28 -08:00
sys_readmem_lex.lex Remove most of the lingering CVS droppings. 2008-12-05 21:48:28 -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 Shadow reduction part 5 2008-12-18 16:42:55 -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