Question: Based on the first operand of the first step of the execute stage in Figures 4.18 to 4.21, write an HCL description for the signal

Based on the first operand of the first step of the execute stage in Figures 4.18 to 4.21, write an HCL description for the signal aluB in SEQ.

Figures 4.18

Stage Fetch Decode Execute Memory Write back PC update OPq rA, rB icode: ifun rA:B  M [PC] M [PC + 1] valp

Figures 4.21

Stage Fetch Decode Execute Memory Write back PC update jXX Dest icode: ifun - M[PC] valC+ Mg[PC + 1] valp

Stage Fetch Decode Execute Memory Write back PC update OPq rA, rB icode: ifun rA:B M [PC] M [PC + 1] valp PC+2 valA - R[rA] valB R[RB] valEvalB OP valA Set CC R[rB] valE PC - valP rrmov rA, rB icode: ifun TA:rB valp PC+2 valA - R[RA] valE - M[PC] M[PC + 1] PC - 0 + valA R[RB] valE valP irmov V, rB icode: ifun + M[PC] rA:rB M[PC + 1] valc Mg[PC + 2] valp PC + 10 valE 0+ valC R[RB] 4 valE PC - valp

Step by Step Solution

3.43 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

This code is similar to the code fo... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Systems A Programmers Perspective Questions!