Quiz_3_3405

pdf

School

University of Houston *

*We aren’t endorsed by this school

Course

3405

Subject

Electrical Engineering

Date

Apr 3, 2024

Type

pdf

Pages

3

Uploaded by AmbassadorSpider3154

Report
ELET 3405: Microprocessor Architecture Quiz 3 1. Fill in the table below with appropriate values of control signals and register values. Assume the values stored in registers X6, X10 are 12 and 1000 respectively. Data stored at Mem[1008] = 56. Consider the following instruction and mark the route that it follows. LDUR X6, [X10, #8]
LDUR X6, [X10, #8] Read register 1 Read register 2 Write register Read data 1 Read data 2 Write data Reg2Loc ALUSrc MemtoReg RegWrite MemRead MemWrite Branch
2. Detect hazards in the following program. Associate the hazard type with the instruction causing the hazard. 1a. EX/MEM.RegisterRd = ID/EX.RegisterRn1 1b. EX/MEM.RegisterRd = ID/EX.RegisterRm2 2a. MEM/WB.RegisterRd = ID/EX.RegisterRn1 2b. MEM/WB.RegisterRd = ID/EX.RegisterRm2 STUR X3, [X21, #43] SUB X4, X3, X2 ADD X6, X4, X7 LSL X5, X4, #3 SUB X18, X9, X15 EOR X1, X18, X9 3. Draw a multiple cycle pipeline diagram for the following set of instructions. Detect hazards and include solutions to overcome them. ADD X1, X2, X3 SUB X5, X3, X1 LSL X6, X1, #3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help