Cary R
2b45f4c399
Python test cleanup
2025-12-08 20:57:56 -08:00
Cary R
1c6f0e768a
Update vvp_reg.py to support strict, force-sv and with-valgrind
2025-11-22 13:31:27 -08:00
Martin Whitaker
f5708a0322
Add regression test for issue #1286 .
2025-11-11 22:00:06 +00:00
Cary R
87d9d0ac74
Cleanup python test script and add support for a suffix
2025-11-11 01:21:46 -08:00
Martin Whitaker
3d4f1eb94b
Improved run_program() in Perl regression test scripts.
...
This version works with the native Windows (mingw64 and clang64)
versions of Perl in MSYS2.
Note that warnings are disabled in the Environment.pm module because
Perl fails to notice that OLDOUT and OLDERR are used when restoring
the STDOUT and STDERR file handles.
2025-10-21 21:47:45 +01:00
Martin Whitaker
935910c3c9
Modify VPI test suite to make PLI 1 tests optional.
2025-10-18 20:05:58 +01:00
Martin Whitaker
10770c9129
Optimise Perl regression test scripts.
...
When redirection operators are included in a command string passed to
the system() subroutine, it spawns an intermediate shell to handle the
redirection. This is particularly inefficient when running the tests
in MSYS2. Creating our own version of system() based on fork() and
exec() allows us to handle the redirection directly.
2025-10-17 20:58:05 +01:00
Martin Whitaker
a4c90fb5f0
Add regression test for issue #1273 .
2025-10-07 21:54:11 +01:00
Martin Whitaker
1fdeb7b982
Add regression tests for $fmonitor tasks.
...
Also add a test for multiple $monitor task calls and $monitoron and
$monitoroff.
2025-10-05 12:37:30 +01:00
Wilson Snyder
d400fa21bd
Update pr1008.v to $finish
2025-09-01 13:41:25 -04:00
Cary R
b979441de2
Improve error messages when bad code is passed to the parser
2025-07-21 14:46:56 -07:00
Cary R
c7d37bcc21
Error when trying to elaborate a field of a simple variable
2025-07-16 23:37:14 -07:00
Cary R
eceb48e5d6
Add better error messages for output port elaboration issues
2025-07-16 22:37:49 -07:00
Cary R
30f1de9062
Elaborate input port default value expressions in the correct scope
2025-07-09 09:19:42 -07:00
Cary R
cfb8ec17d2
Remove space issues
2025-07-09 07:41:16 -07:00
Martin Whitaker
60e4023e6f
Fix log output ordering for vpi_control test when running in Windows.
...
MSYS2 buffers stderr, so we need to flush the buffers to ensure the
log file matches the gold file.
2025-07-08 22:24:46 +01:00
Martin Whitaker
a883f2afe6
Add regression test for vpi_control() return value (issue #1208 ).
2025-07-08 21:52:13 +01:00
Martin Whitaker
fd7029a299
Add regression tests for issue #1258 .
2025-07-05 22:52:52 +01:00
Martin Whitaker
aec91c7754
Add regression tests for issue #1256 .
2025-07-05 18:21:32 +01:00
Cary R
f82c6c7b3a
Add missing gold and fix VHDL inout test
2025-07-01 00:04:09 -07:00
Cary R
66d57628bf
Check what can drive a variable in SystemVerilog
2025-06-30 23:48:26 -07:00
Cary R
46a5078a68
When optimizing the size of a case keep the sign of the condition
2025-06-25 00:11:22 -07:00
Cary R
6426afc8d0
Avoid overflow in genvar to make duplicate
2025-06-21 18:27:54 -07:00
Cary R
a2ffbc307a
Validate the generate "loop" expressions
2025-06-21 16:58:30 -07:00
Cary R
adcb9f4e0d
Add support for passing a real input to logic, mos and if gates
2025-06-21 10:04:12 -07:00
Martin Whitaker
b7f9be9370
Add regression test for issue #1242 .
2025-05-11 11:39:29 +01:00
Andreas Lööw
4138fcf6c4
typo in regress-vvp.list
2025-03-31 08:44:22 +01:00
Andreas Lööw
7e95dfff5a
remove trailing commas
2025-03-30 13:51:44 +01:00
Andreas Lööw
bf45073359
typo: nornal -> normal
2025-03-30 13:51:20 +01:00
Cary R
0ca26c95d8
Cygwin also does not have docopt by default
2025-02-13 00:03:09 -08:00
Lars-Peter Clausen
eb90bcf313
Add regression tests for invalid casts to real
...
Check that invalid casts to real are reported as an error.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2025-01-12 20:34:31 -08:00
Lars-Peter Clausen
e2008c9c0e
Add regression tests for nested lvalue object properties
...
Check that nested object properties of different types are supported as
lvalues.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2025-01-05 16:55:16 -08:00
Lars-Peter Clausen
9f8a8959a7
Add regression tests for assignment operators on queue and darray elements
...
Check that assignment operators work as expected on queue and dynamic array
elements.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2025-01-05 15:55:34 -08:00
Lars-Peter Clausen
7c970e91b9
Add regression tests for assignment operators on class properties
...
Check that assignment operators are supported for class properties.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2025-01-05 15:55:20 -08:00
Lars-Peter Clausen
c22b375c86
Add regression test for logic class property default value
...
Check that class logic class properties get initialized to 'x.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2025-01-05 09:46:07 -08:00
Martin Whitaker
8cd7bb3584
Update gold files to match typo fix in previous commit.
2025-01-01 11:22:00 +00:00
Martin Whitaker
f3abd94e9b
Add regression test for issue #1184 .
...
This checks the temporary fix of outputing a suitable "sorry" message.
2024-12-31 17:15:19 +00:00
Martin Whitaker
0119f0d1e8
Add regression test for vvp quiet flag.
2024-12-31 15:05:38 +00:00
Cary R
03835c9d50
Report each line that has a var decl in an unnamed block
2024-12-28 20:51:30 -08:00
Cary R
788a94b310
Nested generate regions are illegal
2024-12-28 18:46:37 -08:00
Cary R
8edf14ae68
Check for primitive port mismatches and other error cleanup
2024-12-08 22:21:51 -08:00
Martin Whitaker
62727e8b2e
Add regression tests for packed/unpacked array parameter declarations.
...
These are currently unsupported, so should result in a compiler error.
2024-11-15 21:10:51 +00:00
Martin Whitaker
6c8ed62a5a
Add regression test for issue #1181 .
2024-11-10 19:34:36 +00:00
Cary R
96d28250bd
br_gh1178b uses inout which cannot be translated currently
2024-11-09 17:43:32 -08:00
Cary R
7a4e17661a
Fix gold file for br_gh1178a (repeat concatenation)
2024-11-09 17:22:40 -08:00
Cary R
00fcd58fab
A repeat concatenation cannot be used as a net l-value
2024-11-09 17:21:44 -08:00
Dag Lem
ba7da9d5a5
Guard against overflow / wrap around of internal part-select bit address
...
Internally, the maximum address space of a vector is 31 bits + a sign bit
to signal invalid addresses (out of bounds or has one or more x or z bits).
This commit ensures that unsigned part-select bit addresses which would
otherwise overflow and wrap around within this address space are correctly
handled as out of bounds.
2024-09-16 23:50:24 +02:00
Martin Whitaker
25a84d5cfc
Update vlog95 test list for tests containing incomplete for loops.
...
The for loop initialisation statement, termination condition, and step
statement were only made optional in IEEE 1800-2012. Commit 0695c1fe
enforced this. So we need to compile with -g2012. The vlog95 code
generator doesn't currently translate this, so the tests will fail
when compiling the translated code.
2024-09-07 18:08:44 +01:00
Martin Whitaker
2ab57a2b09
Add regression test for return type of $bits (issue #1163 ).
2024-09-07 17:56:15 +01:00
martinwhitaker
34ed6f6f97
Merge pull request #1168 from steveicarus/fix-vvp-cg-array-word-aliasing
...
Fix vvp cg array word aliasing
2024-09-07 17:04:57 +01:00