Commit Graph

8768 Commits

Author SHA1 Message Date
Jonathan Schröter 33568f33fa fix: Addressed instance issues 2025-12-03 10:10:44 +01:00
Jonathan Schröter 8d597ab62c feat: Extendend .json content 2025-11-27 11:30:13 +01:00
Jonathan Schröter fab0b69f0b style: Changed naming from instrumentation to hook-insertion 2025-11-27 11:26:59 +01:00
github action d43e918faf Apply 'make format' 2025-11-25 10:47:32 +00:00
Jonathan Schröter b8d1654fb8 fix: Enable visting of different assign types 2025-11-25 11:46:10 +01:00
Jonathan Schröter 7a015569c1 fix: fixed failing regression tests and addressed and adapted to updates from upstream 2025-11-25 11:45:05 +01:00
Jonathan Schröter 2a9c91a06b style: Brackets in V3Instrument.cpp 2025-11-19 08:55:26 +01:00
github action 3fcc3a9b42 Apply 'make format' 2025-11-19 08:55:26 +01:00
Jonathan Schröter 37ad722bb8 test: Added test for failing instrumentation 2025-11-19 08:55:25 +01:00
Jonathan Schröter f50d72eb9e test: Updated regression test for instrumentation 2025-11-19 08:55:25 +01:00
Jonathan Schröter 0091374c16 fix: Enabled DPI-Calls when design is stale/constant 2025-11-19 08:55:25 +01:00
Jonathan Schröter 209e3548bf fix: Changed instrumentation directive from model to callback 2025-11-19 08:55:25 +01:00
github action dccd630fc8 Apply 'make format' 2025-11-19 08:55:25 +01:00
Jonathan Schröter 5624b707e1 Apply 'make format' 2025-11-19 08:55:25 +01:00
github action 121f675ed5 Apply 'make format' 2025-11-19 08:55:25 +01:00
Jonathan Schröter 3500b6d215 test: Add regression tests for instrumentation 2025-11-19 08:55:25 +01:00
Jonathan Schröter faf67f45f6 feat: Add V3DumpSignals-Pass 2025-11-19 08:55:25 +01:00
Jonathan Schröter a7bea996bf feat: Add V3Instrumentation-Pass 2025-11-19 08:55:25 +01:00
Christian Hecken edb84f3776
Tests: Add --gdbsim to iverilog with use_libvpi (#6701)
Co-authored-by: Christian Hecken <christian.hecken@ibm.com>
2025-11-17 07:29:45 -05:00
Christian Hecken 5ef235b5ef
Tests: Add v_flags, XRUN define to xrun run flags (#6703) 2025-11-17 05:50:02 -05:00
Wilson Snyder e61012e30d Improve class extends error format 2025-11-16 21:00:13 -05:00
Wilson Snyder 84173048d2 Internals: Fix hasing node informational on AstCaseItem 2025-11-16 18:37:58 -05:00
Wilson Snyder eb6ce0799c Tests (#6698 testcase only) 2025-11-16 17:16:21 -05:00
Wilson Snyder 382d90e03e Makefile: Hide deplist echo 2025-11-16 17:16:14 -05:00
Wilson Snyder 19d5adcbdf Commentary: Changes update 2025-11-16 17:13:49 -05:00
Wilson Snyder 03e5c3b2ff Tests: Reindent some tests. No functional change. 2025-11-16 17:13:01 -05:00
github action 59bc4cf66b Apply 'make format' 2025-11-16 03:53:48 +00:00
Jean-Nicolas Strauss 6454a8802e
Fix stream operator widening (#6693) (#6697) 2025-11-15 22:52:52 -05:00
Yilou Wang 048c97f0ae
Support `std::randomize(){...}` (#4706) (#6573) 2025-11-14 14:32:01 -05:00
Ryszard Rozak f32095dd17
Support constexpr cycle delay in sequences (#6691) 2025-11-14 13:48:46 +01:00
Pawel Kojma 0dce8feead
Support parsing of dotted bins_expression (#6683) 2025-11-14 06:41:46 -05:00
Geza Lore 43975bcbdd
Optimize $past delayed variable reuse (#6689)
As the TODO in the original code suggested, we can re-use delayed values
of expressions if they appear in multiple $past calls.
2025-11-13 17:04:50 +00:00
Geza Lore a1056c6ae9
Add `-param`/`-port` options to `public_flat*` control directives (#6685) 2025-11-13 06:59:02 -05:00
Wilson Snyder 5c0ad5bd1f
Internals: cppcheck fixes. No functional change. (#6687) 2025-11-12 18:54:22 -05:00
Wilson Snyder 67094f6a88 Tests: Disable t_udp_sequential until fix (#6056 workaround) 2025-11-12 18:52:17 -05:00
Wilson Snyder 7db8bc84aa Tests: Add more 'config' unsupported tests (#5891 partial) 2025-11-12 18:37:09 -05:00
Geza Lore 158f51fb54
Optimize functions reading external parameters as pure (#6684) 2025-11-12 08:27:42 -05:00
Geza Lore 0dc9f779f8
Add `-fno-inline-funcs-eager` option to disable excessive inlining (#6682) 2025-11-11 21:46:19 +00:00
Geza Lore c5f8656aa0
Fix bounds checking in non-inlined function (#6677) 2025-11-11 06:47:49 -05:00
Wilson Snyder eb40c24b78 Tests: Rename tests to proper categories 2025-11-10 20:56:38 -05:00
Todd Strader 34f63396cb
Fix `free` collision (#6675) 2025-11-10 16:44:41 -05:00
Geza Lore 8e35c81399
Fix --expand-limit not respected for expressions (#6670) 2025-11-10 17:18:33 +00:00
Pawel Kojma 0062a422a4
Support `#1step` delay as statement (#6671) 2025-11-10 09:39:33 -05:00
Artur Bieniek 19bbeb24a6
Fix large array initialization (#6669) 2025-11-10 09:19:08 -05:00
Geza Lore 6e05361318 Tests: Add case for `bind` into parametrised hier_block
Using `bind` into a parametrized hier_block used to be broken due to name
mangling, but was 'unintentionally' fixed by
916a89761e. Adding test to avoid
regressions.
2025-11-10 12:32:10 +00:00
Wilson Snyder fbb195e054 Tests: Add UVM 2020-3.1 hello world 2025-11-09 15:02:22 -05:00
Wilson Snyder c87a3e92fc Commentary: Changes update 2025-11-09 14:50:31 -05:00
Geza Lore c7ff73a083
Add --unroll-limit option (#6654) (#6668) 2025-11-09 12:46:25 -05:00
Geza Lore f4086496cb
Internals: Refactor file handling in EmitC* (#6667)
Combined the 3 various APIs used in EmitC* passes to handle file
opening/splitting into a single one. This removes a lot of copy paste
and makes everything consistent.

All C++ file handling goes through `EmitCBaseVisitor` using the
`openNewOutputHeaderFile`, `openNewOutputSourceFile` and
`closOutputFile` methods.

To emit a new kind of file, always derive a new class from
`EmitCBaseVisitor`, and use the above APIs, they will take care of
everything else in a consistent matter.

Subsequently also removed V3OutSCFile, and instead included
verilated_sc.h (which included the systemc header itself) in the two
files that need it (the primary model header, and the root module
header).

Functional changes:
- The PCH header did not use to have a corresponding AstCFile. Now it
  does, though this makes no difference in the output
- All 'slow' sources now have '__Slow' in the name automatically (the
  only one missing was for the ConstPool files)

Rest of the output is identical except for the header line now being
present in all generated C++ files.
2025-11-09 17:41:13 +00:00
Paul Swirhun aaafa6e8df
Fix local interface parameter hierarchical access (#6661) (#6666)
Co-authored-by: Paul Swirhun <paulswirhun@gmail.com>
2025-11-09 10:48:55 -05:00