3BSCB - Decoder and Encoder
3BSCB - Decoder and Encoder
information.
• The 2 binary inputs labelled A and B are decoded into one of 4 outputs, hence
the description of 2-to-4 binary decoder.
• Each output represents one of the minterms of the 2 input variables, (each
output = a minterm).
• Therefore, whichever output line is “HIGH” identifies the binary code present
at the input, in other words it “decodes” the binary input.
Decoder
• Some binary decoders have an additional input pin labelled “Enable” that controls the
outputs from the device.
• This extra input allows the decoders outputs to be turned “ON” or “OFF” as required.
• Output is only generated when the Enable input has value 1; otherwise, all outputs are
0.
• Only a small change in the implementation is required: the Enable input is fed into the
AND gates which produce the outputs.
• If Enable is 0, all AND gates are supplied with one of the inputs as 0 and hence no
output is produced.
• When Enable is 1, the AND gates get one of the inputs as 1, and now the output
depends upon the remaining inputs.
• Hence the output of the decoder is dependent on whether the Enable is high or low.
Procedure
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 to select the required inputs named "A" and "B". Also check
their corresponding outputs named "Q0" and "Q1" and "Q2" and "Q3".
Step-4) Press "ADD" button to add your inputs and outputs in the given table.
Step-5) Repeat step 3 & step 4 for next state of inputs and their corresponding outputs.
Step-6) Press the "PRINT" button after completing your simulation to get your results.
Encoder
• An Encoder is a combinational circuit that performs the
is active High.
Step-2) First press "ADD" button to add basic state of your output in the given table.
Step-3) Press the switches to select the required inputs "D0" and "D1" and "D2" and "D3".
Also check their corresponding ouyputs named "Q1" and "Q0".
Step-4) Press "ADD" button to add your inputs and outputs in the given table.
Step-5) Repeat step 3 & step 4 for next state of inputs and their corresponding outputs.
Step-6) Press the "PRINT" button after completing your simulation to get your results.
Thank You
Mail: [email protected]