quiz11-scratchwork
pptx
keyboard_arrow_up
School
North Carolina State University *
*We aren’t endorsed by this school
Course
463
Subject
Electrical Engineering
Date
Dec 6, 2023
Type
pptx
Pages
9
Uploaded by ProfessorRabbitPerson939
Quiz 11 “scratch work”
NC State University
Department of Electrical and Computer Engineering
ECE 463/563 (Rotenberg)
NCSU Honor Pledge: "I have neither given nor received unauthorized aid on this quiz."
Student’s electronic signature: _______________________ (sign by typing your name)
Key
add <dest. reg.>, <source reg. 1>, <source reg. 2> // 1 cycle
in EX
mult <dest. reg.>, <source reg. 1>, <source reg. 2> // 5 cycles
in EX
Problem Setup
•
Consider a scalar OOO pipeline with a 3-entry IQ and 32-entry ROB. The pipeline is comprised of 9 stages as considered in class: FE, DE, RN, RR, DI, IS, EX, WB, RT.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Question 1a
1a. Fill in the schedule for the following
6-instruction sequence. (i1 is fetched in cycle 1. i6 is fetched in cycle 10 due to an L1 I$ miss.)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
i1: mul r3, r1, r2
FE
i2: add r3, r3, r4
i3: add r6, r5, r3
i4: add r3, r1, r4
i5: add r2, r3, r7
i6: add r3, r2, r3
(i6 missed in L1 I$, hence delayed fetch of i6)
FE
Question 1b
1b. In the table below, for each source operand, indicate where the value was obtained from (select either ARF, ROB, or Bypass/IQ, by placing an “x” in the corresponding column).
source reg. 1
source reg. 2
ARF
ROB
Bypass/IQ
ARF
ROB
Bypass/IQ
i1: mul r3, r1, r2
i2: add r3, r3, r4
i3: add r6, r5, r3
i4: add r3, r1, r4
i5: add r2, r3, r7
i6: add r3, r2, r3
Questions 2, 3, and 4
2.,3.,4.: Based on your schedule in Question 1a and the initial ARF contents below, show the pipeline state in cycle 10, cycle 13, and cycle 16.
–
Use the same format as in the lecture notes (show contents of structures and instructions as they appear within pipeline stages).
–
The pipeline is initially empty.
–
The ROB Head (H) and Tail (T) pointers are initially both at ROB entry 3
(H == T == rob3).
–
Use any free IQ entry as needed.
–
When showing IQ contents, you only need to show contents of valid instructions.
–
When showing ROB contents, you only need to show contents of instructions between H and T.
–
NOTE: As in the class notes, if the head instr. is in RT, it is being retired this cycle and assume the head pointer H has been incremented past it (no longer in ROB).
For example:
ILP1.pptx
, Slide 83, Cycle 14, our “convention” is to
consider rob3/i1 to not be in the ROB anymore as it is being retired (new H == rob4). This is the convention
you must use in the Moodle quiz, please, for auto-grading.
value
r0
#-7
r1
#10
r2
#20
r3
#30
r4
#40
r5
#50
r6
#60
r7
#70
Architectural Register File (ARF)
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Decode
Fetch
Register Read
Dispatch
Issue
Execute
Writeback
D$
agen
Simple
ALU
Complex
ALU
Mem
v
ROB tag
r0
r1
r2
r3
r4
r5
r6
r7
value
r0
r1
r2
r3
r4
r5
r6
r7
value
dst rdy exc.mis.
pc
rob0
rob1
rob2
rob3
rob4
rob5
rob6
rob7
…
rob31
Rename Map Table (RMT)
Issue Queue (IQ)
Architectural Register File (ARF)
Reorder Buffer (ROB)
v
dst tag
rs1 rdy
rs1 tag/value
rs2 rdy
rs2 tag/value
tag (wakeup)
data
Rename
Retire
HT
7
CYCLE 10
Decode
Fetch
Register Read
Dispatch
Issue
Execute
Writeback
D$
agen
Simple
ALU
Complex
ALU
Mem
v
ROB tag
r0
r1
r2
r3
r4
r5
r6
r7
value
r0
r1
r2
r3
r4
r5
r6
r7
value
dst rdy exc.mis.
pc
rob0
rob1
rob2
rob3
rob4
rob5
rob6
rob7
…
rob31
Rename Map Table (RMT)
Issue Queue (IQ)
Architectural Register File (ARF)
Reorder Buffer (ROB)
v
dst tag
rs1 rdy
rs1 tag/value
rs2 rdy
rs2 tag/value
tag (wakeup)
data
Rename
Retire
HT
8
CYCLE 13
Decode
Fetch
Register Read
Dispatch
Issue
Execute
Writeback
D$
agen
Simple
ALU
Complex
ALU
Mem
v
ROB tag
r0
r1
r2
r3
r4
r5
r6
r7
value
r0
r1
r2
r3
r4
r5
r6
r7
value
dst rdy exc.mis.
pc
rob0
rob1
rob2
rob3
rob4
rob5
rob6
rob7
…
rob31
Rename Map Table (RMT)
Issue Queue (IQ)
Architectural Register File (ARF)
Reorder Buffer (ROB)
v
dst tag
rs1 rdy
rs1 tag/value
rs2 rdy
rs2 tag/value
tag (wakeup)
data
Rename
Retire
HT
9
CYCLE 16
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
The system having ±0.5% of F.S.D if the full scale deflection is 50 units, then accuracy is _____
a. ±0.25
b. ±1
c. ±0
d. ±0.5
arrow_forward
25.
_____ signals can have an infinite number of values in a range.
a.
Analog
b.
Digital
c.
(a) or (b)
d.
None of the above
arrow_forward
Please answer in typing format with explanation
arrow_forward
Identify the types of batteries used in thefollowing products:a. a laptop computerb. an electric shaverc. a cordless drilld. a camcordere. a cellular phonef. a flashlightg. a wristwatchh. a camera
arrow_forward
Is it required to use a PMMC instrument in an Instrument
transformer based measurement system?
a. No, not required
b. Yes,required
c. Can't be said
d. It is optional
arrow_forward
Please answer in typing format
arrow_forward
Estimate the length of conduit to perform the next bends. EMT will be bend using a hand
bender. Provide your answer in inches (just the number) using up to 2 decimals.
The picture shows two panels connected by a back-to-back
23.5" stubs
EMT 3/4"
6.25 ft
P
arrow_forward
Show that Circuit (II) is simplified version of Circuit (I).
Hint: Use reference table.
arrow_forward
Please send the answer by typing only. I don't want handwritten.
The subject is about Renewable Energy ( Fossil Fuels)
What is called Fossil Fuels and what are the main 3 types of Fossil Fuels?
arrow_forward
i need the answer quickly
arrow_forward
What NEC article contains a list of the electrical installations that are covered by the NEC?
Select one:
a. 90.1 (B)
b. 90.2 (A)
c. 110.26
d. 210.54(A)
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Electricity for Refrigeration, Heating, and Air C...
Mechanical Engineering
ISBN:9781337399128
Author:Russell E. Smith
Publisher:Cengage Learning
Related Questions
- The system having ±0.5% of F.S.D if the full scale deflection is 50 units, then accuracy is _____ a. ±0.25 b. ±1 c. ±0 d. ±0.5arrow_forward25. _____ signals can have an infinite number of values in a range. a. Analog b. Digital c. (a) or (b) d. None of the abovearrow_forwardPlease answer in typing format with explanationarrow_forward
- Identify the types of batteries used in thefollowing products:a. a laptop computerb. an electric shaverc. a cordless drilld. a camcordere. a cellular phonef. a flashlightg. a wristwatchh. a cameraarrow_forwardIs it required to use a PMMC instrument in an Instrument transformer based measurement system? a. No, not required b. Yes,required c. Can't be said d. It is optionalarrow_forwardPlease answer in typing formatarrow_forward
- Estimate the length of conduit to perform the next bends. EMT will be bend using a hand bender. Provide your answer in inches (just the number) using up to 2 decimals. The picture shows two panels connected by a back-to-back 23.5" stubs EMT 3/4" 6.25 ft Parrow_forwardShow that Circuit (II) is simplified version of Circuit (I). Hint: Use reference table.arrow_forwardPlease send the answer by typing only. I don't want handwritten. The subject is about Renewable Energy ( Fossil Fuels) What is called Fossil Fuels and what are the main 3 types of Fossil Fuels?arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Electricity for Refrigeration, Heating, and Air C...Mechanical EngineeringISBN:9781337399128Author:Russell E. SmithPublisher:Cengage Learning

Electricity for Refrigeration, Heating, and Air C...
Mechanical Engineering
ISBN:9781337399128
Author:Russell E. Smith
Publisher:Cengage Learning