完成探针和索引

This commit is contained in:
Ruige Lee
2025-04-29 17:48:57 +08:00
parent b0ecbcc983
commit 65c5aba8ce
6 changed files with 103 additions and 36 deletions

View File

@@ -23,7 +23,7 @@ class MasterParserIO extends Bundle{
val rxEnq = Output( Bool())
val txDeq = Output( Bool())
val trigAddr = Input( Vec(2, UInt(15.W)) )
// val trigAddr = Input( Vec(2, UInt(15.W)) )
val timeStamp = Input(UInt(64.W))
@@ -119,8 +119,8 @@ abstract class MasterParserBase extends Module{
io.rxEnq := io.trigAddr(0) === txCnt & io.downOut.fire
io.txDeq := io.trigAddr(1) === (rxCnt + 1.U) & io.upIn.fire
io.rxEnq := io.downOut.fire & io.downOut.bits.tlast
io.txDeq := io.upIn.fire & io.upIn.bits.tlast