remove rxabort again

This commit is contained in:
RuigeLee
2023-10-25 14:33:48 +08:00
parent 3e4964852e
commit 8fad6fc9cb
8 changed files with 23 additions and 216 deletions

View File

@@ -6,7 +6,6 @@ import chisel3.util._
class Receive_Enq_Ctrl_Bundle extends Bundle{
val LatchedRxLength = UInt(16.W)
val RxStatusInLatched = UInt(9.W)
val isRxAbort = Bool()
}
class Receive_Deq_Ctrl_Bundle extends Receive_Enq_Ctrl_Bundle{
@@ -76,10 +75,7 @@ trait RxBuffEnq{ this: RxBuffBase =>
io.enq.data.ready := (isEnqPi & buff(0).io.enq.ready) | (isEnqPo & buff(1).io.enq.ready)
io.enq.ctrl.ready := true.B
buff(0).reset := reset.asBool | (isEnqPi & io.enq.ctrl.fire & io.enq.ctrl.bits.isRxAbort)
buff(1).reset := reset.asBool | (isEnqPo & io.enq.ctrl.fire & io.enq.ctrl.bits.isRxAbort)
when( io.enq.ctrl.fire & ~io.enq.ctrl.bits.isRxAbort){
when( io.enq.ctrl.fire ){
isEnqPi := ~isEnqPi
when( isEnqPi ){
info(0) := io.enq.ctrl.bits