SlideShare a Scribd company logo
4
Most read
7
Most read
9
Most read
Experiment 3
Name: Shyamveer Singh
Reg no:11205816
Rollno:B-54
AIM: To implement the multiplexer and demultiplexer with data flow and gate level
molding. Appratus: Xilinx ISE 9.2i.
Theory:
Multiplexer:
A multiplexer is a combinational digital logic switching device that has multiple
inputs and one output. In addition to the input and output lines, the
multiplexer has data select lines through which the data passed from an input
line to the output line.
Demultiplexer :
A demultiplexer is a combinational digital logic switching device that has a
single input line and multiple outputs. In addition to the input and output
lines, the demultiplexer has data select lines through which the data passed
from the input line to an output line is determined.
Truth table:
4:1 Multiplexer:
S0 S1 y
0 0 I0
0 1 I1
1 0 I2
1 1 I3
Multiplexer 2:1:
Veriloge code:
module muxtwo(a,b,s,y);
input a,b,s;
output y;
assign y=((~s)&a)|(s&b);
endmodule
RTL simulation :
Output Waveform
:
Implementation of 4:1
Multiplexer:
Verilog Code:
module muxeight (a,b,c,d,s0,s1,y);
input a,b,c,d,s0,s1;
output y;
wire w1,w2,w3,w4,w5,w6,w7,w8;
not(w1,s0);
not(w2,s1);
not(w3,s0);
not(w4,s1);
and(w5,w1,w2,a);
and(w6,w3,s1,b);
and(w7,so,w4,c);
and(w8,s0,s1,d);
or(y,w5,w6,w7,w8);
endmodule
RTL
Simulation:
Output
waveform:
Implementation of
demultiplexure 1:2;
veriloge code:
module demuxtwo(en,s0,s1,y0,y1);
input en,s0,s1;
output y0,y1;
assign y0=en&(~s0);
assign y1=en&s1;
endmodule
RTL simulation:
Output wave
form
Implementation of Four to One
Decoder:
veriloge code:
module demuxfour(en,s0,s1,y0,y1,y2,y3);
input en,s0,s1;
output y0,y1,y2,y3;
wire w1,w2,w3,w4;
not(w1,s0);
not(w2,s1);
not(w3,s0);
not(w4,s1);
and(y0,en,w1,w2);
and(y1,en,w3,s1);
and(y2,en,s0,w4);
and(y3,en,s0,s1);
endmodule
RTL waveform:
Output
waveform:
Verilog VHDL code Multiplexer and De Multiplexer

More Related Content

What's hot (20)

PDF
MOSFET....complete PPT
Dr. Sanjay M. Gulhane
 
PPT
Encoder, decoder, multiplexers and demultiplexers
pubgalarab
 
PPTX
Microprocessor 8085 complete
Shubham Singh
 
PPTX
MULTIPLEXER
Siddhi Shrivas
 
PPTX
Women safety device with gps tracking and alerts
Praween Lakra
 
PPTX
Arduino and its hw architecture
Zeeshan Rafiq
 
PPTX
R-2R Ladder DAC
Chandul4y
 
PPT
basic-analog-electronics
ATTO RATHORE
 
PPTX
Windowing techniques of fir filter design
Rohan Nagpal
 
PPT
encoder and decoder in digital electronics
vikram rajpurohit
 
PPTX
Presentation on JFET
Md. Ashraf Uddin
 
PPTX
Data flow model -Lecture-4
Dr.YNM
 
PPTX
Flipflop
sohamdodia27
 
PPTX
ADC & DAC
wewe mahir
 
PDF
DAC Interfacing with 8051.pdf
Srikrishna Thota
 
PPTX
(D/A) and (A/D)conversion
Praveen Kumar
 
PPTX
MOSFET and Short channel effects
Lee Rather
 
PDF
Vlsi design notes
Venkat Malai Avichi
 
PPT
MOSFET Small signal model
Team-VLSI-ITMU
 
PPTX
Basics of arduino uno
Rahat Sood
 
MOSFET....complete PPT
Dr. Sanjay M. Gulhane
 
Encoder, decoder, multiplexers and demultiplexers
pubgalarab
 
Microprocessor 8085 complete
Shubham Singh
 
MULTIPLEXER
Siddhi Shrivas
 
Women safety device with gps tracking and alerts
Praween Lakra
 
