-
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
area(csr): fix intr NO bits and remove reg for waddr/wdata #3970
base: master
Are you sure you want to change the base?
Conversation
3f2fc2e
to
e9e82d1
Compare
[Generated by IPC robot]
master branch:
|
e9e82d1
to
f67818e
Compare
[Generated by IPC robot]
master branch:
|
f67818e
to
321a9ec
Compare
[Generated by IPC robot]
master branch:
|
object GatedValidSignal { | ||
def apply(next: Bool, init: Bool = false.B): Bool = { | ||
val last = Wire(Bool()) | ||
last := RegEnable(next, init, next || last) |
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 we need this? Refer to OpenXiangShan/Utility#69.
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.
Already removed.
ba62685
to
0a2f86a
Compare
[Generated by IPC robot]
master branch:
|
Currently we support 61 major interrupts, and 8 bits are sufficient.
There is no need to use 64 bits to store the intermediate data of the
interrupt NO
.In order to save area, we only need to add 1 cycle to
wen
, notwaddr
andwdata
.