retagged by
1,202 views
1 votes
1 votes
A program runs in $20s$ in machine A  with a clock speed of $200MHz$. A computer architecture wants to build a machine B which will run this program in $6$ seconds. The architect has delivered that a substantial increase in clock rate is possible, but this will affect the design of rest of the CPU causing machine B to require $1.2$ times as many as clock cycles as machine A for this program. What clock rate should be targeted for  a best design? (In $MHz$)
retagged by

2 Answers

Best answer
3 votes
3 votes
Machine A, Cycle Time $= \frac{1}{200MHZ} = 5ns$

number of cyles needed = total time taken / Cyle time

$=\frac{20 Seconds}{5ns} = 4*10^9$

Machine B, cyles needed $= 1.2*4*10^9 = 4.8*10^9$

Total time taken = 6 seconds

Cycle Time = Total Time Taken/ Number of Cycles Needed

$=\frac{6 Seconds}{4.8*10^9} = 1.25ns$

Frequnecy $= \frac{1}{1.25ns} = 800 MHZ$
selected by
0 votes
0 votes
1 sec 200*${10^{6}}$ cycles

20 sec 20x200*${10^{6}}$ cycles

6 sec total cycles  1.2*20*200*10^6cycles

1 sec total cycle is (1.2*20*200*10^6)/6 =800*10^6

so 800 MHZ
Answer:

Related questions

12.7k
views
2 answers
6 votes
khushtak asked Oct 27, 2015
12,722 views
suppose that in 1000 memory reference there are 40 misses in the first level cache and 20 misses in the second level cache. Assume miss penalty from the L2 ... (miss penalty)right??so which miss rate and miss penalty should i put here?
1.6k
views
1 answers
13 votes
Ruturaj Mohanty asked Dec 27, 2018
1,636 views
Consider a Computer system with a single core CPU, a single level of cache of size $4 \text{MB}$, and main memory. It takes one CPU cycle to access a memory byte if it is in cache, ... as follows:for (i=0;i<N;i++) { read A[i]; read B{i]; }
1.2k
views
1 answers
1 votes
Ruturaj Mohanty asked Dec 27, 2018
1,150 views
A $5$ stage pipeliine is used to overlap all the instructions except the branch instructions. The target of the branch can't be fetched till the current instruction is ... $4$ cycles. (Upto $2$ decimal place).
259
views
1 answers
0 votes
Bikram asked Nov 25, 2016
259 views
In an $8$ segment pipeline, the total number of clock pulses that process $150$ tasks are ______ cycles.