16bit fsmc data; 16*2 reg, 100us
This commit is contained in:
@@ -11,7 +11,7 @@ class BackBoardSlvDigitalIO extends BackBoardSlvBase with BackBoardSlvDown with
|
||||
|
||||
withClockAndReset( io.ides_pclk.asClock, io.reset ){
|
||||
// val upReg = Reg(Vec(32, UInt(8.W)))
|
||||
val upReg = RegInit(VecInit((0 until 32).map{i => i.U(8.W)}))
|
||||
val upReg = RegInit(VecInit((0 until 16).map{i => i.U(8.W)}))
|
||||
upRegWire := upReg
|
||||
out := Cat( (0 until 4).map{i => downRegWire(i)}.reverse )
|
||||
oe := Cat( (4 until 8).map{i => downRegWire(i)}.reverse )
|
||||
|
||||
Reference in New Issue
Block a user