@@ -83,6 +83,7 @@ object RobBundles extends HasCircularQueuePtrHelper {
8383 val debug_ldest = OptionWrapper (backendParams.basicDebugEn, UInt (LogicRegsWidth .W ))
8484 val debug_pdest = OptionWrapper (backendParams.basicDebugEn, UInt (PhyRegIdxWidth .W ))
8585 val debug_fuType = OptionWrapper (backendParams.debugEn, FuType ())
86+ val debug_fusionNum = OptionWrapper (backendParams.debugEn, UInt (2 .W ))
8687 // debug_end
8788
8889 def isWritebacked : Bool = ! uopNum.orR && stdWritebacked
@@ -121,6 +122,7 @@ object RobBundles extends HasCircularQueuePtrHelper {
121122 val debug_pdest = OptionWrapper (backendParams.basicDebugEn, UInt (PhyRegIdxWidth .W ))
122123 val debug_otherPdest = OptionWrapper (backendParams.basicDebugEn, Vec (7 , UInt (PhyRegIdxWidth .W )))
123124 val debug_fuType = OptionWrapper (backendParams.debugEn, FuType ())
125+ val debug_fusionNum = OptionWrapper (backendParams.debugEn, UInt (2 .W ))
124126 // debug_end
125127 val dirtyFs = Bool ()
126128 val dirtyVs = Bool ()
@@ -147,6 +149,7 @@ object RobBundles extends HasCircularQueuePtrHelper {
147149 robEntry.debug_ldest.foreach(_ := robEnq.ldest)
148150 robEntry.debug_pdest.foreach(_ := robEnq.pdest)
149151 robEntry.debug_fuType.foreach(_ := robEnq.fuType)
152+ robEntry.debug_fusionNum.foreach(_ := robEnq.fusionNum)
150153 }
151154
152155 def connectCommitEntry (robCommitEntry : RobCommitEntryBundle , robEntry : RobEntryBundle ): Unit = {
@@ -179,6 +182,7 @@ object RobBundles extends HasCircularQueuePtrHelper {
179182 robCommitEntry.debug_ldest.foreach(_ := robEntry.debug_ldest.get)
180183 robCommitEntry.debug_pdest.foreach(_ := robEntry.debug_pdest.get)
181184 robCommitEntry.debug_fuType.foreach(_ := robEntry.debug_fuType.get)
185+ robCommitEntry.debug_fusionNum.foreach(_ := robEntry.debug_fusionNum.get)
182186 }
183187}
184188
0 commit comments