Skip to content

Commit

Permalink
[gpio,rtl] Remove overly strong assumption
Browse files Browse the repository at this point in the history
The "always" part of this assumption (and assertion) is false if there is a reset.
It also doesn't really give an assumption that constrains the input behaviour,
so we should just drop it.

Signed-off-by: Marcelo Carvalho Faleiro de Almeida <[email protected]>
  • Loading branch information
marcelocarvalhoLowRisc authored and marnovandermaas committed Feb 21, 2025
1 parent de2f0e9 commit b219797
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hw/ip/gpio/rtl/gpio.sv
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ module gpio
assign hw2reg.hw_straps_data_in.d = data_in_d;
assign sampled_straps_o.data = reg2hw.hw_straps_data_in.q;
assign sampled_straps_o.valid = reg2hw.hw_straps_data_in_valid.q;
`ASSUME(StrapSampleOnce_A, ##1 $fell(sample_trigger) |-> always !sample_trigger)
end else begin : gen_no_strap_sample
assign hw2reg.hw_straps_data_in_valid.de = 1'b0;
assign hw2reg.hw_straps_data_in_valid.d = 1'b0;
Expand Down

0 comments on commit b219797

Please sign in to comment.