I'm continuing with the following digital circuit problems.
- Q: What is the difference between a combinational circuit and a sequential circuit?
A: A circuit whose output at any instant depends only on the input at that instant is called a combinational circuit. These circuits therefore have no memory elements. Half adders, full adders, multiplexers, and decoders are examples. On the other hand, a circuit whose output at any instant depends on both the current input and past output values is called a sequential circuit. It therefore has some kind of memory element to store past values. Examples of sequential circuits include flip-flops, registers, and counters.
Q: What is the difference between a multiplexer and a demultiplexer?
- A: An n-to-1 multiplexer, MUX for short, is a device that can select one of n inputs and route it to a single output.
A demultiplexer (DeMUX for short) is basically a multiplexer with its inputs and outputs reversed. A 1-to-n DeMUX has one input and n outputs through which that input can be passed.
Q: Design a 4:1 MUX using 2:1 multiplexers.
A: A 4:1 MUX can be designed using 2:1 MUXes as follows.
Q: What is the difference between an encoder and a decoder?
- A: An encoder converts a language that humans understand into a language that machines understand. An encoder takes a given number of n inputs and encodes them into a smaller number of outputs. An 8→3 encoder can do exactly the opposite of the 3→8 decoder above. It has 8 inputs, and each can be encoded into a 3-bit binary output. A decoder converts a language that machines understand into a language that humans understand. A decoder is a combinational circuit that decodes a given number of inputs into a given number of output signals.
https://msyksphinz-en.hatenablog.com/entry/2023/01/21/040000msyksphinz-en.hatenablog.com
https://msyksphinz-en.hatenablog.com/entry/2023/01/27/040000msyksphinz-en.hatenablog.com
https://msyksphinz-en.hatenablog.com/entry/2023/01/28/040000msyksphinz-en.hatenablog.com
https://msyksphinz-en.hatenablog.com/entry/2023/02/01/040000msyksphinz-en.hatenablog.com
https://msyksphinz-en.hatenablog.com/entry/2023/02/03/040000msyksphinz-en.hatenablog.com
This is an English translation of the original Japanese post: DIGITAL ELECTRONICS NOTESをやってみる (6. 組み合わせ回路)