You are on page 1of 2

1. How many data input buses does the Register file have?

Specify a
list of data sources for each of them.
4: Read register 1, Read register 2, Write register, Write data

2. How many registers can we simultaneously address in the register file? What are their
functions? Where do these register addresses come from?
You can read from two registers at a time. The source registers, specified by instruction
fields rs and rt, should be read from the register file. The ALU performs the desired
operation.Its result is stored in the destination register, which is specified by field
rd of the instruction word.

3. How many different data words can the register file simultaneously produce? What are
the different purposes of these outputs?
32 bits: op (6bits) is the instruction opcode, and func (6 bits) specifies a particular
arithmetic operation. rs, rt and rd (5 bits each) are source and destination registers.

4. List the different sources for each data input to the ALU.
-Read Data 1
-The output of a multiplexer used to select either a register operand (0) or a
constant operand (1).

5. List the different sources for the address input to the RAM.
-The result of the ALU.
-The data memory output.

6. List the different sources for the data input to the RAM.
-The output of the register file.

7. List the different destinations to which the data output from the RAM needs
to reach.

8. How many different places does the input for the PC (Program counter)
come from? What are they? What are their functions?
-Instruction: provide address of current instruction for PC to hold
-Adder: increments PC by 4 to read the next instruction, since each instruction is 4 bytes long.

http://www.cs.uiuc.edu/class/fa08/cs232/lectures/S10-Single-Cycle-MIPS.pdf

You might also like