Fix bug in CNT.v

This commit is contained in:
Zane Kaminski 2024-10-03 18:45:13 -04:00
parent 5f63b48981
commit d69358ca8f

View File

@ -120,7 +120,7 @@ module CNT(
/* Startup sequence state control */
reg [1:0] IS = 0;
always @(posedge CLK) begin
if (nPOR) IS <= 0;
if (!nPOR) IS <= 0;
else case (IS[1:0])
0: if (LTimerTick) IS <= 1;
1: if (LTimerTick) IS <= 2;