尝试DMA通路,接收好

This commit is contained in:
RuigeLee
2023-11-09 17:29:33 +08:00
parent 4285882a7a
commit a3cc3d1d3d
4 changed files with 47 additions and 35 deletions

View File

@@ -48,15 +48,15 @@ class MacNode(implicit p: Parameters) extends Mac{
class DmaNode(edgeOut: TLEdgeOut)(implicit p: Parameters) extends DMAMst(edgeOut){
def DmaMac = "habcdef".U(48.W)
// def DmaMac = "habcdef".U(48.W)
ex.tx <> rxBuff.io.enq
txBuff.io.deq <> ex.rx
ex.mInfo.dest.valid := mInfoValid
ex.mInfo.dest.bits := Cat( 1.U, trigTxNum )
ex.mInfo.dest.bits := DontCare
ex.mInfo.source.valid := mInfoValid
ex.mInfo.source.bits := DmaMac
ex.mInfo.source.bits := DontCare
}