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] Removal of a signal to cover cond coverage hole #25682

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
7 changes: 6 additions & 1 deletion hw/ip/rom_ctrl/rtl/rom_ctrl_fsm.sv
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ module rom_ctrl_fsm
ReadingLow: begin
// Switch to ReadingHigh when counter_lnt is true and kmac_rom_rdy_i & kmac_rom_vld_o
// (implying that the transaction went through)
if (counter_lnt && kmac_rom_rdy_i && kmac_rom_vld_o) begin
//
// If counter_lnt is true then we requested the last non-top word from the ROM on the last
// cycle and the response will be available now. This gets taken if kmac_rom_rdy_i.
if (counter_lnt && kmac_rom_rdy_i) begin
state_d = ReadingHigh;
end
end
Expand Down Expand Up @@ -311,4 +314,6 @@ module rom_ctrl_fsm

assign alert_o = fsm_alert | checker_alert | unexpected_counter_change;

`ASSERT(CounterLntImpliesKmacRomVldO_A, counter_lnt -> kmac_rom_vld_o)

endmodule
Loading