fpga sync

This commit is contained in:
RuigeLee
2023-08-01 15:50:53 +08:00
parent 35e6fcdb52
commit 5d43600680
3 changed files with 13 additions and 7 deletions

View File

@@ -28,4 +28,9 @@ trait LocalRegisters { this: BackBoardSlvBase =>
}
val led = IO(Output(UInt(3.W)))
val sw = IO( Input(UInt(1.W)))
led := digitalOut(2,0)
digitalIn := sw
}