updates Z7-10 for lab3 and lab4

This commit is contained in:
PurplePower
2024-11-18 23:45:05 +08:00
parent 0f905afe36
commit 542c34ed46
3 changed files with 27 additions and 45 deletions

View File

@@ -94,7 +94,7 @@ class Top(binaryFilename: String ="say_goodbye.asmbin") extends Module {
val clock_freq = 100_000_000.U
val clock_freq = 125_000_000.U
val led_count = RegInit(0.U(32.W))
when (led_count >= clock_freq) { // the led blinks every second, clock freq is 100M