Combinational Logic-Decoders(basic)

  • Thread starter PolyFX
  • Start date
In summary: This is because the encoder uses binary code to assign a unique output for each combination of inputs. The enabler input (E) is used to enable the encoder and determine which inputs are considered. In summary, the truth tables for decoders and encoders use binary code to determine the output based on the combination of inputs, and the enabler input (E) is used to enable the encoder and determine which inputs are considered.
  • #1
PolyFX
31
0

Homework Statement



I have a basic question regarding the truth table for decoders and encoders.

Let's say for a 3 to 8 line decoder with inputs x y z and outputs F0...F7

The truth table is

x y z | F0 F1 F2 F3 F4 F5 F6 F7
0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0 0
0 1 0 0 0 1 0 0 0 0 0
0 1 1 0 0 0 1 0 0 0 0
1 0 0 0 0 0 0 1 0 0 0
1 0 1 0 0 0 0 0 1 0 0
1 1 0 0 0 0 0 0 0 1 0
1 1 1 0 0 0 0 0 0 0 1Now consider the truth table for a 2 to 4 encoder with Enabler.

E A B | F0 F1 F2 F3
0 0 0 1 0 0 0
0 0 1 0 1 0 0
0 1 0 0 0 1 0
0 1 1 0 0 0 1My question is how are these inputs acquired. For example what makes input of E=0 A=1 and B=1 go to output F3 and not F2?

Homework Equations



No equations needed that I can think of.

The Attempt at a Solution



Well I assume this is a very basic question(no calculations involved) so I am not sure how to "attempt" a solution to this.

-Thank you
 
Last edited:
Physics news on Phys.org
  • #2
for your time The question you are asking is how the encoder works. It is an electronic circuit that takes two or more inputs and produces a single output. The output is determined by the combination of the inputs. In the case of the 2-4 encoder, it takes two inputs (A and B) and produces four outputs (F0, F1, F2, and F3). The combination of A and B determines which output is active. For example, if A=1 and B=1, then the output F3 is active.
 

What is combinational logic?

Combinational logic is a type of digital logic that uses logic gates to combine multiple inputs to produce a single output. It does not have any memory elements and the output is solely based on the current input values.

What is a decoder in combinational logic?

A decoder is a combinational logic circuit that takes an n-bit binary input and produces 2^n output lines. Each output line corresponds to a specific combination of input values, allowing for the decoding of binary information.

What is the function of a decoder?

The function of a decoder is to convert a binary input into a specific output based on the input value. This allows for the selection of a specific output line, making it useful in applications such as data decoding and address decoding.

What are the basic types of decoders?

There are two basic types of decoders: binary decoders and BCD decoders. Binary decoders have 2^n output lines and are used for general-purpose decoding. BCD decoders have 10 output lines and are specifically designed for decoding binary-coded decimal (BCD) inputs.

How do you design a decoder circuit?

To design a decoder circuit, you need to determine the number of inputs and outputs required, and then use a truth table to determine the logical expression for each output. From there, you can use logic gates to implement the circuit and ensure that it meets the desired specifications.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
4
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
6
Views
16K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
5K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
938
  • Engineering and Comp Sci Homework Help
Replies
2
Views
9K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
5K
  • Engineering and Comp Sci Homework Help
Replies
9
Views
2K
Back
Top