

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
In the course of intro to computer architecture, the main points are:Program Segment, Write-After-Write Dependencies, Tomasula’s Algorithm, Order of Execution, Code Segment, Floating Point Registers, Clock Cycle, Instruction Unit, Corresponding Functional Unit, Common Data Bus, Reservation Station
Typology: Exercises
1 / 2
This page cannot be seen from the preview
Don't miss anything!


a) Trace the order of execution similar to what we did in class using numbers with circles around them to indicate when events happen. (Assume that the LD instruction gets the value 1.1 from memory to load into F4)
b) Rewrite the code segment to show the register renamings, i.e., rewrite the instructions with reservation station numbers (e.g., RS 8 ) replacing the floating point registers (e.g., F2).
Recall our assumption about the order of what happens in a clock cycle:
i) The next instruction from the Instruction Unit gets sent to the appropriate reservation station (if one is available)
ii) Any instruction in a reservation that has both of its operands can be issued if the corresponding functional unit is available (i.e., not being used by another instruction).
iii) A function unit that completes can send its result on the Common Data Bus (CDB). The result with be tagged with the reservation station number initiating the operation. All reservation stations and registers waiting to use the result will update their operands simultaneously. If multiple functional units complete in a clock cycle, assume only the “oldest” instruction will get to send it result.
Load Buffer
From Memory From Instruction Unit
Busy Tag^ Data F F F F F F
FP op.s queue
FP Registers
FP Adders
FP Multiplers
Store Buffer
To All Tags
Tag Data Tag Data Tag Data Tag Data
Common Data Bus
To Memory
Tag Data
(front)
(rear)
Reservation Stations
Busy - indicates if current value in reg. 0 - available in reg. 1 - not avail. Tag - reservation that will supply register value.