Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rom_ctrl, dv] Assertion coverage for rom_ctrl #25911

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions hw/ip/rom_ctrl/dv/env/seq_lib/rom_ctrl_common_vseq.sv
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,15 @@ function void rom_ctrl_common_vseq::sec_cm_fi_ctrl_svas(sec_cm_base_if_proxy if_
if (touching_req_fifo) begin
if (!enable) begin
`uvm_info(`gfn, "Doing FI on a request fifo. Disabling related assertions", UVM_HIGH)
$assertoff(0, "tb.dut");
$assertoff(0, "tb.dut.TlAccessChk_A");
$assertoff(0, "tb.dut.rom_tlul_assert_device.gen_device.respSzEqReqSz_A");
$assertoff(0, "tb.dut.rom_tlul_assert_device.gen_device.respMustHaveReq_A");
$assertoff(0, "tb.dut.rom_tlul_assert_device.gen_device.respOpcode_A");
end else begin
$asserton(0, "tb.dut");
$asserton(0, "tb.dut.TlAccessChk_A");
$asserton(0, "tb.dut.rom_tlul_assert_device.gen_device.respSzEqReqSz_A");
$asserton(0, "tb.dut.rom_tlul_assert_device.gen_device.respMustHaveReq_A");
$asserton(0, "tb.dut.rom_tlul_assert_device.gen_device.respOpcode_A");
end
end
end
Expand Down
Loading