上电复位状态下,上下行直通,设置为主站或者写清复位中断可以解除
This commit is contained in:
@@ -194,6 +194,7 @@ class InterfaceIO extends Bundle{
|
||||
val isSMReset = Output( Vec(8, Bool()) )
|
||||
|
||||
val latchPin = Input(Vec(2, Bool()))
|
||||
val isPoReset = Output(Bool())
|
||||
}
|
||||
|
||||
|
||||
@@ -1058,6 +1059,7 @@ trait InterfaceSystem{ this: InterfaceBase =>
|
||||
if( i != 31 ) {RegInit(false.B)} else { RegInit(true.B) }
|
||||
}
|
||||
cReg.intStatus := Cat( intStatus.reverse )
|
||||
io.isPoReset := intStatus(31)
|
||||
|
||||
cReg.intMode :=
|
||||
Cat(
|
||||
|
||||
Reference in New Issue
Block a user