Commit Graph

7239 Commits

Author SHA1 Message Date
Diego Roux
f57687f3ab
vpi_get_value_array: added out of bonds check.
Signed-off-by: Diego Roux <diegoroux04@protonmail.com>
2024-10-20 17:16:58 -06:00
Diego Roux
c800c7294e
vpi_get_value_array: fix index and added WDATA to vpiRawFourStateVal.
Fixed index to behave as verilog indices.

Signed-off-by: Diego Roux <diegoroux04@protonmail.com>
2024-10-20 17:06:42 -06:00
Diego Roux
0c46e670cc
vpi_get_value_array: implement vpiRawFourStateVal.
TODO: get WDATA to work.

Signed-off-by: Diego Roux <diegoroux04@protonmail.com>
2024-10-17 10:22:18 -06:00
Diego Roux
f7752b39b8
vpi_get_value_array: adhere more to the standard.
vpiLongIntVal and vpiShortIntVal are stated to also support
Byte and Short values.

Signed-off-by: Diego Roux <diegoroux04@protonmail.com>
2024-10-12 23:17:43 -06:00
Diego Roux
62fcacd8af
vpi_get_value_array: add WDATA to vpiVectorVal.
Signed-off-by: Diego Roux <diegoroux04@protonmail.com>
2024-10-09 09:52:33 -06:00
Diego Roux
54097fd43f
vpi_get_value_array: add vpiVectorVal.
Changed error messages to better match function name.
Expanded out_ptr size.

Signed-off-by: Diego Roux <diegoroux04@protonmail.com>
2024-10-09 09:25:54 -06:00
Diego Roux
10d572b55f
vpi_get_value_array: change use of malloc to thread_local mem.
Signed-off-by: Diego Roux <diegoroux04@protonmail.com>
2024-10-06 23:01:18 -06:00
Diego Roux
74fe41143b
vpi_get_value_array: fix vpiRawTwoStateVal's WDATA return.
WDATA only worked if the bit length was a multiple of 32.

Signed-off-by: Diego Roux <diegoroux04@protonmail.com>
2024-09-30 14:29:00 -06:00
Diego Roux
a062ccac6a
vpi_get_value_array: fix vpiRealVal and add WDATA in vpiRawTwoStateVal.
Signed-off-by: Diego Roux <diegoroux04@protonmail.com>
2024-09-30 09:47:39 -06:00
Jitesh
d9a93d9bf1
added vpRealVal support 2024-09-30 00:02:46 +05:30
Jitesh
dcf92c82ec
correction to vpiTimeVal check in vl_check_array_format 2024-09-28 16:17:51 +05:30
Diego Roux
7c91649c88
vpi_get_value_array: fixes and cleanup.
Moves everything into the new types, fixes previous commit unmatched
parameter amount.

Signed-off-by: Diego Roux <diegoroux04@protonmail.com>
2024-09-26 12:39:46 -06:00
Jitesh
8aceb0705a
added vl_check_array_format 2024-09-26 22:54:44 +05:30
Diego Roux
840446c553
vpi_get_value_array: added vpiRawTwoStateVal support.
Signed-off-by: Diego Roux <diegoroux04@protonmail.com>
2024-09-26 01:18:26 -06:00
Diego Roux
e980430ba0
vpi_get_value_array: starting codebase.
Minimal code, includes type and class checks
and replies to vpiIntVal array request.

