Coverage gaps L3, L6, L10: six language shapes, randsequence as real nodes, an opt-in uvm_field_* indent
TODO §54 (docs/features/coverage-gaps-l); closes docs/coverage_gaps.md L3, L6 and L10. The first dev stalled under machine load; a second finished from the tree. 54.1 `->>` with optional delay or event control (`StmtKind::EventTrigger`), stream `with [range]` (`ExprKind::StreamWith`), the LRM's other `casting_type`s, drive strength on a net declaration (`DataDecl::strength`, whose comment slots also fix a pre-existing refusal on an `assign` with a comment before its strength), `let` at statement position (`StmtKind::Let`), and `#(min:typ:max)` clocking skews — `ClockingSkew` as the LRM's two alternatives, `edge [delay]` | `delay` (review rework of QA's HIGH). Comment slots added to `let`, stream concatenations and the clocking grammar; the RTL gap fuzzer at 505 gaps, zero failing. 54.2 `randsequence` (it was a parse error; the keyword is new): `RandSequence` → `Production` → `Alternative` → `ProdItem` (ref, block, if, repeat, case, rand join), code blocks by the statement grammar; one production per line, alternatives aligned; the LRM's examples as cases. 54.3 `[format] uvm-utils-indent` / `lucisv.format.uvmUtilsIndent`, default off, tracking nested `_begin`/`_end` pairs; 21 corpus files change with it on, all idempotent. A short comment-free enum body already one-lines, so no key was built — the behaviour is pinned. `[format]` table tests added (review rework). `->>`'s event control is bound through the shared `bind_timing` (review rework of QA's second HIGH). 0 of 820 corpus files differ from 0.48.x with the key off; the opentitan sweep is identical; no corpus or opentitan file writes any of the new shapes. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
e1679bebc5
commit
a69a1cb528
69 files changed
+3660
-127
No files matched your search
@@ -318,7 +318,7 @@ impl Marks {
|
||||
fn body(&mut self, stmt: &Stmt) {
|
||||
walk(stmt, &mut |stmt| match &stmt.kind {
|
||||
StmtKind::Assign { lhs, .. } | StmtKind::ForceRelease { lhs, .. } => self.write(lhs),
|
||||
StmtKind::EventTrigger(expr) => self.write(expr),
|
||||
StmtKind::EventTrigger(t) => self.write(&t.expr),
|
||||
StmtKind::For { init, step, .. } => {
|
||||
for entry in init {
|
||||
self.write(&entry.assign.lhs);
|
||||
@@ -543,7 +543,8 @@ fn stmt_exprs(stmt: &Stmt, f: &mut dyn FnMut(&Expr)) {
|
||||
}
|
||||
}
|
||||
StmtKind::Repeat { count, .. } => f(count),
|
||||
StmtKind::ExprStmt(expr) | StmtKind::EventTrigger(expr) => f(expr),
|
||||
StmtKind::ExprStmt(expr) => f(expr),
|
||||
StmtKind::EventTrigger(t) => f(&t.expr),
|
||||
StmtKind::ForceRelease { lhs, rhs, .. } => {
|
||||
f(lhs);
|
||||
if let Some(rhs) = rhs {
|
||||
|
||||
Reference in new issue
Block a user