-
Notifications
You must be signed in to change notification settings - Fork 20
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
add PerfCCT frame, record inst lifetime #88
base: master
Are you sure you want to change the base?
Conversation
c6c1640
to
e5012cb
Compare
c93260b
to
ed5f190
Compare
ed5f190
to
72e4a53
Compare
64bef64
to
d37205f
Compare
41316c0
to
b636bbe
Compare
b636bbe
to
2b4f0bf
Compare
* use .sv instead of .v
} | ||
|
||
|
||
override def desiredName: String = moduleName | ||
} | ||
|
||
trait HasDPICAssign extends BlackBox with HasBlackBoxInline { |
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.
Why here need one new trait
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.
Can we reuse trait HasDPIC?
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.
For createInstMeta, we need to get sn in the current clock, not on the next clock posedge. We should use combinational logic to implement it.
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.
Since the formats are different, they should not be reused.
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 mean use parameterization, make HasDPICAssign merge to HasDPICUnit
pc is unsigned, but sqlite3 only supports signed integer [-2^63, 2^63-1], if real pc > 2^63-1, it will be stored as negative number, (negtive pc = real pc - 2^64), when read a negtive pc, real pc = negtive pc + 2^64.
[WIP]
One general performance framework
Record large structure by c++ layer
And easy to expand and maintain