logo

Lecture Notes on Multiplexer

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.

To model a multiplexer, an if statement is used to describe the functionality. All of the inputs to the multiplexer are specified in the sensitivity list.

--- Verilog code snippet ---

reg f; 
always @(sel or a or b)
begin
  if (sel == 1)
    f = a;
  else
    f = b;
end
}
74LS153 is a dual 4 to 1 MUX. The design of the IC is like the below:
mux


For detailed information for 74LS153 Dual 4 to 1 Selector/Multiplexer: https://www.futurlec.com/74LS/74LS153.shtml