Merge branch 'ShinTop' into eb_dev

This commit is contained in:
2025-06-05 10:27:00 +08:00
2 changed files with 24 additions and 7 deletions

View File

@@ -70,8 +70,6 @@ class SlaveParserIO extends Bundle{
val intHWTrig = Output(Vec(2, Bool()))
val intHWClr = Input (Vec(2, Bool()))
val isRecWdtTrigger = Output(Bool())
}
abstract class SlaveParserBase extends Module{
@@ -707,9 +705,8 @@ trait SlaveParserProbe{ this: SlaveParserBase =>
// val ProbeRecAim = 511.U
val probeRecCnt = RegInit(0.U(32.W))
val isWatchDogOverflow = probeRecCnt === io.cReg.wdtTarCnt(0)
io.isRecWdtTrigger := isWatchDogOverflow
val probeRecCnt = RegInit(0.U(9.W))
val isWatchDogOverflow = probeRecCnt.andR