Skip to main content

Questions tagged [mips]

0 votes
0 answers
27 views

In a mock exam for my CS course in computer architecture there is the question: "explain why the multicycle datapath is faster than the single cycle datapath." The TA wrote the answer: "...
Jamilo's user avatar
  • 1
0 votes
0 answers
63 views

In a pipelined MIPS CPU, writing to the pipeline registers, registers and PC occurs when the in the rising edge of the clock, and reading occurs in the falling edge, according to my understanding. ...
talopl's user avatar
  • 103
3 votes
1 answer
245 views

I am stumbling over the Exercise 2.3 of Chapter 2, i.e.: For the following C statement, what is the corresponding MIPS assembly code? Assume that the variables f, <...
lordsnyder's user avatar
1 vote
1 answer
305 views

I was reading Computer Architecture Organization and Design by David A. Patterson and John L. Hennessy. Specifically, I was reading chapter 5, section 5.3, Basics of Caches. I read the following ...
Juan De Castro's user avatar
2 votes
1 answer
198 views

...
First_1st's user avatar
0 votes
1 answer
162 views

Consider the figure in Exercise 2. If the current machine code that executes is 0x214bfffd and the values of the registers in the processor are as shown below, what is then the value of the input WD3 ?...
First_1st's user avatar
0 votes
1 answer
94 views

C++ code: int main() { short int arr[4][4]; for (int i = 0; i < 8; i++) { for (int j = 0; j < 8; j++) { arr[i][j] = i+j; } } return 0; } Is there ...
Luke's user avatar
  • 1
0 votes
1 answer
294 views

probably a couple decades too late to ask this question, but does anyone know anything/have detailed documentation about the hardware/design underlying the ALU unit in the early MIPS R2000 CPU? ...
shea's user avatar
  • 117
1 vote
1 answer
139 views

I've recently learnt the execution of MIPS instruction set using single cycle processor. However I'm not getting one thing. Since one clock cycle is needed for the complete instruction we only have ...
ronak jain's user avatar
2 votes
1 answer
495 views

Use the five-stage pipeline with forwarding unit. add $t1, $t2, $t3 sw $t1, 0($t4) In the above code, is the data hazard of t1 fixed by forwarding the correct t1 ...
samli50801's user avatar
1 vote
1 answer
155 views

I'm doing an exercise about the MIPS pipeline with the following characteristics: -Branches and Branch targets are calculated in the E-stage. -There is forward logic from the output to the input of ...
begin's user avatar
  • 11
-1 votes
1 answer
87 views

This MIPS code is given: ...
Pol's user avatar
  • 11
1 vote
2 answers
748 views

I'm reading section 7.3 (SINGLE CYCLE PROCESSOR) of Digital Design and Computer Architecture, Second Edition by David Money Harris. At the end of the section the autor shows this MIPS processor and ...
EmTor's user avatar
  • 13
1 vote
1 answer
200 views

Apparently, each stage of the MIPS processor pipeline takes one CPU cycle. According to this, a memory write can take more than one cycle: 1 cycle to read a register 4 cycles to reach to L1 cache 10 ...
Wad's user avatar
  • 153
1 vote
1 answer
730 views

I am studying Computer Architecture with MIPS-32. The example system has 32 registers with each register having a width of 32 bit. If I would want 128 registers instead of 32 registers, would I have ...
curiouscupcake's user avatar

15 30 50 per page