Elec 6036 - High Performance Computer ARCHITECTURE (2021/22)

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

ELEC 6036 - HIGH PERFORMANCE COMPUTER

ARCHITECTURE (2021/22 )

Please remember to fill in

Name: ____________________________________

University No: ____________________________________

*********************************************************
ASSIGNMENT 1 (15 marks)
Assignment Date: February 19, 2022

Due Date: March 14 [Mon], 2022 (kindly submit your assignment via the “Assignment 1 –
Submission” link of our online course Moodle system in the HKU portal) – at or before 23:55

Questions:

(a) Consider the following instruction sequence (RAW hazard through registers):

lw $8, 20($2)
sw $8, 30($3)

Does this require forwarding hardware for maximum performance? If yes, draw/describe
the forwarding hardware and describe the control circuitry. If no, explain why not.

(7.5 marks)

ANSWER:

(b) Consider the following instruction sequence (RAW hazard through memory):

sw $6, 20($4) // store word from register $6


lw $7, 20($4) // load word to register $7

Does this require forwarding hardware for maximum performance? If yes, draw/describe
the forwarding hardware and describe the control circuitry. If no, explain why not.

(7.5 marks)

ANSWER:

-END of Assignment 1-

ELEC 6036 – Ass. 1 (2021/22) Page 1 of 1


ELEC 6036 - HIGH PERFORMANCE COMPUTER
ARCHITECTURE (2021/22 )

ELEC 6036 – Ass. 1 (2021/22) Page 2 of 1

You might also like