Stephen Williams
c3d5b23ac4
Fix some Windows build issues.
2019-03-22 08:08:29 -07:00
Martin Whitaker
9369d6db57
Update README to say "or later" for build tool versions.
2019-03-16 12:40:08 +00:00
martinwhitaker
3b32288c6f
Merge pull request #232 from cdlscpmv/fix
...
Fix a typo in the man page
2019-03-16 12:32:00 +00:00
Konst Mayer
f95ae911d0
Fix a typo in the man page
2019-03-13 00:16:41 +07:00
Martin Whitaker
dc5429e5e7
Fix assertion failure on assignment to part of variable member (GitHub issue #226 )
...
For now, output a "sorry" message, as the compiler doesn't support this.
2019-01-26 17:36:19 +00:00
Martin Whitaker
2ff6af254b
Use LLONG_MIN instead of LONG_LONG_MIN.
...
GCC 8 no longer defines LONG_LONG_MIN. We already assume a C99 compliant
compiler in other places.
2019-01-26 16:47:28 +00:00
Martin Whitaker
e745304cc4
Fix for GitHub issue #224 - import * does not import enum members.
2019-01-15 19:58:37 +00:00
Martin Whitaker
7cd078e7ab
Restrict cast type to what's allowed by the IEEE standard.
2018-12-15 12:26:33 +00:00
Martin Whitaker
230f0bc13c
Fix GitHub issue #219 and #220 - incorrect results from SV size cast.
2018-12-15 11:11:35 +00:00
Cary R
172d7eb0a3
Fix space issues in a couple files
2018-11-13 21:57:46 -08:00
Tomasz Hemperek
5cb562be48
No clang for travis.
2018-11-03 22:43:16 +01:00
Tomasz Hemperek
5911fbf872
Merge remote-tracking branch 'upstream/master'
2018-11-03 22:22:41 +01:00
Tomasz Hemperek
cbe9bba291
Add windows build to travis-ci
2018-11-03 21:35:13 +01:00
Tomasz Hemperek
a96609d482
Update .travis.yml
2018-11-03 08:15:22 +01:00
Tomasz Hemperek
8b67c9ff62
Update .travis.yml
2018-11-03 08:07:11 +01:00
Martin Whitaker
3612076943
Undo redefinition of unique_ptr at end of header files.
...
It seems that clang both defines __cplusplus < 201103L and provides
unique_ptr (GitHub issue #215 ).
2018-11-02 21:22:10 +00:00
Martin Whitaker
6887c31d8c
Refactor vpi module path code.
...
Also restore the original behaviour of the '-M -' option, although it's
probably not needed now we add the default path last.
2018-10-29 20:33:52 +00:00
Martin Whitaker
dd33da0d5b
Merge branch 'alexforencich-master'
2018-10-29 19:37:33 +00:00
Alex Forencich
a1ad6d4b51
Support IVERILOG_VPI_MODULE_PATH environment variable
2018-10-28 12:44:09 -07:00
Alex Forencich
a638d1eed0
Check for too many paths specified and fix path priority so paths specified on command line supersede built-in paths
2018-10-28 12:43:40 -07:00
Cary R
844fa056f7
Update fstapi files to the latest from GTKWave
2018-10-12 21:30:20 -07:00
Martin Whitaker
fdf353af29
Don't use MinGW strtod workaround when building for MinGW-w64.
...
The host triplet for MinGW-w64 has changed to more closely match that
for MinGW, so we need to update the pattern in the test.
2018-10-07 23:49:19 +01:00
Martin Whitaker
2f142c4858
Revert "Fix x86_64-w64-mingw32 build: undefined ___strtod"
...
This reverts commit bef04508f2 .
2018-10-07 23:47:26 +01:00
Martin Whitaker
9d0d1938dc
Fix bug in output of null character with %c format.
2018-10-07 18:59:53 +01:00
Martin Whitaker
5aae9ea770
Fix bit width when converting real value to binary/hex string in VPI.
2018-10-07 17:17:33 +01:00
Martin Whitaker
a03995b4da
Fix another implicit fallthrough warning.
2018-10-07 11:23:40 +01:00
Martin Whitaker
5cd0ba08b1
Fix alloc size warning when building with recent GCC.
2018-10-06 23:25:13 +01:00
Martin Whitaker
6415d84ed5
Fix invalid cast of TF sizetf callback.
2018-10-06 22:56:04 +01:00
Martin Whitaker
3e25b04685
SIGHUP is not available in Windows.
2018-10-06 21:07:13 +01:00
Martin Whitaker
4ea18196c8
Fix deprecated dynamic exception specification warnings.
2018-10-06 21:02:41 +01:00
Martin Whitaker
e71a76a1e2
Fix signed/unsigned comparison warning.
2018-10-06 20:40:54 +01:00
Martin Whitaker
0d20c50de4
Fix typo in last commit.
2018-10-06 20:22:12 +01:00
Martin Whitaker
f1608e163f
Fix implicit fallthrough warnings when building with recent GCC.
2018-10-06 20:15:42 +01:00
Cary R
27b5c2cdc8
Merge branch 'master' of github.com:steveicarus/iverilog
2018-10-06 09:27:10 -07:00
Cary R
7fa6eaef0a
Update to latest GTKWAve files
2018-10-06 09:26:39 -07:00
Martin Whitaker
78317a2799
Fix auto_ptr deprecated warnings when building with recent GCC.
2018-10-06 17:15:31 +01:00
Martin Whitaker
542fe2cf77
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.
2018-10-06 11:48:19 +01:00
Martin Whitaker
603ff303f5
Cleanly terminate vvp on SIGHUP or SIGTERM (GitHub issue #203 ).
2018-09-29 23:25:04 +01:00
Martin Whitaker
b066a5815e
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.
2018-09-29 21:22:17 +01:00
Martin Whitaker
0d494da702
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'
2018-09-29 12:04:16 +01:00
Martin Whitaker
8df2f0cadf
Fix broken links to SourceForge bug/patch trackers (GitHub issue #207 ).
...
Also add link to GitHub issues, as a lot of users report bugs there.
2018-09-28 10:03:06 +01:00
Cary R
3f24557e90
Add some more always_ff synth checks
2018-09-23 22:32:22 -07:00
Cary R
e6f957b0b6
Add support for a constant $countbits() function
2018-09-03 15:58:57 -07:00
Cary R
1da9b2cea0
Add support for constant $countones, $isunknown, $onehot, $onehot0
2018-09-03 08:32:41 -07:00
Cary R
2b030ce27a
Update the bit vector table name
2018-09-03 08:32:35 -07:00
Cary R
b35f9e13c7
Move the bit vector functions to the SV table
2018-09-03 08:32:28 -07:00
Cary R
40558160e7
Add support for bit vector system function in vpi
2018-08-30 22:31:15 -07:00
Cary R
ff8ccc0b3e
Update fstapi.c to the latest version
2018-07-16 09:03:38 -07:00
Martin Whitaker
11c826216a
Fix for GitHub issue #198 - support octal display for thread variables.
2018-06-12 22:58:07 +01:00
Martin Whitaker
7ad5b59a6f
Fix for GitHub issue #199 : handle signed division overflow.
...
When performing a signed division or modulus operation using native
arithmetic, trap the special case that the numerator is the minimum
integer value and the denominator is -1, as this gives an undefined
result in C++.
2018-06-12 21:59:58 +01:00