0% found this document useful (0 votes)
246 views4 pages

EXPERIMENT NO 8 Mux and Demux in Verilog

This document describes an experiment to develop Verilog modules for a 4x1 multiplexer and 1x4 demultiplexer. It includes the logic diagrams and Verilog code for the multiplexer and demultiplexer, as well as test benches and output waveforms to verify their functionality. The purpose is to model these devices in Verilog HDL and confirm their truth tables match what is expected.

Uploaded by

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

EXPERIMENT NO 8 Mux and Demux in Verilog

This document describes an experiment to develop Verilog modules for a 4x1 multiplexer and 1x4 demultiplexer. It includes the logic diagrams and Verilog code for the multiplexer and demultiplexer, as well as test benches and output waveforms to verify their functionality. The purpose is to model these devices in Verilog HDL and confirm their truth tables match what is expected.

Uploaded by

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

EXPERIMENT NO.

MUX AND DEMUX IN VERILOG

AIM OF THE EXPERIMENT:

a. Development of verilog modules for a 4x1 MUX.


b. Development of verilog modules for a 1x4 DEMUX.

BRIEF DESCRIPTION

4X1 MULTIPLEXER

Logic Diagram of 4X1 multiplexer


1X4 DEMULTIPLEXER

Logic Diagram of 1X4 de-multiplexer

VERILOG CODE FOR 4X1 MULTIPLEXER

Verilog code Test Bench

VERILOG CODE FOR 1X4 DEMULTIPLEXER

Verilog code Test Bench

OUTPUT WAVEFORMS
4X1 MULTIPLEXER

1x4 DEMULTIPLEXER

INFERENCE

Modelled multiplexer and demultiplexer in verilogHDL and their truth-tables were verified

You might also like