Suppose the functions and can be computed in 5 and 3 nanoseconds by functional units and , respectively. Given two instances of and two instances of , it is required to implement the computation for . Ignoring all other delays, the minimum time required to complete this computation is ____________ nanoseconds.
GATE CSE 2016CO & Architecture › Control Unit & MicroprogrammingVerified
GATE CSE 2016 PYQ: Suppose the functions F F F and G G G can be computed in 5 5 5 and 3 3 3 nanoseconds by functional units U F…
Answer
28
Approach
Model the two instances of each functional unit as two independent computation chains, each handling 5 of the 10 values of i. The slowest unit is F, taking 5 ns, so after an initial latency to obtain a G output, one F result can emerge every 5 ns from each F unit. Compute the finish time of one chain and then note that the two chains run in parallel.
The bottleneck is UF, taking 5 ns per F computation. With two UF units, the 10 F computations require 5×5=25 ns of F-unit time. The first F computation must additionally wait for G, adding 3 ns. Hence total minimum time = 25 + 3 = 28 ns.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.