master的 req延迟一拍,使得0x20寄存器可以修改的同时发起请求
This commit is contained in:
@@ -813,7 +813,7 @@ with InterfaceSystem
|
||||
io.txReq.bits.txSM := mReg.txSM
|
||||
io.txReq.bits.rxSM := mReg.rxSM
|
||||
// io.txReq.bits.txLength := //mReg.txLength
|
||||
io.txReq.valid := isEnW & addrw === "h20".U & dataw.extract(0) === "b1".U //& mReg.txLength =/= 0.U
|
||||
io.txReq.valid := RegNext(isEnW & addrw === "h20".U & dataw.extract(0) === "b1".U, false.B) //& mReg.txLength =/= 0.U
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -716,7 +716,9 @@ trait SlaveParserProbe{ this: SlaveParserBase =>
|
||||
|
||||
when( downRecParser.io.frameReq.fire & downRecParser.io.frameReq.bits.frameStyle === FRAME_STYLE_PROBE ){ //下行来了一个嗅探包
|
||||
isReadyToProbe := true.B
|
||||
assert( downSendGen.io.stateCurr === STATE_IDLE )
|
||||
when( downSendGen.io.stateCurr =/= STATE_IDLE ){
|
||||
printf("Error! downSendGen is busy while a Probe-Frame arrival!\n")
|
||||
}
|
||||
} .elsewhen( upRecParser.io.frameReq.fire & upRecParser.io.frameReq.bits.frameStyle === FRAME_STYLE_PROBE ){ //上行来了一个嗅探包
|
||||
isReadyToProbe := false.B
|
||||
} .elsewhen( isWatchDogOverflow ){
|
||||
|
||||
Reference in New Issue
Block a user