Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the picture below for a reference of what we did in class. Design a datapath and a control unit for the following instructions: add

Use the picture below for a reference of what we did in class.

image text in transcribed

Design a datapath and a control unit for the following instructions:

add R1, R2, R3 # R1=R2+R3

sub R1, R2, R3 # R1=R2-R3

lw R1, memaddress # R1= Memory(memaddress)

sw R1, memaddress # Memory(memaddress) = R1

bne R1, R2, 7-bit-data # if R1 != R2 then jump to PC+2+(7-bit-data *2)

slt R1, R2, R3 # if R2

Assume each instruction has 16 bits. Also assume that there are 8 registers, an instruction memory unit with 1K bytes, and a data memory unit with 1K bytes.

Define a format for each instruction.

Draw a complete datapath (including the details of the Next Address Logic unit) which is able to perform the above operations; be sure to include Register File, ALU, Memory Units, PC, control signals, extra buffers or registers (if needed), number of wires from one component to the other, and any other components that you may need.

Design the control unit and draw the minimized logic diagram for it.

t 50 -20 5R 21-25 PC 92 16 nhat t 50 -20 5R 21-25 PC 92 16 nhat

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine Ricardo

2nd Edition

1449606008, 978-1449606008

More Books

Students also viewed these Databases questions

Question

Identify the benefits and possible shortcomings of this system.

Answered: 1 week ago

Question

Explain the function and purpose of the Job Level Table.

Answered: 1 week ago