阿摩線上測驗
登入
首頁
>
中山◆電機◆電磁學
>
109年 - 108 國立中山大學_碩士班招生考試_電機系(己組):計算機結構#124091
> 申論題
題組內容
5. [30%] Cache memory
(b) [4%] Why do we need valid bits and dirty bits in cache designs?
相關申論題
1. [20%] Translate the following C code to the minimum MIPS assembly instructionsint A[20], B[20];i=0;while (A[i]!=0 && i<20){B[i] = A[i]+B[A[i]]+i;i++;}At the beginning of this code segment, the only values in registers are the base address of arrays A and B in registers $al and $a2. Assume that the value of i is stored in the register $t1.
#527479
(a) (6%) We can use the execution time of programs to evaluate performance of a processor design.Give equation(s) to explain how to formally calculate the execution time of a given program for a target processor.
#527480
(b) (3%) For the MIPS program you wrote in Problem 1, assume the program is run with a MIPS processor with 200MHz clock rate. Below is the number of cycles for each type of instructions.In the worst case, how many ms (micro seconds) will the processor take to run your program?
#527481
(c) (6%) Give at least three strategies that we can use for a MIPS processor design to enhance its performance and explain how.
#527482
(a) (4%) Given a single precision IEEE 754 bit stream S: 1 01111101 00100000000000000000000.What does this floating number mean? Write your final answer with decimal expression.
#527483
(b) (6%) Give definitions and examples of "overflow" and "underflow" for floating-point representation.
#527484
(c) (5%) Multiply S and x (x=238.0625), and represent the result using IEEE 754 single precisionformat. Also describe if overflow or underflow occurs.
#527485
(a) (5%) Which existing blocks (if any) can be used for this instruction?
#527486
(b) (5%) Which new functional blocks (if any) do we need for this instruction?
#527487
(c) (5%) What new signals do we need (if any) from the control unit to support this instruction?
#527488
相關試卷
110年 - 110 國立中山大學_碩士班招生考試_電機系(戊組)、通訊所(乙組)、電波聯合:電磁學#105515
110年 · #105515
109年 - 108 國立中山大學_碩士班招生考試_電機系(甲、戊、己組):工程數學甲#125234
109年 · #125234
109年 - 108 國立中山大學_碩士班招生考試_電機系(甲組):電子學#124112
109年 · #124112
109年 - 108 國立中山大學_碩士班招生考試_電機系(己組):計算機結構#124091
109年 · #124091
109年 - 108 國立中山大學_碩士班招生考試_電機系(丙組):資料結構#124087
109年 · #124087
109年 - 108 國立中山大學_碩士班招生考試_電機系(丁組):電路學#124085
109年 · #124085
109年 - 108 國立中山大學_碩士班招生考試_電機系(甲組):半導體概論#124080
109年 · #124080
108年 - 108 國立中山大學_碩士班招生考試_電機系(戊組)、電波領域:電磁學#108273
108年 · #108273
107年 - 107 國立中山大學_碩士班招生考試_電機系(戊組)、通訊所(乙組)、電波領域:電磁學#110172
107年 · #110172
106年 - 106 國立中山大學_碩士班招生考試_電機系(戊組)、電波領域:電磁學#110197
106年 · #110197