mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
[I-side] - Fix assertion error
- Assertion was added in the wrong file
This commit is contained in:
parent
e2110e2a46
commit
b87ed7c82e
2 changed files with 11 additions and 5 deletions
|
@ -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)) );
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue