-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support inst lifetime trace #4007
base: master
Are you sure you want to change the base?
Conversation
Add perfCCT interface to record committed inst's lifetime and data process script |
@@ -162,6 +162,7 @@ class CtrlFlow(implicit p: Parameters) extends XSBundle { | |||
val ftqPtr = new FtqPtr | |||
val ftqOffset = UInt(log2Up(PredictWidth).W) | |||
val isLastInFtqEntry = Bool() | |||
val seqNum = UInt(64.W) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a switch for seqNum
? Will this modification impact the area?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seqNum only used by dpic function, it should be dead code eliminated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recommend explicitly set it to None in non-simulation environment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, frontend part LGTM
23fb5ca
to
b547b51
Compare
No description provided.