Skip to content

Commit

Permalink
spi: fixes with LEDs
Browse files Browse the repository at this point in the history
  • Loading branch information
schoeberl committed Nov 16, 2024
1 parent f32fa41 commit 1065ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/spi/BitBang.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class BitBang(frequ: Int) extends Module {
val valReg = RegInit(0.U(32.W))
valReg := dbg.io.dout

io.led := io.flash.miso ## valReg(2, 0) ## io.sram.miso ## valReg(2, 0) ## io.accell.miso ## valReg(2, 0)
io.led := io.sram.miso ## valReg(10, 8) ## io.flash.miso ## valReg(6, 4) ## io.accell.miso ## valReg(2, 0)

io.accell.sclk := valReg(0)
io.accell.mosi := valReg(1)
Expand Down

0 comments on commit 1065ba8

Please sign in to comment.