Theory:-
> An 8-to-3 Encoder is a combinational circuit that converts eight input lines into three binary output lines.
> Operation:
Only one input is assumed to be high (1) at a time.
The encoder produces a 3-bit binary code corresponding to the position of the active input.