-
Sorry, I have two questions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Btw, I think that fast multiplier consumes 3 clock cycles and it may require 5 cycles including fetch and write back. neorv32/rtl/core/neorv32_cpu_cp_muldiv.vhd Lines 182 to 183 in e72c254 neorv32/rtl/core/neorv32_cpu_cp_muldiv.vhd Line 185 in e72c254 neorv32/rtl/core/neorv32_cpu_cp_muldiv.vhd Line 309 in e72c254 |
Beta Was this translation helpful? Give feedback.
Yes, it does. Here is a screenshot from simulating a multiplication instruction:
Execution takes 4 cycles (blue marker to yellow marker) requiring a single multi-cycle ALU stall cycle.
Short answer: yes.
Every instruction requires a fetch (or actually, a dispatch as the fetching is done independently of instruction execution). The write-back is "implicit" - there is no actual execution stage for this.