DATAPATH
SCHEMATIC
Figure 3 is the culmination of these ideas. There are three
groups of resources. The execution unit is the heart
of the processor. It fetches operands from the register
file and the immediate fields of the instruction register,
presents them to the add/sub, logic, and (trivial)
shift units, and writes back the result to the register
file. The result multiplexer selects one result from
the various function units. The address/PC unit drives
the next memory address, and includes the PC, PC adder,
and address mux. Now, lets see how each resource
is implemented in our FPGA.