Implementation of 4x1 multiplexer and 1x4 demultiplexer using logic gates.

1) 4x1 Multiplexer

Step-1) Connect the supply(+5V)      to the circuit.
Step-2) First press "ADD" button to add basic state of your output in the given table.
Step-3) Press the switches "S0" and "S1"to select the desired input line.
Step-4) Press "D0"/"D1"/"D2"/"D3" any one button to add your inputs.
Step-5) Press "ADD" button to add your inputs and outputs in the given table.
Step-6) Repeat step 3, 4 and step 5 for next state of inputs and their corresponding outputs.
Step-7) Press the "PRINT" button after completing your simulation to get your results.

2) 1x4 De-Multiplexer

Step-1) Connect the supply(+5V)      to the circuit.
Step-2) First press "ADD" button to add basic state of your output in the given table.
Step-3) Press the switch Data(D) for Input.
Step-4) Press switches "S0" and "S1" to select the desired input line.
Step-5) Press "ADD" button to add your inputs and outputs in the given table.
Step-6) Repeat step 4 and step 5 for next state of inputs and their corresponding outputs.
Step-7) Press the "PRINT" button after completing your simulation to get your results.