You are on page 1of 1

Assignment #1(CLO-1)

1. Write a Verilog-2001 code 9-bit parity checker.


 Also write its test bench and include Modelsim simulation waveforms.
 Use your registration number as input in test bench for input.For second input pattern,
use (registration number + 5) while for third input pattern, use (registration number - 5)
for input numbers

2. Write a Verilog-2001for BCD to seven segment decoder:


 Also write its test bench and include Modelsim simulation waveforms.
 Use your registration number as input in test bench for input.For second input pattern,
use (registration number + 5) while for third input pattern, use (registration number - 5)
for input numbers

3. Write a Verilog-2001 code for 8-bit sign magnitude adder using operators and procedural
statements.
 Also write its test bench and include Modelsim simulation waveforms.
 Use your registration number as input in test bench for both numbers. For second input
pattern, use (registration number + 5) for both input numbers. For third input pattern,
use (registration number - 5) for both input numbers

You might also like