spec: rework CPU for smaller footprint#624
Conversation
Codex Code ReviewFindings
No other concrete issues found in the reviewed diff. |
erik-3milabs
left a comment
There was a problem hiding this comment.
Note to self for follow-up review: have a closer look at the interplay between CPU and DECODE padding.
Co-authored-by: Erik <159244975+erik-3milabs@users.noreply.github.com>
|
Maybe 9b30b9e doesn't belong in this PR exactly, but it seemed simple enough for me to not want to deal with having a stacked PR for it :) |
| - For the `BRANCH` path, when we do not have a JALR instruction, we want the ALU output to reflect the branch condition. | ||
| - For the `BRANCH` path, when it is a JALR instruction, we want the ALU output to contain the next instructions PC value, to store into `rd`. | ||
|
|
||
| Instructions having the `word_instr` flag set are delegated to the `CPU32` chip, which will do its own decoding and execution of the instruction. |
There was a problem hiding this comment.
I believe this sentence is out-of-date now.
| Instructions having the `word_instr` flag set are delegated to the `CPU32` chip, which will do its own decoding and execution of the instruction. |
There was a problem hiding this comment.
How so? We still have the CPU32 interaction for this
There was a problem hiding this comment.
That is correct. However, this sentence is in the CPU description twice: the new one you provided when you moved the CPU32 interaction up, and this (old) one that does not add any value here.
| - For the `BRANCH` path, when we do not have a JALR instruction, we want the ALU output to reflect the branch condition. | ||
| - For the `BRANCH` path, when it is a JALR instruction, we want the ALU output to contain the next instructions PC value, to store into `rd`. | ||
|
|
||
| Instructions having the `word_instr` flag set are delegated to the `CPU32` chip, which will do its own decoding and execution of the instruction. |
There was a problem hiding this comment.
That is correct. However, this sentence is in the CPU description twice: the new one you provided when you moved the CPU32 interaction up, and this (old) one that does not add any value here.
Co-authored-by: Erik <159244975+erik-3milabs@users.noreply.github.com>
No description provided.