EXPERIMENT 5 Verilog
EXPERIMENT 5 Verilog
5
Aim:- Verilog Implementation of 2 to 1, 4 to 1 and 8 to 1 multiplexers using different
modelling style.
Important Concepts/Theory: -
The multiplexer, shortened to “MUX”, is a combinational logic circuit designed to switch
one of several input lines through to a single common output line by the application of a
control signal. Multiplexers operate like very fast acting multiple position rotary switches
connecting or controlling multiple input lines called “channels” one at a time to the output.
2x1 Multiplexer:
I0
I1
2x1
Logic Function:
Y = D0S’+D1S
4x1 Multiplexer:
I0
I1 Y
I2
4x1
I3
S0
S1
Table 2: Truth Table for 4x1 Mux
Fig. 3: 4x1 Mux Logic Diagram Fig. 4: 4x1 Mux Symbol
Logic Function:
8x1 Multiplexer:
I0
I1
I2 I1
I3
Y
I4
8x1 Mux
I5
I6
S2
I7 S1
S0
Logic Function:
Simulation (waveforms):
1. 2x1 Mux:
Report Results:
RTL Schematic:
1. 2x1 Mux:
Fig. 10: 2x1 Mux
2. 4x1 Mux:
Tech Schematic :
1. 2x1 Mux:
3. 8x1 Mux:
Area Report:
1. 2x1 Mux: Fig. 15: 8x1 Mux
2. 4x1 Mux:
3. 8x1 Mux:
Conclusion:
Verilog HDL code for 2 to 1, 4 to 1 and 8 to 1 multiplexers using different modelling style
has been implemented and their simulation with signals has been tested.
Concept (A) 2
Implementation (B) 2
Performance (C) 2
Total 6