What are the steps of an R-Format instruction in the MIPS datapath? - correct answer
1. Fetch instruction from instruction memory
2. Tie bits to appropriate locations
3. Decode rs1, rs2, fetch contents
4. ALU operations
5. Write data to rd
What's the steps for load format in MIPS datapath? - correct answer 1.
Calculate actual memory address.
2. Send ALU result on address bus to memory.
3. Send memory content to register file on data bus.
What are the steps for store format in MIPS datapath? - correct answer 1.
Calculate actual address.
2. Decode and fetch contents of rs2.
3.Send ALU result on address bus to memory.
4. Send content of rs2 on data bus to memory.
What are the steps for branch instructions? - correct answer 1. Decode rs1, rs2
to get contents.
2. Compare content rs1 with content rs1 with content rs2, if equal Z will be set to 1 simultaneously and
compute branch address.
What components are used in in load data? - correct answer Instruction
Memory
Registers file
ALU
Sign extension unit