Skip to content

Commit

Permalink
Revocation control: define done earlier
Browse files Browse the repository at this point in the history
This was causing undeclared identifier warnings.

Co-authored-by: Adrian Lees <[email protected]>
  • Loading branch information
marnovandermaas and alees24 committed Jan 7, 2025
1 parent 8068434 commit cc78ef2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rtl/ip/rev_ctl/rtl/rev_ctl.sv
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ module rev_ctl import rev_ctl_reg_pkg::*; (
// Internal registers.
logic go;

// Internal wires.
logic done;
assign done = reg2hw.epoch.running.q & ~core_to_ctl_i[0];

// Architectural registers.
logic interrupt_status;

Expand All @@ -46,10 +50,6 @@ module rev_ctl import rev_ctl_reg_pkg::*; (
end
end

// Internal wires.
logic done;
assign done = reg2hw.epoch.running.q & ~core_to_ctl_i[0];

// Control to core.
always @(posedge clk_i or negedge rst_ni) begin
if (~rst_ni) begin
Expand Down

0 comments on commit cc78ef2

Please sign in to comment.