Question: Design a datapath and a control unit for the following instructions: add R 1 , R 2 , R 3 # R 1 = R
Design a datapath and a control unit for the following instructions:
add R R R # RRR
addi R Rbitsdata # RRdata
lw R memaddress # R Memorymemaddress
jump R memaddress # Jump to location: Memorymemaddress R
beq R Rbitsdata # if RR then jump to PCdata
Assume each instruction has bits. Also assume that there are
registers, an instruction memory unit with K bytes, and a data memory
unit with K bytes.
a Define a format for each instruction.
b Draw a datapath which is able to perform the above operations; be sure to include IR Register File, ALU, Memory Unit, PC control signals, number of wires from one component to the other, and any other components that you may need. Write any assumption that you make.
c Design the control unit and draw the minimized logic diagram for it
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
