CS251 Study Guide - Midterm Guide: Coprocessor, Combinational Logic, Datapath

254 views8 pages

Document Summary

For each of the following questions, circle one answer per question: in a processor architecture, we have three classes of instructions: A that requires 3 clock cycles, b that requires 2 clock cycles, and c that requires 1 clock cycle. We are compiling a program p. in a compilation sequence c1, there are 2 a instructions, 1 b instruction, and 2 c instructions. In a compilation sequence c2, there are 2 a instructions, and 2 c instructions. Average cpi1 = 2 x 3 + 1 x 2 + 2 x 1 = 10 / 5 = 2. Average cpi2 = 2 x 3 + 2 x 1 = 8 / 4 = 2. [1 mark, no partial marks: let us consider two computers a and b. A runs with a clock cycle time of 250ps while b runs with a clock cycle time of 300ps. As the result, a will always perform faster than b.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents