What is the latency of CBZ?
مدت زمان اجرای دستور CBZ یا ارجاع شرطی در پردازنده ARM چیست؟ شکل کلی پردازنده مورد نظر در انتهای صفحه آمده است.
راه حل:
1. An instruction is fetched from the Instruction memory(I-Mem) = 250ps
2.1 Control Unit + ALU Control Unit = 100sp
2.2 The value of PC is added to the sign-extended, the result is the branch target address = 50ps
2.3 Adder calculate PC+4 (PC is incremented) = 150ps
2.4 19 bits of the instruction (offset) are shifted left by two (Single gate) = 5ps
2.5 Adder calculate PC+(shifted value) = 150ps
2.6 PC Register Read = 30ps
3. MUX choose instruction [4-0] = 25sp
4. turn on Register file = 150ps
5. MUX choose Read data 2 = 25sp
6. The ALU passes the data value read from the register file = 200ps
7. Mux choose ALU result or PC = 25ps
منبع سوال: کتاب Computer Organization and Design ARM® EDITION
- ۹۶/۱۱/۱۷