Artur Bieniek
cefcf836fd
Fix signal code reporting ( #6554 )
...
Signed-off-by: Artur Bieniek <abieniek@internships.antmicro.com>
2025-10-14 07:04:53 -04:00
Geza Lore
eb53bca6fd
Internals: Make AstAssignW a procedural statement ( #6280 ) ( #6556 )
...
Initial idea was to remodel AssignW as Assign under Alway. Trying that
uncovered some issues, the most difficult of them was that a delay
attached to a continuous assignment behaves differently from a delay
attached to a blocking assignment statement, so we need to keep the
knowledge of which flavour an assignment was until V3Timing.
So instead of removing AstAssignW, we always wrap it in an AstAlways,
with a special `keyword()` type. This makes it into a proper procedural
statement, which is almost equivalent to AstAssign, except for the case
when they contain a delay. We still gain the benefits of #6280 and can
simplify some code. Every AstNodeStmt should now be under an
AstNodeProcedure - which we should rename to AstProcess, or an
AstNodeFTask). As a result, V3Table can now handle AssignW for free.
Also uncovered and fixed a bug in handling intra-assignment delays if
a function is present on the RHS of an AssignW.
There is more work to be done towards #6280 , and potentially simplifying
AssignW handing, but this is the minimal change required to tick it off
the TODO list for #6280 .
2025-10-14 09:05:19 +01:00
Wilson Snyder
958d096e7f
Improve some error message formats
2025-10-13 20:30:47 -04:00
Wilson Snyder
9dfc050fb5
Fix '' with multiple format strings
2025-10-13 19:47:08 -04:00
Wilson Snyder
b99b3d7b9c
Tests: Reformat t_display
2025-10-13 19:44:57 -04:00
Artur Bieniek
16fdd0e93c
Fiix fault on operations on uninitialized strings ( #6520 )
...
Signed-off-by: Artur Bieniek <abieniek@internships.antmicro.com>
2025-10-13 07:29:23 -04:00
Wilson Snyder
01157d414b
Optimize constant string arguments before Emit, and cleanup V3EmitV
2025-10-12 20:09:03 -04:00
Wilson Snyder
eae1e5bdf2
Internals/Tests: Cleanup some missing dev coverage items
2025-10-11 20:58:03 -04:00
Wilson Snyder
71941cc673
Fix incorrect nested interface-class error ( #6549 ).
2025-10-11 19:07:37 -04:00
Wilson Snyder
fac4ed49af
Commentary: Changes update
2025-10-11 19:05:44 -04:00
Wilson Snyder
8785086bc8
Internals/Tests: Add `--debug-preproc-passthru` to cleanup some missing dev coverage items
2025-10-11 14:15:04 -04:00
Wilson Snyder
6e8bd3da19
Internals/Tests: Cleanup some missing dev coverage items
2025-10-11 12:54:55 -04:00
Wilson Snyder
078275034d
Internals: Parse randsequence but still unsupported ( #6131 partial)
2025-10-11 10:47:46 -04:00
Bartłomiej Chmiel
31e73f1645
Support simple cycle delay sequence expressions inside assertion properties ( #6508 )
...
Signed-off-by: Bartłomiej Chmiel <bchmiel@antmicro.com>
Co-authored-by: Wilson Snyder <wsnyder@wsnyder.org>
2025-10-10 16:16:15 +02:00
Igor Zaworski
2ac7cf51a9
Optimization of typedef params ( #6543 ) ( #6547 )
2025-10-10 10:05:47 -04:00
Wilson Snyder
4f1d8a1b15
Tests: Revert bad expect test
2025-10-10 07:59:55 -04:00
Artur Bieniek
a7f4ff7b06
Tests: Set higher timeout with ASAN ( #6546 )
...
Signed-off-by: Artur Bieniek <abieniek@internships.antmicro.com>
2025-10-10 06:37:53 -04:00
Wilson Snyder
3027f67b6f
Internals/Tests: Cleanup some missing dev coverage items
2025-10-09 22:33:04 -04:00
Wilson Snyder
802ba0c2bf
Internals: Add assert to dev coverage exclusion
2025-10-09 22:33:04 -04:00
Wilson Snyder
41b05cb1f8
Fix intent error on quoted strings ( #6544 ).
2025-10-09 21:24:27 -04:00
Wilson Snyder
3306ed146b
Internals: Use multi-character puts. No functional change intended.
2025-10-09 21:23:11 -04:00
Wilson Snyder
fb4951d2df
Commentary: Changes update
2025-10-09 21:22:24 -04:00
Geza Lore
9dc0cf5a7c
Internals: Use a V3Graph for the hierarchical plan ( #6545 )
...
I stared this because the emitted makefiles for hierarchical verilation
were non-deterministic (iterating unordered_map indexed by pointers).
Then I realized that the V3HierPlan is just a dependency graph encoded
in a slightly idiosyncratic way. We do have a data structure to use for
that instead.
With that the output should always be deterministic + have nicer dumps.
2025-10-09 21:41:23 +02:00
Geza Lore
e63d486422
Internals: Fix coverage exclusion
2025-10-09 16:58:06 +01:00
Igor Zaworski
1a91ab02cf
Fix passing typedef value as parameter ( #6543 )
2025-10-09 10:08:06 -04:00
Geza Lore
7b4ad29260
Testing: Ignore non-deterministic tests in `make test-snap`
...
Added tests with expectedly unstable output to ignore list for
`make test-snap` and `make test-diff`.
2025-10-09 10:34:31 +01:00
Geza Lore
e33b24fad2
Fix Dfg circular driver tracing with partial assignments
2025-10-09 09:31:19 +01:00
Geza Lore
49c51af841
Deprecate '--make cmake' option ( #6540 )
2025-10-08 09:40:17 -04:00
Artur Bieniek
222a3655ba
[ #84482 ] Fix inconsistent force assignment ( #6541 )
...
Signed-off-by: Artur Bieniek <abieniek@internships.antmicro.com>
2025-10-08 09:39:50 -04:00
Geza Lore
c8c53f9a18
Tests: Remove sanitize option and parameter
...
Fixes #6536
2025-10-08 08:51:42 +01:00
Geza Lore
838b8a2bec
Internals: Remove dead code, fix or sign off coverage
...
Remove/fix/signoff uncontroversial code coverage holes. Also added a
couple TODOs that should be investigated at some point
2025-10-08 08:24:06 +01:00
Wilson Snyder
1a8f9f0483
Improve `lint_off` to allow multiple messages and comments ( #2755 partial).
2025-10-07 22:49:42 -04:00
Wilson Snyder
2631af977a
Tests: Update t_lint_historical.v
2025-10-07 22:44:39 -04:00
Wilson Snyder
165622a9e9
Add NORETURN warning on functions without return values ( #6534 ).
2025-10-07 21:06:11 -04:00
Wilson Snyder
f979e459e8
Add error on ranges with tristate values ( #6534 ).
2025-10-07 20:36:50 -04:00
Wilson Snyder
9d6f127a4e
Internals: Fix extra spaces in emit. No functional change.
2025-10-07 19:22:16 -04:00
Wilson Snyder
bfe39ce5bc
Fix `--trace-max-width` and increase to 4096. ( #2385 ).
2025-10-07 18:50:31 -04:00
Geza Lore
832f41f0fe
Internals: Hide CC make rules ( #6537 )
...
All code is built as C++ via CXX, but we still have some references to
CC. Trying to make sure we don't add plain C later by hiding the C
compiler. (So it's always enough to override CXX=... in configure)
2025-10-07 17:37:42 +01:00
Geza Lore
97707bdc72
CI: Run coverage job on 'pr: dev-coverage' label in PRs ( #6527 )
2025-10-07 17:03:13 +01:00
Bartłomiej Chmiel
888169571b
Fix memory leak for unsupported `$past` ( #6535 )
...
Signed-off-by: Bartłomiej Chmiel <bchmiel@antmicro.com>
2025-10-07 09:56:11 -04:00
Geza Lore
d7fbea62f9
CI: Notify PRs when coverage report is available
2025-10-07 12:58:21 +01:00
dependabot[bot]
728f56e581
Bump actions/checkout from 4 to 5 ( #6533 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-07 09:12:28 +01:00
dependabot[bot]
1268a28e7b
Bump actions/upload-pages-artifact from 3 to 4 ( #6532 )
...
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases )
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-07 09:12:03 +01:00
Wilson Snyder
717667034b
Fix loop exits on $finish
2025-10-06 19:19:15 -04:00
Wilson Snyder
5229ce8660
Fix error on circular structure typedef
2025-10-06 18:45:56 -04:00
Bartłomiej Chmiel
9f5d22b21f
Fix parsing of `eventually[]` and pexpr memory leaks ( #6530 )
...
* Fix parsing of eventually[]
* Fix parser memory leaks for pexpr
Signed-off-by: Bartłomiej Chmiel <bchmiel@antmicro.com>
2025-10-06 15:42:40 +02:00
Geza Lore
0280de11da
CI: Adjust reusable-build workflow parameters
...
Add an explicit 'sha' parameter to reusable-build, to define which
commit to build. This will be needed for PR coverage jobs. Consequently
use the 'archive' output from reusable-build to simplify retrieving the
resulting artifact in dependent jobs. Also fetch full history in
coverage builds.
2025-10-05 09:30:49 +01:00
Geza Lore
b4d064d166
CI: Deploy coverage reports to GitHub pages
2025-10-05 07:47:59 +01:00
Geza Lore
6dd52e1927
CI: Adjust codecov.io configuration
...
Disable statuses and PR comments, make precision and ranges match lcov
reports generated by 'make coverage-report', remove unnecessary
contents. Rename codecov.yml -> .codecov.yml
2025-10-05 07:10:04 +01:00
Geza Lore
29dacd3441
CI: Create and upload HTML coverage reports
2025-10-04 19:35:21 +01:00