From 33184f448f512cf2188067b4240e5a9578117068 Mon Sep 17 00:00:00 2001 From: bacon Date: Wed, 5 Feb 2025 11:10:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E6=8C=87=E5=AF=BC=E4=B8=8B,=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=BA=86=E4=BB=BF=E7=9C=9F=E7=A8=8B=E5=BA=8Fclock?= =?UTF-8?q?=E7=9A=84=E5=8D=A0=E7=A9=BA=E6=AF=94,=E4=BB=BF=E7=9C=9F?= =?UTF-8?q?=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tb/verilator/sim_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tb/verilator/sim_main.cpp b/tb/verilator/sim_main.cpp index fb6459e..55999c9 100644 --- a/tb/verilator/sim_main.cpp +++ b/tb/verilator/sim_main.cpp @@ -167,7 +167,7 @@ static void init_and_clock(){ //main clock if ( main_time % 40 == 1 ) { top->clock = 1; - } else if ( main_time % 40 == 26 ) { + } else if ( main_time % 40 == 21 ) { top->clock = 0; main_cycle ++; }