阿摩線上測驗 登入

申論題資訊

試卷:101年 - 101 國立交通大學_碩士班考試入學試題_資訊聯招:計算機組織#105750
科目:交大◆資工◆計算機組織
年份:101年
排序:0

題組內容

2. (6%) For the code sequence below, assume the two bne instructions are predicted as taken, but actually they are not taken. How many cycles does it take to complete the execution of the code by using the two CPUs below, respectively? For each CPU, please also identify which cycle(s) will become bubble (i.e., stall cycle) when executes the code (Note: the first instruction: "Iw $tO, $s1, $s2" starts from cycle 1). 
61de77c1607a5.jpg

Express your answer as the following table:
61de77ee8caa4.jpg

申論題內容

(1) The pipelined CPU for which assume the forwarding mechanism has been designed and the branch outcome is determined at MEM stage.