Skip to content

Commit

Permalink
[rv_dm,dv] Explicitly add two tlul adapters to CSR tests' coverage
Browse files Browse the repository at this point in the history
These adapters are properly tested in the CSR tests (like e.g.
rv_dm_jtag_dtm_csr_rw) that use cover_reg_top.cfg. So we should
collect their coverage for those tests.

Signed-off-by: Rupert Swarbrick <[email protected]>
  • Loading branch information
rswarbrick committed Sep 12, 2024
1 parent 593e6ca commit 0808629
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hw/ip/rv_dm/dv/cov/cover_reg_top.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
+node tb.dut *_tl_*
+node tb.dut jtag_*

// Collect coverage from TL adapter instances that are used for registers and (as such) get properly
// stimulated and tested by the automated register tests.
+tree tb.dut.tl_adapter_host_sba
+tree tb.dut.i_tlul_adapter_reg

// The JTAG DTM is functionally verified, even in CSR tests.
begin line+cond+fsm+branch+assert
+moduletree dmi_jtag
Expand Down

0 comments on commit 0808629

Please sign in to comment.