Arduino and its hw architecture
Zeeshan Rafiq
 
R-2R Ladder DAC
Chandul4y
 
basic-analog-electronics
ATTO RATHORE
 
Windowing techniques of fir filter design
Rohan Nagpal
 
encoder and decoder in digital electronics
vikram rajpurohit
 
Presentation on JFET
Md. Ashraf Uddin
 
Data flow model -Lecture-4
Dr.YNM
 
Flipflop
sohamdodia27
 
ADC & DAC
wewe mahir
 
DAC Interfacing with 8051.pdf
Srikrishna Thota
 
(D/A) and (A/D)conversion
Praveen Kumar
 
MOSFET and Short channel effects
Lee Rather
 
Vlsi design notes
Venkat Malai Avichi
 
MOSFET Small signal model
Team-VLSI-ITMU
 
Basics of arduino uno
Rahat Sood
 

Viewers also liked (20)

PDF
Verilog coding of demux 8 x1
Rakesh kumar jha
 
PPT
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
Vanitha Chandru
 
PPT
Multiplexers & Demultiplexers
Jayanshu Gundaniya
 
PPTX
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
Smit Shah
 
PPTX
Multiplexer and demultiplexer applications.ppsx 3
safia safreen
 
PDF
Microwave multiplexer
Diego Acosta
 
PDF
Verilog lab mauual
BHUSHAN MHASKE
 
DOC
CWDM Multiplexer & Demultiplexer
FIBERSTORE CO., LTD
 
PDF
Ee 352 lab 1 (tutorial) - schwappach - 15 oct 09
Loren Schwappach
 
DOC
Vlsilab13
Krish s
 
PPTX
Vedic multiplier
BHUSHAN MHASKE
 
DOCX
DESIGN OF SIMULATION DIFFERENT 8-BIT MULTIPLIERS USING VERILOG CODE BY SAIKIR...
Saikiran perfect
 
PDF
FPGA Verilog Processor Design
Archana Udaranga
 
DOCX
Lic lab manual 1
Shweta Prabhu
 
PPT
Multiplexers and demultiplexers 2
Nida Fatima
 
PDF
Verilog codes and testbench codes for basic digital electronic circuits.
shobhan pujari
 
PPTX
Four way traffic light conrol using Verilog
Utkarsh De
 
PDF
Lic lab manual
AJAL A J
 
PDF
Military Communications Systems
Spontane_IT
 
PPT
Military Communications Powerpoint Presentation
unrealuploader255
 
Verilog coding of demux 8 x1
Rakesh kumar jha
 
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
Vanitha Chandru
 
Multiplexers & Demultiplexers
Jayanshu Gundaniya
 
MASTER SLAVE JK FLIP FLOP & T FLIP FLOP
Smit Shah
 
Multiplexer and demultiplexer applications.ppsx 3
safia safreen
 
Microwave multiplexer
Diego Acosta
 
Verilog lab mauual
BHUSHAN MHASKE
 
CWDM Multiplexer & Demultiplexer
FIBERSTORE CO., LTD
 
Ee 352 lab 1 (tutorial) - schwappach - 15 oct 09
Loren Schwappach
 
Vlsilab13
Krish s
 
Vedic multiplier
BHUSHAN MHASKE
 
DESIGN OF SIMULATION DIFFERENT 8-BIT MULTIPLIERS USING VERILOG CODE BY SAIKIR...
Saikiran perfect
 
FPGA Verilog Processor Design
Archana Udaranga
 
Lic lab manual 1
Shweta Prabhu
 
Multiplexers and demultiplexers 2
Nida Fatima
 
Verilog codes and testbench codes for basic digital electronic circuits.
shobhan pujari
 
Four way traffic light conrol using Verilog
Utkarsh De
 
Lic lab manual
AJAL A J
 
Military Communications Systems
Spontane_IT
 
Military Communications Powerpoint Presentation
unrealuploader255
 
Ad

Similar to Verilog VHDL code Multiplexer and De Multiplexer (20)

PPTX
module-4_sent to students computer organization.pptx
earningmoney9595
 
PPTX
MULTIPLEXER_DICA UNIT III-III.pptx
sowjanyaatiparthi
 
PDF
multiplexer-demultiplexer.pdfDemultiplexer
mekdiesh
 
PDF
EEE122CombinationalLogicdsddChapter4.pdf
idhrismda7
 
