You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although the simplicity of just passing the opcode to the ALU to use a case statement (and some careful opcode encoding choices) to select the operation has appeal, it means decoding as we compute, and for non-trivial ALUs, there's not enough time.
Instead, decode and pipeline the opcode into control signals during the two stages where we read/write A/B, so the 4 ALU stages can perform more complex work. Relates a bit to issue #31 in that it modularizes the datapath.
The text was updated successfully, but these errors were encountered:
Although the simplicity of just passing the opcode to the ALU to use a case statement (and some careful opcode encoding choices) to select the operation has appeal, it means decoding as we compute, and for non-trivial ALUs, there's not enough time.
Instead, decode and pipeline the opcode into control signals during the two stages where we read/write A/B, so the 4 ALU stages can perform more complex work. Relates a bit to issue #31 in that it modularizes the datapath.
The text was updated successfully, but these errors were encountered: