Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. (10pts) Consider the LEGV8 datapath below that can perform R-type, I-type, D-type and CBZ instructions. For executing CBNZ instruction as well, (a) Are

image

3. (10pts) Consider the LEGV8 datapath below that can perform R-type, I-type, D-type and CBZ instructions. For executing CBNZ instruction as well, (a) Are there any additional logic blocks needed to add to the datapath? If yes, add the necessary logic blocks and control signal to it and explain their purpose. (b) Show the dataflow for the CBNZ instruction using dash lines on the figure below. Add 0 MX >Add, 4- ALU result 1 Reg2Loo Branch MemRead Shift left 2 Instruction [31-21] Control ALUOD MemWrite ALUSrc RegWrite Instruction [9-5] Read Read PC address Instruction [20-16]/0 register 1 Read M data 1 Read Zero Instruction [31-0] register 2 Instruction memory Instruction [4-0] follow Write register Read data 2 ALU ALU Read Address result data M M X Write 0 data Registers Write data memory Data Instruction [31-0] 32 64 Sign- extend ALU control Instruction [31-21] (c) How would you set the following control signals to support the CBNZ instruction? Reg2Loc Branch MemRead MemtoReg ALUOp MemWrite ALUSrc RegWrite

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

Computer Organization and Design The Hardware Software Interface

Authors: David A. Patterson, John L. Hennessy

5th edition

124077269, 978-0124077263

More Books

Students also viewed these Algorithms questions

Question

What is white noise and how does it affect a signal?

Answered: 1 week ago

Question

=+e. 7,000 shares of common stock were issued at $20 for cash.

Answered: 1 week ago

Question

Can partitioned join be used for r r.A s? Explain your answer

Answered: 1 week ago