3055t1 - Score:_ Name:_ ECE 3055 Test 1 1. (20 points) A...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Score:__________ Name:_________________________________________________ ECE 3055 Test 1 1. (20 points ) A supercomputer has two adders that can be used for addition operations. One adder is not pipelined and it takes 4ns. to add two numbers. The other adder is pipelined and it has a five-stage pipeline with a 2.1ns. clock. The supercomputer has hardware to repeat the add operation automatically for arrays of integers. It can do the entire operation: For I=1 to N C[I] = A[I] + B[I] End; in hardware using one instruction. This is called a vector add instruction. The array values are held in a special high-speed register bank. These registers are fast enough to supply new values to pipeline every clock cycle. The compiler uses the fastest adder depending on the value of N, where N is the number of pairs of array values to add. At which value of N should the compiler switch adders? For N > ____________ the compiler should use the pipelined adder, since it will be faster. N
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

3055t1 - Score:_ Name:_ ECE 3055 Test 1 1. (20 points) A...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online