fixed the wrong assignment of uart output in lab1 z710 Top module

This commit is contained in:
PurplePower
2024-11-14 10:14:53 +08:00
parent 948b2e64f8
commit 4c36205a7f

View File

@@ -42,7 +42,6 @@ class Top(binaryFilename: String = "say_goodbye.asmbin") extends Module {
uart.io.bundle <> dummy.io.bundle
io.tx := uart.io.txd
uart.io.rxd := io.rx
io.tx := 0.U
val instruction_rom = Module(new InstructionROM(binaryFilename))
val rom_loader = Module(new ROMLoader(instruction_rom.capacity))