Skip to content

Fix several normative rule coverpoint mapping typos - #2340

Merged
Jordan Carlin (jordancarlin) merged 2 commits into
riscv:act4from
davidharrishmc:norm-sweep
Sep 14, 2026
Merged

Jordan Carlin (jordancarlin) merged 2 commits into
riscv:act4from
davidharrishmc:norm-sweep

Conversation

@davidharrishmc

@davidharrishmc David Harris (davidharrishmc) commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Syntax

  • PMPSm.yaml:10 — the misaligned-access rule's coverpoint list was never closed (… cp_tor_doubleregionfail",
    with no }).

Covergroup names

  • ExceptionsSm.yaml:194 named ExceptionsSm; the generated group is ExceptionsSm_cg.
  • Zfbfmin.yaml:6,10 named Zfbfmin_fcvt_bf16_s; the generated group is Zfbfmin_fcvt_bf16_s_cg.

Coverpoint names

  • D, F, Zfh and ZfhD spell the frm crosses cp_fs1_edges_frm{,_D,_H} and cp_fs1_fs2_edges_frm_D.
    The generator emits these as crosses, so the names begin with cr_. (17 references.)
  • SvZicbo names Abit_unset_cbo_s and Dbit_unset_zicbom_s without the cp_ prefix the covergroup
    declares. (4 references.)

PMPSm.yaml's misaligned-access rule never closed its coverpoint list, so the
CTP table rendered the entry with the brace still open.

ExceptionsSm.yaml named the covergroup ExceptionsSm and Zfbfmin.yaml named
Zfbfmin_fcvt_bf16_s; the generated groups are ExceptionsSm_cg and
Zfbfmin_fcvt_bf16_s_cg. Every coverpoint listed on those lines resolves once
the suffix is right.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DnYUaYh9RhXvWSgHzGSyay
Signed-off-by: David Harris <David_Harris@hmc.edu>
Two more classes of reference that resolve to nothing:

- D, F, Zfh and ZfhD rules spell the frm crosses cp_fs1_edges_frm{,_D,_H} and
  cp_fs1_fs2_edges_frm_D. The generator emits these as crosses, so the names
  begin with cr_.
- SvZicbo rules name Abit_unset_cbo_s and Dbit_unset_zicbom_s without the cp_
  prefix the covergroup declares.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DnYUaYh9RhXvWSgHzGSyay
Signed-off-by: David Harris <David_Harris@hmc.edu>
@github-actions github-actions Bot added status: needs-review PR is ready for a review CTP Issues or pull requests related to the Certification Test Plan labels Sep 11, 2026
@jordancarlin Jordan Carlin (jordancarlin) changed the title norm: close an unterminated coverpoint list and fix two covergroup names Fix several normative rule coverpoint mapping typos Sep 14, 2026
@jordancarlin
Jordan Carlin (jordancarlin) added this pull request to the merge queue Sep 14, 2026
@github-actions github-actions Bot added status: approved PR has been approved and is waiting for checks or merge. and removed status: needs-review PR is ready for a review labels Sep 14, 2026
Merged via the queue into riscv:act4 with commit b93a183 Sep 14, 2026
71 checks passed
Jordan Carlin (jordancarlin) pushed a commit to jordancarlin/riscv-arch-test that referenced this pull request Sep 16, 2026
**Syntax**
- `PMPSm.yaml:10` — the misaligned-access rule's coverpoint list was
never closed (`… cp_tor_doubleregionfail",`
  with no `}`).

**Covergroup names**
- `ExceptionsSm.yaml:194` named `ExceptionsSm`; the generated group is
`ExceptionsSm_cg`.
- `Zfbfmin.yaml:6,10` named `Zfbfmin_fcvt_bf16_s`; the generated group
is `Zfbfmin_fcvt_bf16_s_cg`.

**Coverpoint names**
- `D`, `F`, `Zfh` and `ZfhD` spell the frm crosses
`cp_fs1_edges_frm{,_D,_H}` and `cp_fs1_fs2_edges_frm_D`.
The generator emits these as crosses, so the names begin with `cr_`. (17
references.)
- `SvZicbo` names `Abit_unset_cbo_s` and `Dbit_unset_zicbom_s` without
the `cp_` prefix the covergroup
  declares. (4 references.)

---------

Signed-off-by: David Harris <David_Harris@hmc.edu>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CTP Issues or pull requests related to the Certification Test Plan status: approved PR has been approved and is waiting for checks or merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants