You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SV: concurrent assertions (assert property) are a parse error (blocks rtlmeter E203) #2130
SV: concurrent assertions (assert property) are a parse error
A concurrent assertion in a module body fails to parse ("unrecognized body declaration"), so a design that contains one cannot be compiled at all. The error is not even reported as unsupported. This blocks rtlmeter HummingbirdV2-E203 in four files (e203_exu_alu_muldiv.v, e203_exu_commit.v, e203_ifu_ifetch.v, sirv_gnrl_xchecker.v), unless DISABLE_SV_ASSERTION is defined.
Celox (master): sva.sv:7:3: unrecognized body declaration.
Verilator 5.052 (--binary --timing --assert): runs it and prints done x=11.
Icarus 13.0: sorry: concurrent_assertion_item not supported. Try -gno-assertions or -gsupported-assertions to turn this message off.
Options (yours to decide)
Parse concurrent assertions (IEEE 1800-2023 16.14) and report them as unsupported with a precise diagnostic. Minimal; it fixes the misleading parse error.
Accept them and skip them with a warning, like Icarus' -gno-assertions. A design-level diagnostic, relaxable through --diagnostic, would control it. This lets E203 and similar designs run.
Evaluate a supported subset: a clocked property with disable iff and simple boolean or |->/|=> sequences, sampled with the 16.5 sampled-value semantics, plus action blocks.
My recommendation: (1) now. (2) or (3) depends on whether assertions are in Celox's scope; E203 itself has a DISABLE_SV_ASSERTION switch.
Found while widening the designs used to measure #2013's partitioning heuristic.
Concurrent assertions are expected to come from the SVA work (Roadmap #89; the stage-1 stack #1879–#1882 covers sampled-value functions). Until then, rtlmeter E203 can be run with DISABLE_SV_ASSERTION defined.
Activity
tignear commentedon Oct 26, 2026
Concurrent assertions are expected to come from the SVA work (Roadmap #89; the stage-1 stack #1879–#1882 covers sampled-value functions). Until then, rtlmeter E203 can be run with
DISABLE_SV_ASSERTIONdefined.