-
released this
2026-09-02 06:02:23 -07:00 | 228 commits to master since this releaseCovergroup bodies — round 2 of coverage_gaps C1, closing it.
covergroup … endgroupwas a flat token scan into verbatim text: no
name span, no coverpoint names, nothing inside bound. Now a covergroup
is a real node — the header with its argument list,with function sample(…)and@(…)event, labelled and unlabelled coverpoints,
bins/ignore_bins/illegal_binswith arrays, value lists,$,
transition lists (=>,[*n],[->n],[=n]),defaultand
default sequence,with (…)filters,wildcard,iff, crosses with
binsof … intersect … && !binsofselect expressions,option./
type_option.assignments,`ifdefarms, and theendgroup : g
label — behind the same rewind snapshot as constraints, so an unknown
shape restores both comment buckets and re-runs the old scan character
for character. No keywords were reserved. Two disambiguations are by
position, the LRM's own rule (a coverpoint bin's(…)is a transition
list, a cross bin's is a select expression), which replaced a lookahead
scan and took opentitan's fallback count from two to zero.Two guards were added to shared expression machinery and are the
round's one risk, stated plainly: an index cannot begin with*,->
or=(so1'b1[*5]reads as a transition repeat), and a bin's own
with (…)filter is not consumed as an array-method iterator
argument. The whole corpus and the whole opentitan tree re-verified
under both.Layout is canonical (one cover item per line,
{ }bin bodies like
constraint sets, the label at the header's column);verify.rs
untouched, twelve attack pairs. The comment-gap fuzzer was built in
from the start: 329 gaps, the 52 that fail are all the shared-machinery
slots already filed as §2.9-22 — and that classification is asserted by
a test that runs each shape outside a covergroup and requires the same
failure. Every sampled expression, bin value andiffbinds to the
class's properties;cg_inst.cpresolves cross-file; renaming arand
field rewrites the coverpoints that sample it.FACTS_FORMAT11 → 12.Opentitan: 544 of 544 covergroups structured, 87 of 87 DV covergroup
files idempotent with comment streams byte-identical, 81 of 3 963 files
re-laid-out and every one verified, the sweep's failure set and per-file
diagnostics identical. Corpus: 10 files change layout, all verify;
+1 139 references, 1 135 answered.Downloads