Skip to content

Commit

Permalink
[rtl,sensor_ctrl] Fix CDC bug
Browse files Browse the repository at this point in the history
Synchronize the incoming wakeup stimulus to the AON clock.

Fixes #20614

Signed-off-by: Guillermo Maturana <[email protected]>
  • Loading branch information
matutem committed Jan 18, 2024
1 parent c73a560 commit eef8711
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl.sv
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ module sensor_ctrl

// only recoverable alerts ack
assign event_clr[i] = recov_event[i] & reg2hw.recov_alert[i].q;

end

// handle internal alert events, currently only have fatals
Expand Down Expand Up @@ -295,8 +294,8 @@ module sensor_ctrl
.Width(1),
.ResetValue('0)
) u_wake_sync (
.clk_i,
.rst_ni,
.clk_i(clk_aon_i),
.rst_ni(rst_aon_ni),
.d_i(async_wake),
.q_o(unstable_wake_req)
);
Expand Down

0 comments on commit eef8711

Please sign in to comment.