How is data width determined for load/store instructions in Rocket Core?

44 views Asked by At

I'm working on a project where we need to modify a Rocket-chip core with new instructions. We're wondering: how does data width for load/store instructions is determined ?

I assume the instruction decoder will determine the data width thanks to the funct3 field but I do not see where this operation is performed in the Rocket decoder.

Any idea?


Looking at the Github repository (links above) + grep

1

There are 1 answers

1
JohnDoe On BEST ANSWER

Found the answer by myself.