0% found this document useful (0 votes)
66 views8 pages

Verilog EXPERIMENT 4

The document describes an experiment to implement 2 to 4 and 3 to 8 decoders in Verilog HDL. It includes the logic diagrams, truth tables, and minterm equations for each decoder. The Verilog code is analyzed and the decoders are simulated to obtain waveforms. The RTL and technology schematics as well as area reports are presented. In conclusion, the experiment successfully implemented and tested the Verilog code for 2 to 4 and 3 to 8 decoders.

Uploaded by

uday
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views8 pages

Verilog EXPERIMENT 4

The document describes an experiment to implement 2 to 4 and 3 to 8 decoders in Verilog HDL. It includes the logic diagrams, truth tables, and minterm equations for each decoder. The Verilog code is analyzed and the decoders are simulated to obtain waveforms. The RTL and technology schematics as well as area reports are presented. In conclusion, the experiment successfully implemented and tested the Verilog code for 2 to 4 and 3 to 8 decoders.

Uploaded by

uday
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

EXPERIMENT 4

Aim: Verilog Implementation of 2 to 4 and 3 to 8 decoders


Important Concept/ Theory:

Decoder is a combinational circuit that has ‘n’ input lines and maximum of 2 n output lines.
One of these outputs will be active High based on the combination of inputs present, when
the decoder is enabled. That means decoder detects a particular code. The outputs of the
decoder are nothing but the min terms of ‘n’ input variables lines, when it is enabled.
 2 to 4 Decoder:

Fig. 1: Logic Diagram of 2 to 4 Decoder Fig. 2: Symbol of 2 to 4 Decoder

Table No. 1: Truth Table for 2 to 4 Decoder


 3 to 8 Decoder:
Fig. 3: Logic Diagram of 3 to 8 Decoder Fig. 4: Symbol of 3 to 8 Decoder

Table No. 2: Truth Table for 3 to 8 Decoder


Minterm Equations:
O0 = C’B’A’; O1 = C’B’A; O2 = C’BA’; O3 = C’BA;
O4 = CB’A’; O5 = CB’A; O6 = CBA’; O7 = CBA;

Design Analysis:
Codes:
1. 2 to 4 Decoder:
2. 3 to 8 Decoder:

Results/ Discussion:-
Simulation (waveforms):
2 to 4 Decoder:
Fig. 5: Simulated Waveform of 2 to 4 Decoder

3 to 8 Decoder:

Fig. 6: Simulated Waveform of 3 to 8 Decoder


Report Results:
RTL Schematic:
2 to 4 Decoder:

Fig. 7: RTL Schematic of 2 to 4 Decoder


Fig. 8: RTL Schematic of 3 to 8 Decoder
Tech Schematic :
2 to 4 Decoder:

Fig. 9: Tech Schematic of 2 to 4 Decoder

Fig. 10: Tech Schematic of 3 to 8 Decoder


Area Report:
2 to 4 Decoder:

3 to 8 Decoder:

Conclusion:
Verilog HDL code for 2 to 4 & 3 to 8 decoder has been implemented and their simulation
with signals has been tested.
Criteria Total Marks Marks Obtained Comments

Concept (A) 2

Implementation (B) 2

Performance (C) 2

Total 6

You might also like