Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

support inst lifetime trace #4007

wants to merge 1 commit into from

Conversation

tastynoob
Copy link
Contributor

No description provided.

@tastynoob
Copy link
Contributor Author

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)
Copy link
Member

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?

Copy link
Contributor Author

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

Copy link
Member

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.

Copy link
Member

@eastonman eastonman left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants