Question: Given the data path view shown here, answer the following questions. Given the instruction sequence: 0000 addi x1, x0, 0x1 // x1 = 0x1 0004

Given the data path view shown here, answer the following questions.Given the data path view shown here, answer the following questions. Given

Given the instruction sequence:

0000 addi x1, x0, 0x1 // x1 = 0x1 0004 addi x2, x0, 0x100 // x2 = 0x100 0008 st x1, 2(x2) // mem[x2+2] = x1 000A add x2, x2, x5 // x2 = x2 + x5 0010 ld x6, (x2) // x6 = mem[x2]

Consider the data flow during the processing of the store instruction at address 0008 by completing the following paragraph:

At CC3, the instruction [addi x2,x0,0x100/ st x1,2(x2) / x2,x2,x5] is read from instruction memory (IM) at address [FILL IN ADDRESS]. At CC4, the registers x1 with value [FILL IN VALUE] and x2 with value [FILL IN VALUE] are read from the register file. At CC5, the ALU adds the immediate value [FILL IN VALUE] to the value Answer and produces the value [FILL IN VALUE]. At CC6 the value produced by the ALU is used to write the value [FILL IN VALUE] to memory address [FILL IN ADDRESS]. At CC7 [there is no writeback/ x1 is written back / x2 is written back]

Note: For filling answers involving multiple choice (/) choose one

Time (in clock cycles)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!