Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Training

VERILOG ASSIGNMENT-2

Q.No. Questions
1) a) Implement D-flip flop using behavioral logic and gate level.
b) Write a testbench to verify the above flipflop functionality.
2) a) Implement D-latch and compare the output waveform with D-flipflop.

3) a) Design D-Flipflop with synchronous and asynchronous reset and verify


the functionality by writing test bench.

b) Design 4-bit Ripple counter and verify.

4) a) Design ring counter using behavioral, structural model and verify.


b) Implement 4bit up-down ring counter and verify by applying random up-
down control.
5) Implement the following counters and verify the functionality by develop
test bench.
a) Gray counter
b) Mod-n Counter
c) Johnson’s counter
d) Decade counter

6) a) Create a parameterizable module for multiple bit register with width of


register as parameter. Instantiate above module in TB, perform write to
register, read from register.

You might also like