Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

computer architecture and organization Problem 1. The instruction mix for some program that contains 106 instructions is shown in the table below. How long will

computer architecture and organization image text in transcribedimage text in transcribed

Problem 1. The instruction mix for some program that contains 106 instructions is shown in the table below. How long will this program take to execute on a single-cycle implementation processor? Assume the delay for different hardware units as shown below. Instruction ALU Load Store Branch Jump Frequency 60% 20% 10% 5% 5% Unit Instruction Memory Register File ALU Data Memory Time (ns) 10 2 5 6 Problem 2. Consider the single-cycle implementation we discussed in class. Explain what would happen to executing different types of instructions in each of the following cases: There is a stuck-on-1 fault in the Jump signal, i.e. its value is always 1. There is a stuck-on-o fault in the RegDst signal, i.e. its value is always 0. Problem 3. Consider the block diagram of the single-cycle implementation. Modify this implementation so that the following instructions are supported LUI rt, immediate JAL address Instr(25-0] Shift left 2 PC(31-28) Shift left 2 PCSIC Jump Branch Control ALUOg. Insta[31-26] MemRead MemtoReg Unit Mem Write ALUSIS ReeDst RegWrite ovf Instruction Memory Read Address Instr[31-01 zero Inste[25-21) Read Addr 1 Read Instr[20-16 Register, Read Addr2Data 1 File Write Addr Read Data 2 Write Data Instr[15 Address Data Memory Read Date Write Data ALU Instr[15-01 Sign Extend Insta[5-01 ALU control 16 You will need understand the operation of these instructions in order to add them. It is advised that you print the block diagram and show your modification on the diagram. Your modification may require adding control signals and hardware components. For each instruction, specify the values for all control signals in order to support these instructions. Make sure to explain your answer in addition to the drawing you make

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

Medical Image Databases

Authors: Stephen T.C. Wong

1st Edition

1461375398, 978-1461375395

More Books

Students also viewed these Databases questions

Question

Explain how cultural differences affect business communication.

Answered: 1 week ago

Question

List and explain the goals of business communication.

Answered: 1 week ago