Test_2_partB_Monsoon2021
Test_2_partB_Monsoon2021
TEST-2 (Part B)
Monsoon 2021
Duration: 1 hour Total Marks: 10
1. A 4-bit shift register is shown in Fig.1. With a similar functionality, model a parameterized
N-bit shift register using parameter and generate. D filp-flop and mux modules may
be described using behavioural Verilog statements. Assume reset signal is used in the design,
even though it is not shown explicitly. (4 Marks)
2. Using the N-bit shift register developed in Q1, write a Verilog code to describe the design
given in Fig.2. To increase clarity in the diagram, ‘clk’ and ‘rst’ signal are not shown.
(3 Marks)
-----END-----