Changed the synchronized reset to occur on the clock falling edge

to give more timing margin when reset is released (note to self:
shouldn't the ext_reset also be synchronized?).
This commit is contained in:
Tim Edwards 2021-12-02 14:26:59 -05:00
parent 78278f30d4
commit 4cf7aa2983
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ module caravel_clocking(
// Staged-delay reset
reg [2:0] reset_delay;
always @(posedge core_clk or negedge resetb) begin
always @(negedge core_clk or negedge resetb) begin
if (resetb == 1'b0) begin
reset_delay <= 3'b111;
end else begin