PDF
10 multiplexers-de mux
Sushant Raj Srivastava
 
PPT
combinational circuits - Multiplexer and Demultiplexer
KasthuriKAssistantPr
 
PPTX
L29-memory arrays.pptxiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
rishaddesai420
 
PDF
Digital system design lecture covering Multiplexers
AbusabahIAAhmed1
 
PDF
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
Arti Parab Academics
 
PPTX
De-multiplexer.pptx
Pooja Dixit
 
PPT
multiplexers and demultiplexers
Unsa Shakir
 
DOCX
Multiplexer and De multiplexers.docx
JAMIA MILLIA ISLAMIA,NEW DELHI,110025
 
PPTX
2.4 MUXs & DEMUXs: multiplexers and demultiplexers.pptx
nicedeb699
 
PDF
UNIT3.3.pdf
BunnyYadav7
 
PPTX
Switching theory unit 2
Dr. SURBHI SAROHA
 
PPT
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
KritiArora55
 
PPT
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
SherifElGohary7
 
PPTX
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
Aishah928448
 
PPT
lec13 multiplexing and demultiplexing theory.ppt
LuanRui1
 
PPTX
Glory - MuxDemuxvygytftftftgyguyhuhyufd57.pptx
J. Glory Precious
 
module-4_sent to students computer organization.pptx
earningmoney9595
 
MULTIPLEXER_DICA UNIT III-III.pptx
sowjanyaatiparthi
 
multiplexer-demultiplexer.pdfDemultiplexer
mekdiesh
 
EEE122CombinationalLogicdsddChapter4.pdf
idhrismda7
 
10 multiplexers-de mux
Sushant Raj Srivastava
 
combinational circuits - Multiplexer and Demultiplexer
KasthuriKAssistantPr
 
L29-memory arrays.pptxiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
rishaddesai420
 
Digital system design lecture covering Multiplexers
AbusabahIAAhmed1
 
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
Arti Parab Academics
 
De-multiplexer.pptx
Pooja Dixit
 
multiplexers and demultiplexers
Unsa Shakir
 
Multiplexer and De multiplexers.docx
JAMIA MILLIA ISLAMIA,NEW DELHI,110025
 
2.4 MUXs & DEMUXs: multiplexers and demultiplexers.pptx
nicedeb699
 
UNIT3.3.pdf
BunnyYadav7
 
Switching theory unit 2
Dr. SURBHI SAROHA
 
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
KritiArora55
 
Encoder-Decoder-Multiplexers-and-Demultiplexers.ppt
SherifElGohary7
 
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
Aishah928448
 
lec13 multiplexing and demultiplexing theory.ppt
LuanRui1
 
Glory - MuxDemuxvygytftftftgyguyhuhyufd57.pptx
J. Glory Precious
 
Ad

More from Bharti Airtel Ltd. (20)

PDF
Resume Shyamveer
Bharti Airtel Ltd.
 
DOC
BHEL Final Report
Bharti Airtel Ltd.
 
PPT
BHEL PPT
Bharti Airtel Ltd.
 
PDF
Amplitude modulated-systmes
Bharti Airtel Ltd.
 
PDF
Amplitude modulated-systems
Bharti Airtel Ltd.
 
PDF
Mcq5 ac-fet-amplifiers
Bharti Airtel Ltd.
 
PDF
Mcq6 ac-mosfet-amplifier
Bharti Airtel Ltd.
 
PDF
C bjt-biasing-and-stabilization
Bharti Airtel Ltd.
 
PDF
Mcq6 ac-mosfet-amplifier
Bharti Airtel Ltd.
 
PDF
Mcq4 ac-operational-amplifiers
Bharti Airtel Ltd.
 
PDF
Logic gates-notesdc-iii
Bharti Airtel Ltd.
 
PDF
C bjt-biasing-and-stabilization
Bharti Airtel Ltd.
 
PDF
B bjt-characteristics
Bharti Airtel Ltd.
 
PDF
A bjt-operating-modes-configurations
Bharti Airtel Ltd.
 
PDF
Resume shyam final
Bharti Airtel Ltd.
 
PDF
Noise detection from the signal matlab code, Signal Diagnosis
Bharti Airtel Ltd.
 
PDF
Sequence detector Verilog Code
Bharti Airtel Ltd.
 
PDF
Divine inspiration
Bharti Airtel Ltd.
 
