Assignment - 2: Inputs Outputs
Assignment - 2: Inputs Outputs
1. Using a 4-to-16 line decoder, design an Excess-3 to 8421 code converter. Select gates so as to minimize the
total number of output terminals.
2.
This binary-to-die decoder is also described by the table given below. X represents don't care.
Inputs Outputs
N2 N1 N0 a b c d
0 0 0 x x x x
0 0 1 0 0 0 1
0 1 0 1 0 0 0
0 1 1 1 0 0 1
1 0 0 1 0 1 0
1 0 1 1 0 1 1
1 1 0 1 1 1 0
1 1 1 x x x x
Design this decoder and model using Verilog HDL .
6. Design a combinational logic circuit to generate the 9’s complement of a BCD digit.
Write a Verilog code for the above function in Behavioural model.