mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-23 13:27:10 -04:00
Fix assertion in ibex_icache_core_protocol_checker
This assertion is supposed to say "the core may not request more data from the cache when there's no valid address". Unfortunately, I'd represented "requesting more data" by req being high, rather than ready being high. This is wrong: req is a signal saying "the core isn't currently asleep". ready (of a ready/valid pair) is the one I wanted.
This commit is contained in:
parent
4814b6776f
commit
d51d970089
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ interface ibex_icache_core_protocol_checker (
|
|||
end
|
||||
end
|
||||
|
||||
`ASSERT(NoFetchWithoutAddr, req |-> (branch | has_addr), clk, !rst_n)
|
||||
`ASSERT(NoFetchWithoutAddr, ready |-> (branch | has_addr), clk, !rst_n)
|
||||
|
||||
// The err_plus2 signal means "this error was caused by the upper two bytes" and is only read when
|
||||
// both valid and err are true. It should never be set for compressed instructions (for them, the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue