Verilog HDL Program for 2X1 Multiplexer

a multiplexer (or MUX) is a device that selects one of several analog or digital input signals and forwards the selected input into a single line. A multiplexer of 2n inputs has n select lines, which are used to select which input line to send to the output. Multiplexers are mainly used to increase the amount of data that can be sent over the network within a certain amount of time and bandwidth. A multiplexer is also called a data selector. They are used in CCTV, and almost every business that has CCTV fitted, will own one of these.

1
2
3
4
5
6
7
8
module mux211(q,i1,i0,s);
    output q;
    input i1,i0,s;
    not (u,s);
    and (m,s,i1);
    and (n,u,i0);
    or (q,m,n);
endmodule
Simulated waveform for 2 X 1 Multiplexer
Simulated waveform for 2 X 1 Multiplexer
Ansten Lobo

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest updates on your inbox

Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.

    StudentProjects.in