S3 Digital design with HDL · Practice
RTL design and the HDL mindset
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.
Check
How many flip-flops does a binary-encoded state machine with 12 states need?
Check
How many bits does a counter need to count from 0 to 999?
Check
A register-to-register path has 8 gates of 35 ps, with clock-to-Q 40 ps and setup 40 ps. What's the maximum clock frequency?
Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.
Check
On a clock edge, registers a = 6 and b = 1 execute a <= b; b <= a;. What's a afterward?
Check
With blocking assignments a = b; b = a; run in order, starting from a = 6 and b = 1, what's b afterward?
Check
A register file has 4 words of 16 bits. How many flip-flops does it take if built from registers?
Check
A design must run at 500 MHz with 50 ps clock-to-Q and 50 ps setup. How much time is left for logic between registers?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A register-to-register path passes through 12 gates of 25 ps; the flip-flops have 80 ps clock-to-Q and 50 ps setup, and 0 ps is lost to clock skew and jitter.
(a)
What is the fastest clock?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
(b)
And with the logic split evenly into two pipeline stages?
Check
Binary state bits for 11 states?
Check
: 10 gates × 40 ps, 45 ps clock-to-Q, 35 ps setup?
Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.
Check
Counter bits to reach 59?
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