Signed-off-by: Diego Roux <diegoroux04@protonmail.com>
2024-09-26 00:55:44 -06:00
Arkadiusz Kozdra
140eb0a6e5 Re-sync parser on endclass
Signed-off-by: Arkadiusz Kozdra <akozdra@antmicro.com>
2024-09-11 15:57:45 +02:00
Arkadiusz Kozdra
6b8f253ecd Re-sync parser in constraints and cross coverpoints
Signed-off-by: Arkadiusz Kozdra <akozdra@antmicro.com>
2024-09-11 15:57:45 +02:00
Arkadiusz Kozdra
ac29393ec9 Do not parse covergroup identifiers as types
Signed-off-by: Arkadiusz Kozdra <akozdra@antmicro.com>
2024-09-11 15:57:45 +02:00
Wilson Snyder
22d6bb8180 Fix display with multiple string formats (#5311). 2024-09-11 08:41:11 -04:00
Wilson Snyder
f4e4602dcb Tests: Fix driver handling of interrupts 2024-09-10 20:29:26 -04:00
Wilson Snyder
521c5c2f75 Fix extra events in traces (#5405). 2024-09-10 19:14:52 -04:00
Wilson Snyder
3525484730 Commentary 2024-09-10 19:04:55 -04:00
Arkadiusz Kozdra
4a58997604
Support basic constrained queue randomization (#5413)
Signed-off-by: Arkadiusz Kozdra <akozdra@antmicro.com>
2024-09-10 09:33:14 -04:00
Arkadiusz Kozdra
ef259f63ca
Fix randomize treated as std::randomize in classes (#5436) 2024-09-10 09:10:36 -04:00
Arkadiusz Kozdra
2f690c0530
Fix foreach colliding index names (#5444)
Signed-off-by: Arkadiusz Kozdra <akozdra@antmicro.com>
2024-09-10 07:17:21 -04:00
Wilson Snyder
283a5edbdb Tests: Make GCOV_PREFIX path directories 2024-09-09 21:47:47 -04:00
Wilson Snyder
e566b5a4f5 Change .vlt config files to be read before .v files (#5185). 2024-09-09 20:18:54 -04:00
Wilson Snyder
4e4fdd3b66 Fix multidimensional function return value selects (#5382). 2024-09-09 19:56:09 -04:00
Wilson Snyder
434896d50c Tests: test class IGNOREDRETURN. 2024-09-09 19:48:15 -04:00
Andrew Nolte
1e7611edea
Change to use maximum for cover point aggregation (#5402) 2024-09-09 14:20:18 -04:00
Geza Lore
2890126110
Remove out of range Sel in V3Unknown (#5443)
Fixes #5393
2024-09-09 14:09:29 +01:00
Wilson Snyder
07bb8c701d
Convert test driver to Python (#5427) 2024-09-08 13:00:03 -04:00
Wilson Snyder
55ae48ac13 Commentary 2024-09-08 11:11:20 -04:00
Wilson Snyder
c83ee391bb Fix associative array next/prev/first/last mis-propagating constants (#5435). 2024-09-07 15:25:35 -04:00
Wilson Snyder
d01b917062 Commentary: Changes update 2024-09-07 15:24:06 -04:00
Wilson Snyder
b21117091b CI: Add Ubuntu 24.04 GCC; combine reloc with GCC-10 runs 2024-09-07 13:43:47 -04:00
Wilson Snyder
3a73d83741 Tests: Fix clang 18 warning 2024-09-07 10:20:59 -04:00
Wilson Snyder
9643232d36 CI: Add Ubuntu 24.04 script (not enabled yet) 2024-09-07 10:12:35 -04:00
Wilson Snyder
7b41d2046d Fix GTKWave clang 18 warning 2024-09-07 10:12:09 -04:00
Wilson Snyder
7eb1b6c32b Tests: Fix GCC 13.2.0 issues. No functional change. 2024-09-06 22:04:49 -04:00
Andrew Nolte
083fb7e9c2
Add partial coverage symbol and branch data in lcov info files (#5388) 2024-09-06 18:15:18 -04:00
Krzysztof Bieganski
afb8428db4
Support IEEE-compliant intra-assign delays (#3711) (#5441) 2024-09-06 18:13:52 -04:00
Bartłomiej Chmiel
d6923c8571
Improve performance of V3VariableOrder with parallelization (#5406) 2024-09-06 08:04:26 -04:00
Wilson Snyder
1c38744fd1 Tests: Fix requiring core dump 2024-09-04 20:10:05 -04:00
Krzysztof Bieganski
51691dfde5 Fix driving clocking block in Reactive
Signed-off-by: Krzysztof Bieganski <kbieganski@antmicro.com>
2024-09-04 07:57:51 -04:00
Arkadiusz Kozdra
409efa1249 Internals: Factor out creating clocking event. No functional change.
Signed-off-by: Arkadiusz Kozdra <akozdra@antmicro.com>
2024-09-04 07:57:51 -04:00
Wilson Snyder
e4ff0909dc Tests: Misc test cleanups from Python branch. 2024-09-03 21:42:06 -04:00
Wilson Snyder
d3670b6890 Test: Remove old test 2024-09-03 21:32:09 -04:00
Wilson Snyder
7a74ddc1af Internals: Fix some getter/setter ordering. No functional change intended. 2024-09-02 18:48:49 -04:00
Wilson Snyder
551862a55e Tests: Move some misplaced files. No functional change. 2024-09-02 15:50:40 -04:00