Question 3 (45 points). With reference to the single clock cycle processor figure, answer the below questions assuming the instruction fetched is the following: BEQ $3, $i, label
Add XS3 ALU Addresult Shift left 2) Instruction (31-26) RegDst Branch MemRead MemtoReg Control ALUOp MemWrite ALUSIC RegWrite Instruction (25-21] PC Read address 1 Instruction (20-16) Instruction (31-0) Instruction memory *xc39) Read register 1 Read data 1 Read register 2 Write Read data 2 register Write data Registers Zero ALU ALU result Address Read data Instruction (15-11) Ex- 2 Px3 Write Data data memory Instruction [15-01 16 32 Sign- extend ALU control Instruction (5-0)
The following table is for some of the registers and the data stored in decimal. Register Contents $0 10 $1 10 $2 20 $3 30 PC 12
1. (25 points) For the Register File unit, what are the values (in decimal) of the following? Read register 1 Read register 2 (RegWrite) Read data 1 Read data 2
2 [20 points) For the ALU unit, what are the inputs and what is the output (ALU result) (in decimal)? ALU inputs input 1 input 2: ALU result Zero
Question 3 (45 points). With reference to the single clock cycle processor figure, answer the below questions assuming t
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Question 3 (45 points). With reference to the single clock cycle processor figure, answer the below questions assuming t
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!