-
Notifications
You must be signed in to change notification settings - Fork 24
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
[rtl] add zvma. #957
base: master
Are you sure you want to change the base?
[rtl] add zvma. #957
Conversation
} | ||
|
||
class ZVMAInstRequest(parameter: ZVMAParameter) extends Bundle { | ||
val instruction: UInt = UInt(32.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.
no need instruction.
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.
add index, the zvma will be dec at vector decode stage.
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.
Require should contain all metadata that required by zmva block
// TEW = SEW * TWIDEN | ||
val tew = UInt(3.W) | ||
// tk can hold values from 0-4, inclusive. | ||
val tk = UInt(3.W) | ||
// tm can hold values from 0-TE, inclusive. | ||
val tm = UInt(parameter.tmWidth.W) | ||
val tn = UInt(parameter.tnWidth.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.
inline these to request
val dataFromLSU: ValidIO[ZVMADataChannel] = Flipped(Valid(new ZVMADataChannel(parameter))) | ||
val dataToLSU: DecoupledIO[ZVMADataChannel] = Decoupled(new ZVMADataChannel(parameter)) |
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.
Read/Write Channel not only for LSU, but operand
No description provided.