D10 Digital design, Verilog and FPGAs · Practice
`always` blocks: combinational and clocked logic,
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 6 kinds solid
Check
A bit enters a 16-stage shift register clocked at 25 MHz. How long until it reaches the output?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
Registers a and b start at a = 1, b = 0 and swap with nonblocking assignments at every clock edge. What is a after 4 edges?
Check
A shift register has 16 stages clocked at 25 MHz.
(a)
How long does a bit take to come out the end?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
How many bits does it hold at once?
Check
always @(posedge clk) begin a <= b; b <= a; end starts with a = 0, b = 1.
(a)
What is a after 3 clocks?
(b)
And b?
Check
Delay through 8 stages at 10 MHz?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
a = 0, b = 1, swapped with nonblocking assignments every edge. What's a after 5 edges?
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 D10