8-Bit Computer Multiplexer and Demultiplexer

quartus multiplexer
Share:

About

In this post, we’ll take a look at multiplexers and demultiplexers. In my 8-bit computer build, I only used multiplexers, you can see them being used in the clock generation circuits. I will however still cover demultiplexers in this post for the sake of completeness.

Multiplexers are used to select one of the multiple inputs and output it to one common output. Demultiplexers do the opposite of that and take in one input and put it out through one of the multiple outputs that was selected. 

Let’s just take a look at the brief explanations and schematic bellow for a better understanding.

Multiplexer

The first part of the multiplexer is a decoder(see more about decoders in this post). It will take the binary input and decode it to one output. Then each one of the decoder outputs is feed into an AND gate together with one of the inputs. In the end, all the outputs of the AND gates get feed into an OR gate with multiple inputs.

Truth Table

ABOut
00Input1 => Out
10Input2 => Out
01Input3 => Out
11Input4 => Out

Boolean Expression

Out = A'.B'.Input1 + A'.B.Input2 + A.B'.Input3 + A.B.Input4

Demultiplexer

The demultiplexer is basically just a decoder(see more about decoders in this post). It will take the binary input and decode it to one output. Compared to a regular decoder the demultiplexer also takes the data input line and conects to the input of every AND gate in the decoder.

demultiplexer symbol

Truth Table

ABOut
00Input => Out_1
10Input => Out_2
01Input => Out_3
11Input => Out_4

Boolean Expression

Out_1 = A'.B'.Input
Out_2 = A.B'.Input
Out_3 = A'.B.Input
Out_4 = A.B.Input
Share:

Leave a Reply

Your email address will not be published.

The following GDPR rules must be read and accepted:
This form collects your name, email and content so that we can keep track of the comments placed on the website. For more info check our privacy policy where you will get more info on where, how and why we store your data.

Advertisment ad adsense adlogger