3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-05 22:14:08 +00:00

Alignment fixing

This commit is contained in:
KrystalDelusion 2022-05-10 11:03:40 +12:00
parent 12b854b554
commit 7468e7655d

View file

@ -108,10 +108,10 @@ module fifo (
// ap_waddr3: assert property (!wen && !empty |=> waddr == $past(waddr));
// full and empty work as expected
a_full: assert (!full || full && count == MAX_DATA);
w_full: cover (wen && !ren && count == MAX_DATA-1);
a_full: assert (!full || full && count == MAX_DATA);
w_full: cover (wen && !ren && count == MAX_DATA-1);
a_empty: assert (!empty || empty && count == 0);
w_empty: cover property (ren && !wen && count == 1);
w_empty: cover (ren && !wen && count == 1);
// can we corrupt our data?
// ap_overfill: assert property (wen && full |=> raddr != $past(raddr));