debug开始,cdrin优化后payloadlen加载错误

This commit is contained in:
RuigeLee
2024-11-01 18:09:16 +08:00
parent 65491c74f6
commit 983f9e771d
4 changed files with 14 additions and 13 deletions

View File

@@ -63,7 +63,10 @@ trait TLCDRTx{ this: TLCDRBase =>
when( txFifo.io.deq.fire ){ //txCnt === 3.U
txData := txFifo.io.deq.bits
assert(CDROut.io.axis.fire)
when( isTxBusy ){
assert(CDROut.io.axis.fire)
}
} .elsewhen( CDROut.io.axis.fire ){
txData := txData << 8
}