[I-side] - Fix assertion error

- Assertion was added in the wrong file
This commit is contained in:
Tom Roberts 2019-09-09 08:45:23 +01:00 committed by Tom Roberts
parent e2110e2a46
commit b87ed7c82e
2 changed files with 11 additions and 5 deletions

View file

@ -216,11 +216,6 @@ module ibex_fetch_fifo (
// Assertions //
////////////////
`ifndef VERILATOR
// Code changes required to support > 2 outstanding requests
assert property (
@(posedge clk_i) disable iff (!rst_ni)
(NUM_REQS <= 2) );
assert property (
@(posedge clk_i) disable iff (!rst_ni)
(in_valid_i) |-> ((valid_q[DEPTH-1] == 1'b0) || (clear_i == 1'b1)) );

View file

@ -213,4 +213,15 @@ module ibex_prefetch_buffer (
assign instr_req_o = valid_req;
assign instr_addr_o = instr_addr_w_aligned;
////////////////
// Assertions //
////////////////
`ifndef VERILATOR
// Code changes required to support > 2 outstanding requests
assert property (
@(posedge clk_i) disable iff (!rst_ni)
(NUM_REQS <= 2) );
`endif
endmodule