mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-23 05:37:16 -04:00
Flush all state when reset is not deasserted (#607)
Signed-off-by: Berend Ozceri <berend@recogni.com>
This commit is contained in:
parent
cb9ea12177
commit
491f46799e
1 changed files with 5 additions and 1 deletions
|
@ -66,7 +66,11 @@ module instr_tracer (
|
|||
forever begin
|
||||
automatic ariane_pkg::bp_resolve_t bp_instruction = '0;
|
||||
// new cycle, we are only interested if reset is de-asserted
|
||||
@(tracer_if.pck iff tracer_if.pck.rstn);
|
||||
@(tracer_if.pck) if (tracer_if.pck.rstn !== 1'b1) begin
|
||||
flush();
|
||||
continue;
|
||||
end
|
||||
|
||||
// increment clock tick
|
||||
clk_ticks++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue