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

Removing unnecessary underflow assertions

This commit is contained in:
KrystalDelusion 2022-07-01 11:15:47 +12:00
parent 907db48ac9
commit 7ba67ef260

View file

@ -111,9 +111,7 @@ module fifo (
// waddr and raddr can only be non zero if reset is high
w_nreset: cover (waddr || raddr);
// count never less than zero, or more than max
a_uflow: assert (count >= 0);
a_uflow2: assert (raddr >= 0);
// count never more than max
a_oflow: assert (count <= MAX_DATA);
a_oflow2: assert (waddr < MAX_DATA);