mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-24 14:17:16 -04:00
👾 Fixed grant latch and misplaced ifdef
This commit is contained in:
parent
1dc1695a43
commit
639e8bea50
2 changed files with 3 additions and 2 deletions
3
fifo.sv
3
fifo.sv
|
@ -106,8 +106,7 @@ module fifo #(
|
|||
assert property(
|
||||
@(posedge clk_i) (rst_ni && empty_o |-> ~pop_i))
|
||||
else $error ("Trying to pop data although the FIFO is empty.");
|
||||
end
|
||||
`endif
|
||||
`endif
|
||||
end
|
||||
|
||||
endmodule
|
|
@ -82,6 +82,8 @@ module mem_arbiter #(
|
|||
data_i = '{default: 0};
|
||||
push_i = 1'b0;
|
||||
|
||||
for (int i = 0; i < NR_PORTS; i++)
|
||||
data_gnt_o[i] = 1'b0;
|
||||
// only go for a new request if we can wait for the valid
|
||||
if (~full_o) begin
|
||||
for (int i = 0; i < NR_PORTS; i++) begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue