dout16增加一个err灯
This commit is contained in:
@@ -25,8 +25,11 @@ with BackBoardSlvOut16{
|
||||
val out = IO(Output(UInt(16.W)))
|
||||
val flt = IO(Input(Vec(2, Bool())))
|
||||
val v24Det = IO(Input(Bool()))
|
||||
val LED_ERR = IO(Output(Bool()))
|
||||
val outReg = RegInit(0.U(16.W))
|
||||
|
||||
LED_ERR := v24Det
|
||||
|
||||
when( isCrcPass & downRegTemp(0)(3,0) === 0.U ){
|
||||
outReg := Cat(downRegTemp(3), downRegTemp(2))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user