Cary R
ab0c4bb8c7
Update to latest GTKWave files
2019-09-29 10:00:06 -07:00
Cary R
6ebe707091
Update files from GTKWave
2019-05-14 22:35:13 -07:00
Cary R
27cac593e3
Update fstapi.c to the latest from GTKWave
2019-03-26 19:59:29 -07:00
Cary R
95444b474d
Update fstapi files to the latest from GTKWave
2018-10-12 21:30:12 -07:00
Martin Whitaker
10448bf94b
Fix bug in output of null character with %c format.
...
(cherry picked from commit 9d0d1938dc )
2018-10-08 22:11:25 +01:00
Martin Whitaker
de63c0cedb
Fix implicit fallthrough warnings when building with recent GCC.
...
(cherry picked from commit f1608e163f )
2018-10-08 22:09:50 +01:00
Cary R
f2a711b8f1
Update to latest GTKWAve files
2018-10-06 09:26:49 -07:00
Martin Whitaker
dc6fc7ee77
Enable checks for VPI const-correctness.
...
Note we only want these enabled when building the compiler and runtime
binaries. If we included the ICARUS_VPI_CONST definition in the global
CPP_FLAGS, that would propagate to the flags used by iverilog-vpi, so
would affect compilation of user VPI code.
(cherry picked from commit 542fe2cf77 )
2018-10-06 11:56:35 +01:00
Martin Whitaker
16c18eda2e
Further fixes for const-correctness.
...
- allow ICARUS_VPI_CONST to be pre-defined by the user
- use it for sizetf as well as for compiletf and calltf
- fix remaining warnings when it is defined as 'const'
(cherry picked from commit 0d494da702 )
2018-10-06 11:55:03 +01:00
Martin Whitaker
5474f9d5ac
Allow %c format to output null characters (GitHub issue #209 )
...
Currently $display et al. output nothing when the expression
corresponding to a %c format specification has the value 0. As
Verilog provides no other way to write raw bytes to a file, we
should allow 0 values to be written. Other simulators allow this.
(cherry picked from commit b066a5815e )
2018-09-29 21:31:18 +01:00
Cary R
ab6ae797b3
Update fstapi.c to the latest version
2018-07-16 09:03:22 -07:00
Cary R
480fb0b418
Update tp the latest files from GTKWave
2017-12-13 21:57:05 -08:00
Cary R
94861872e5
Fix a couple memory leaks in $sdf_annotate()
2017-11-16 19:42:16 -08:00
Cary R
cc3e9d791a
Update flex destroy to work for version 2.6 and greater
2017-11-16 19:17:50 -08:00
Martin Whitaker
dec9a8b527
Fix $printtimescale to support 10s and 100s values.
...
(cherry picked from commit e54d19e2d2 )
2017-11-05 22:31:33 +00:00
Cary R
1b0843c94c
Update to latest files from GTKWave
2017-10-22 19:40:43 -07:00
Cary R
561638a31f
Allocate the correct amount of memory when escaping a string
2017-01-08 20:46:29 -08:00
Cary R
3b705d95a6
Update fstapi.c to latest from GTKWave
2016-08-14 12:47:15 -07:00
Martin Whitaker
9b55a3d67f
Support timescales in design units that aren't inside a module.
...
SystemVerilog allows tasks, functions, and classes to be defined at the
root level or inside packages, so we can't rely on an enclosing module
being present to provide the timescale.
(cherry picked from commit 7bed181f68 )
2016-07-23 00:15:15 +01:00
Larry Doolittle
aa2260f4fa
Capitalize Verilog in a few places
...
(cherry picked from commit 89edf62206 )
2016-04-02 22:42:26 +01:00
Cary R
d9be5318f9
Fix a cppcheck warning
2016-03-24 20:24:03 -07:00
Cary R
d7b919f6d0
Update cppcheck suppression file
2015-12-19 11:58:38 -08:00
Cary R
9b34a96cb9
V10: Fix some compile warnings
2015-12-19 11:15:32 -08:00
Cary R
818379b9bc
GTKWave (fstapi.c) needs realpath() so check for it
2015-12-19 09:11:56 -08:00
Cary R
a682e13d82
Update LZ4 files to latest from GTKWave
2015-10-02 10:32:45 -07:00
Cary R
643e0a984e
Fix some cppcheck warnings
2015-10-02 09:44:02 -07:00
Larry Doolittle
cb73accd84
Spelling fixes
2015-08-17 11:34:58 -07:00
Frederick C. Kurz
5e931b7e89
Changes to vpi/v2009_array.c
...
"Microsoft Visual Studio Express 2015 RC Web" cannot have a variable for the size when declaring an array, it won't compile.
2015-07-22 10:02:33 -07:00
Frederick C. Kurz
11d7cbd3e2
Changes to vpi/sys_fileio.c
...
Changed for "Microsoft Visual Studio Express 2015 RC Web" so running vvp on pr2800985a.v won't crash.
2015-07-22 09:53:42 -07:00
Frederick C. Kurz
7aff1adf99
Changes to vpi/sys_display.c
...
First and second areas were changed for "Microsoft Visual Studio Express 2015 RC Web" so that gold files would match. For the third area of change, "Microsoft Visual Studio Express 2015 RC Web" wanted to print 6 zeros after the decimals for the values of 0.0 and -0.0, and then the gold files wouldn't match.
2015-07-22 09:48:01 -07:00
Cary R
9635f031a1
Correctly display events when dumping using the FST format
...
This patch is from Tony Bybell and fixes a segmentation fault when dumping
an event to a FST file.
2015-07-22 00:30:13 -07:00
Maciej Suminski
7597270939
vhdlpp: Fixed $ivlh_rising/falling_edge().
...
Conditions to detect rising/falling edges were incorrect.
VHDL standard specifies it has to detect the current value,
rather than compare against the previous one.
2015-06-24 23:53:33 +02:00
Larry Doolittle
b23faff27c
Just a few more spelling fixes
...
Includes some user-visible messages
2015-06-17 08:09:34 -07:00
Stephen Williams
9ac9f1c9f2
Merge branch 'master' of github.com:steveicarus/iverilog
2015-06-04 15:11:29 -07:00
Larry Doolittle
2739f83702
Spelling fixes in C and C++ comments
2015-06-04 15:00:29 -07:00
Cary R
7af3280215
Update cppcheck suppression file in VPI
2015-06-04 09:50:08 -07:00
Stephen Williams
e6c6f6c81e
Use fwrite to write $display output, instead of fprintf
...
This change makes it safe to write non-ascii characters, which
is an issue when the %u format is used.
2015-06-03 10:00:35 -07:00
Cary R
e530b4e642
Update fstapi.c to the latest from GTKWave
2015-05-08 16:36:12 -07:00
Martin Whitaker
45dc13e496
Use uintptr_t/intptr_t when casting between pointer and integer.
...
The code was using (unsigned) long, but a long is 32-bits in the
Windows 64-bit ABI.
2015-05-05 23:00:09 +01:00
Cary R
1cbc38100e
Update some cppcheck suppression files
2015-04-08 19:36:21 -07:00
Cary R
ba31252226
Update fstapi files to latest from GTKWave
2015-04-02 14:59:38 -07:00
Maciej Suminski
d406545331
vpi: $ivlh_{rising,falling}_edge functions.
2015-03-06 17:58:04 +01:00
Cary R
24be13d825
Add support for SV strings to the scanf routines
2015-03-03 17:13:16 -08:00
Cary R
8e0ae733ca
Add support for a SV string to $swrite and $sformat
2015-02-28 11:46:58 -08:00
Cary R
ae629f8c41
Add ability to put a string value to a SV string (from plusargs)
2015-02-25 19:20:50 -08:00
Larry Doolittle
3c38b2972d
Add -Wstrict-prototypes to CFLAGS
...
... and patch vpi/sys_lxt.c so no new warnings are triggered.
2015-02-25 17:52:44 -08:00
Cary R
f1436fbe62
Update fstapi.h to latest from GTKWave
2015-02-25 17:40:18 -08:00
Maciej Suminski
a02ebc3114
$ivl_darray_method$[from/to]_vec works with constants.
2015-02-04 16:02:38 +01:00
Cary R
21c60b38e1
Fix space issues in the code.
2015-01-15 17:47:39 -08:00
Cary R
78c6b3cad2
More updates for sys_darray.c (fix 32-bit crash and optimize)
2015-01-15 17:44:13 -08:00