ECE 6913 Final Exam Questions and 100% Correct Answers
(Verified Answers) 2026 Q&A Latest- NYU
Computing Systems Architecture
1. Compute the effective CPI for RISC-V using Figure P1 below and Table P1 below. Average
the instruction frequencies of perlbench and sjeng (shown in red box in Fig P1) to obtain the
instruction mix
Table PI: CPI for Instruction classes
Figure P1: RISC-V dynamic instruction mix for the SPECint2006 programs.
Computing Systems Architecture
, Table S1: RISC-V dynamic instruction mix average for perlbench and sjeng
programs
For perlbench and sjeng, the average instruction frequencies are shown in Table S1 above
The effective CPI for programs in Figure P1 is computed by combining instruction category frequencies
with their corresponding average CPI measurements.
Effective CPI =
Instruction category frequency x Clock cycles for category
= (0.475) x (1.0) + (0.22)x(3.5) + (0.105)x(2.8) + (0.15)[ (0.6)x(4.0) + (1-0.6)x(2.0)] + (0.5)x(2.4)
= 3.189
(The above assumes 50% of Branches are taken and 50% are not taken
with the CPI for not taken branches = 2.0)
Instruction category frequency x Clock cycles for category
= (0.475) x (1.0) + (0.22)x(3.5) + (0.105)x(2.8) + (0.15)[ (1)x(4.0) + (0)x(2.0)] + (0.5)x(2.4)
=3.339
(The above assumes 100% of Branches are taken and 0% are not taken
with the CPI for not taken branches = 2.0)
Computing Systems Architecture
(Verified Answers) 2026 Q&A Latest- NYU
Computing Systems Architecture
1. Compute the effective CPI for RISC-V using Figure P1 below and Table P1 below. Average
the instruction frequencies of perlbench and sjeng (shown in red box in Fig P1) to obtain the
instruction mix
Table PI: CPI for Instruction classes
Figure P1: RISC-V dynamic instruction mix for the SPECint2006 programs.
Computing Systems Architecture
, Table S1: RISC-V dynamic instruction mix average for perlbench and sjeng
programs
For perlbench and sjeng, the average instruction frequencies are shown in Table S1 above
The effective CPI for programs in Figure P1 is computed by combining instruction category frequencies
with their corresponding average CPI measurements.
Effective CPI =
Instruction category frequency x Clock cycles for category
= (0.475) x (1.0) + (0.22)x(3.5) + (0.105)x(2.8) + (0.15)[ (0.6)x(4.0) + (1-0.6)x(2.0)] + (0.5)x(2.4)
= 3.189
(The above assumes 50% of Branches are taken and 50% are not taken
with the CPI for not taken branches = 2.0)
Instruction category frequency x Clock cycles for category
= (0.475) x (1.0) + (0.22)x(3.5) + (0.105)x(2.8) + (0.15)[ (1)x(4.0) + (0)x(2.0)] + (0.5)x(2.4)
=3.339
(The above assumes 100% of Branches are taken and 0% are not taken
with the CPI for not taken branches = 2.0)
Computing Systems Architecture