在索引阶段推测更新下一个从站的索引到indexofRightDev
This commit is contained in:
@@ -376,6 +376,7 @@ trait SlaveParserIndex{ this: SlaveParserBase =>
|
||||
localDevIndex := downRecParser.io.subMsgReq.bits.workCnt + 1.U
|
||||
isDevOnLeftModify := false.B
|
||||
indexOfLeftDev := downRecParser.io.subMsgReq.bits.workCnt
|
||||
indexOfRightDev := Mux(isLastDevice, 0.U, downRecParser.io.subMsgReq.bits.workCnt + 2.U)
|
||||
|
||||
isDevOnRightModify := false.B
|
||||
when( isDownRecPing ){
|
||||
@@ -384,6 +385,10 @@ trait SlaveParserIndex{ this: SlaveParserBase =>
|
||||
downSubMsgInfo(1).workCnt := downRecParser.io.subMsgReq.bits.workCnt + 1.U
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//上行接收 获取右侧索引号
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user