-
Notifications
You must be signed in to change notification settings - Fork 6
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
Updates for S4EMac Extension (PoC for custom register support) #99
Conversation
This is an example how the
|
The
|
class RVInst_${name}<dag outs, dag ins> : Instruction, Sched<${sched_str}> { | ||
// General | ||
let Namespace = "RISCV"; | ||
let Size = ${xlen // 8}; |
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.
floor is surely safe, in that a size other than 32 or 64 seems unlikely, and even DSP-ish 24 is still sized in bytes. But maybe an assert of the assumption would be documentary? (size % 8 == 0)
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.
Seems sensible (== I really need to see it through the debugger) and given that it's a PoC the "impurities" (todos, commented-out lines) are surely more acceptable than keeping it unmerged
@thomasgoodfellow I forgot to mention that before we can merge this, https://github.com/DLR-SE/riscv-coredsl-extensions/pull/3/files would need to be merged first… |
No description provided.