S3 Digital design with HDL · Practice
High-level synthesis
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 7 kinds solid
Check
A loop of 1024 iterations, each 5 cycles deep, is pipelined at II = 4 on a 300 MHz clock.
(a)
How many cycles does it take?
(b)
At what rate does it complete iterations, in millions per second?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
A loop body reads an array 4 times per iteration; the array's memory has 1 port(s).
(a)
What is the smallest initiation interval the memory allows?
(b)
And after partitioning the array into 4 memories, if the reads spread evenly?
Check
A loop-carried dependence passes through a chain of operations 4 cycles long to an iteration 2 later. The loop runs 1000 iterations, each 10 cycles deep.
(a)
What is the smallest initiation interval?
(b)
How many cycles does the loop take at that interval?
Check
A loop of 1024 iterations, 10 cycles deep, is unrolled by 2 and pipelined at II = 1.
(a)
How many cycles does it take?
(b)
How much faster is that than without unrolling?
Check
Cycles for 500 iterations at II = 1, depth 9?
Check
Interval for 5 reads per iteration through 2 ports?
Check
Interval for a 5-cycle recurrence at distance 2?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S3