阿摩線上測驗
登入
首頁
>
中山◆資工◆計算機結構
>
103年 - 103 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#105837
> 申論題
題組內容
4.Consider the segment of MIPS assembler code below.
(a) How many times is instruction memory accessed? How many times is data memory accessed? (Count only accesses to memory, not registers.)
相關申論題
(b) What are the addressing modes used in the four instructions?
#450987
(a) What is the clock cycle time if the only types of instructions we need to support are ALU instructions (ADD, AND, etc.)?
#450988
(b) What is the clock cycle time if we only have to support LW (load word) instructions?
#450989
(e) What is the clock cycle time if we must support ALU, branch, load/store instructions? (Hint: You need to find the overall latencies of the blocks in the longest path required to execute an instruction.)
#450990
(a) What is the clock cycle time in a pipelined and non-pipelined processor?
#450991
(b) What is the total latency of an LW instruction in a pipelined and non-pipelined processor? (5%)
#450992
(a) Indicate dependences and their type.
#450993
(b) Assume there is no forwarding in this pipelined processor. Indicate hazards and add NOP instructions to eliminate them.
#450994
(a) Consider a direct-mapped cache with 16KB of data and 16-byte blocks, assuming a 32-bit 300ps address. What is the length of the tag field? How many total bits are required, assuming a valid bit is used?
#450995
(b) Assume an instruction cache miss rate for gcc of 2% and a data cache miss rate of 4%. If a machine has a CPI of 2 without any memory stalls and the miss penalty is 40 cycles for all misses, determine how much faster a machine would run with a perfect cache that never missed. Assume 36% of instructions are loads/stores.
#450996
相關試卷
110年 - 110 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#104310
110年 · #104310
109年 - 109 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#105754
109年 · #105754
108年 - 108 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#105762
108年 · #105762
107年 - 107 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#105781
107年 · #105781
106年 - 106 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#105788
106年 · #105788
105年 - 105 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#105824
105年 · #105824
104年 - 104 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#105827
104年 · #105827
103年 - 103 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#105837
103年 · #105837
102年 - 102 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#105879
102年 · #105879
101年 - 101 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#105905
101年 · #105905