100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

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

Rating
-
Sold
-
Pages
2
Grade
A+
Uploaded on
22-08-2024
Written in
2024/2025

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 Data memory unit What components are used in store data? - correct answer Instruction Memory Registers file ALU Data Memory What components are used in beq format? - correct answer Registers unit Sign extend unit Shift left 2 ALU unit(zero check) to compare operands ALU- Adder to compute branch address MUX to take the branch address or the next instruction

Show more Read less
Institution
MIPS
Course
MIPS








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
MIPS
Course
MIPS

Document information

Uploaded on
August 22, 2024
Number of pages
2
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

MIPS Datapath

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

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
RealGrades Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
168
Member since
2 year
Number of followers
52
Documents
11546
Last sold
6 days ago

4.0

26 reviews

5
12
4
5
3
7
2
1
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions