在指导下,修改了仿真程序clock的占空比,仿真成功
This commit is contained in:
@@ -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 ++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user