From eef87110bb60997becccdf1cec4ed736ea673b99 Mon Sep 17 00:00:00 2001 From: Guillermo Maturana Date: Wed, 17 Jan 2024 06:20:14 +0000 Subject: [PATCH] [rtl,sensor_ctrl] Fix CDC bug Synchronize the incoming wakeup stimulus to the AON clock. Fixes #20614 Signed-off-by: Guillermo Maturana --- hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl.sv | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl.sv b/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl.sv index f0e81d55965a1..6594e50738955 100644 --- a/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl.sv +++ b/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl.sv @@ -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 @@ -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) );