PDF
To designing counters using verilog code
Bharti Airtel Ltd.
 
PDF
Verilog VHDL code Parallel adder
Bharti Airtel Ltd.
 
Resume Shyamveer
Bharti Airtel Ltd.
 
BHEL Final Report
Bharti Airtel Ltd.
 
Amplitude modulated-systmes
Bharti Airtel Ltd.
 
Amplitude modulated-systems
Bharti Airtel Ltd.
 
Mcq5 ac-fet-amplifiers
Bharti Airtel Ltd.
 
Mcq6 ac-mosfet-amplifier
Bharti Airtel Ltd.
 
C bjt-biasing-and-stabilization
Bharti Airtel Ltd.
 
Mcq6 ac-mosfet-amplifier
Bharti Airtel Ltd.
 
Mcq4 ac-operational-amplifiers
Bharti Airtel Ltd.
 
Logic gates-notesdc-iii
Bharti Airtel Ltd.
 
C bjt-biasing-and-stabilization
Bharti Airtel Ltd.
 
B bjt-characteristics
Bharti Airtel Ltd.
 
A bjt-operating-modes-configurations
Bharti Airtel Ltd.
 
Resume shyam final
Bharti Airtel Ltd.
 
Noise detection from the signal matlab code, Signal Diagnosis
Bharti Airtel Ltd.
 
Sequence detector Verilog Code
Bharti Airtel Ltd.
 
Divine inspiration
Bharti Airtel Ltd.
 
To designing counters using verilog code
Bharti Airtel Ltd.
 
Verilog VHDL code Parallel adder
Bharti Airtel Ltd.
 

Recently uploaded (20)

PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PDF
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
PPTX
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
DOCX
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
PPTX
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PPTX
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
PDF
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
PPTX
Hashing Introduction , hash functions and techniques
sailajam21
 
PPTX
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
PPTX
Thermal runway and thermal stability.pptx
godow93766
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PPTX
Day2 B2 Best.pptx
helenjenefa1
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
Design Thinking basics for Engineers.pdf
CMR University
 
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
Hashing Introduction , hash functions and techniques
sailajam21
 
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
Thermal runway and thermal stability.pptx
godow93766
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
Day2 B2 Best.pptx
helenjenefa1
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 

Verilog VHDL code Multiplexer and De Multiplexer

  • 1. Experiment 3 Name: Shyamveer Singh Reg no:11205816 Rollno:B-54 AIM: To implement the multiplexer and demultiplexer with data flow and gate level molding. Appratus: Xilinx ISE 9.2i. Theory: Multiplexer: A multiplexer is a combinational digital logic switching device that has multiple inputs and one output. In addition to the input and output lines, the multiplexer has data select lines through which the data passed from an input line to the output line. Demultiplexer : A demultiplexer is a combinational digital logic switching device that has a single input line and multiple outputs. In addition to the input and output lines, the demultiplexer has data select lines through which the data passed from the input line to an output line is determined. Truth table: 4:1 Multiplexer: S0 S1 y 0 0 I0 0 1 I1 1 0 I2 1 1 I3 Multiplexer 2:1: Veriloge code: module muxtwo(a,b,s,y); input a,b,s; output y; assign y=((~s)&a)|(s&b); endmodule
  • 4. Implementation of 4:1 Multiplexer: Verilog Code: module muxeight (a,b,c,d,s0,s1,y); input a,b,c,d,s0,s1; output y; wire w1,w2,w3,w4,w5,w6,w7,w8; not(w1,s0); not(w2,s1); not(w3,s0); not(w4,s1); and(w5,w1,w2,a); and(w6,w3,s1,b); and(w7,so,w4,c); and(w8,s0,s1,d);
  • 7. Implementation of demultiplexure 1:2; veriloge code: module demuxtwo(en,s0,s1,y0,y1); input en,s0,s1; output y0,y1; assign y0=en&(~s0); assign y1=en&s1; endmodule RTL simulation:
  • 9. Implementation of Four to One Decoder: veriloge code: module demuxfour(en,s0,s1,y0,y1,y2,y3); input en,s0,s1; output y0,y1,y2,y3; wire w1,w2,w3,w4; not(w1,s0); not(w2,s1); not(w3,s0); not(w4,s1); and(y0,en,w1,w2); and(y1,en,w3,s1); and(y2,en,s0,w4); and(y3,en,s0,s1);