Exercise
https://texercises.com/exercise/multiplexor-gate-from-basic-gates/
Question
Solution
Short
Video
\(\LaTeX\)
No explanation / solution video to this exercise has yet been created.

Visit our YouTube-Channel to see solutions to other exercises.
Don't forget to subscribe to our channel, like the videos and leave comments!
Exercise:
A -to- multiplexer textttMUX takes two inputs A and B and a selector signal S. It outputs one of the two inputs deping on the value of S. If S the output is A if S the output is B. Construct a -to- textttMUX using only basic gates: textttAND textttOR and textttNOT. Draw a circuit diagram for your solution.

Solution:
center circuitikzscale. % NOT gate for S draw nodenot port scale. not ; nodeanchoreast at not.in S; nodeanchorsouth at not.out overlinetextS; % AND gate for A and NOTS draw . nodeand port and ; nodeanchoreast at and.in overlinetextS; nodeanchoreast at and.in A; nodeanchorwest at and.out ; % AND gate for S and B draw .- nodeand port and ; nodeanchoreast at and.in S; nodeanchoreast at and.in B; nodeanchorwest at and.out ; % OR gate for final output draw nodeor port or ; nodeanchorwest at or.out Out; % Connections draw not.out |- and.in ; % Connect NOT S to AND with A draw and.out -- or.in ; % Connect first AND output to OR input draw and.out -- or.in ; % Connect second AND output to OR input circuitikz center array|c|c|c|c| hline textInput A & textInput B & textSelector S & textOutput textOut hline & & & & & & & & & & & & & & & & & & & & & & & & hline array
Meta Information
\(\LaTeX\)-Code
Exercise:
A -to- multiplexer textttMUX takes two inputs A and B and a selector signal S. It outputs one of the two inputs deping on the value of S. If S the output is A if S the output is B. Construct a -to- textttMUX using only basic gates: textttAND textttOR and textttNOT. Draw a circuit diagram for your solution.

Solution:
center circuitikzscale. % NOT gate for S draw nodenot port scale. not ; nodeanchoreast at not.in S; nodeanchorsouth at not.out overlinetextS; % AND gate for A and NOTS draw . nodeand port and ; nodeanchoreast at and.in overlinetextS; nodeanchoreast at and.in A; nodeanchorwest at and.out ; % AND gate for S and B draw .- nodeand port and ; nodeanchoreast at and.in S; nodeanchoreast at and.in B; nodeanchorwest at and.out ; % OR gate for final output draw nodeor port or ; nodeanchorwest at or.out Out; % Connections draw not.out |- and.in ; % Connect NOT S to AND with A draw and.out -- or.in ; % Connect first AND output to OR input draw and.out -- or.in ; % Connect second AND output to OR input circuitikz center array|c|c|c|c| hline textInput A & textInput B & textSelector S & textOutput textOut hline & & & & & & & & & & & & & & & & & & & & & & & & hline array
Contained in these collections:

Attributes & Decorations
Tags
algebra, and, bool, bool'sche, chip, circuit, computer, digital, digitalelektronik, elektronik, gate, logik, logische, not, or, schaltelement, schaltung
Content image
Difficulty
(3, default)
Points
5 (default)
Language
ENG (English)
Type
Calculative / Quantity
Creator uz
Decoration
File
Link