Question:
how to build a 16-4 encoder using 8-3 encoders and OR gates?
webdragon89
2010-10-12 22:59:50 UTC
how to build a 16-4 encoder using 8-3 encoders and OR gates?
Three answers:
Bony
2010-10-14 23:21:40 UTC
** Using the source for reference to the MM74H148 8 line to 3 line encoder,

the connections for a 16 line to 4 line encoder will be described.

.

Three 2 input OR gates are required.

Call the lower priority encoder Encod1, and the higher one Encod2.



The 2 output A0's go to one OR gate to become the final A0 output.

The 2 output A1's go to a second OR gate to become the final A1 output.

The 2 output A2's go to the third OR gate to become the final A2 output.

The GS of Encod2 becomes the final A3 output.

When one or more lows are input to Encod2 it disables Encod1,

by connecting E0 of Encod2 to E1 of Encod1.

Connect the fixed enable; E1 of Encod2 to logic '0'

.

0 to 7 of Encod1 are the final 0 to 7 lower priority inputs.

0 to 7 of Encod2 are the final 8 to 15 higher priority inputs

.

The same principle will apply even if you use a different chip.

.

Please ask should any clarification be required.
ketcham
2016-11-13 14:04:32 UTC
8 To 3 Encoder
2016-04-02 07:24:48 UTC
For the best answers, search on this site https://shorturl.im/axxrV



Use the enable inputs on the encoders (LS138 types). On the first, connect the 8 signal to a low true enable, on the second to a high true enable. Connect the 1-2-4 signals to both encoders in parallel. The first decoder will give you outputs for codes 0 thru 7, then the 8 signal will disable it for codes 8-15. The second encoder will be disabled for codes 0-7, then the 8 signal will enable it for codes 8-15. So you need no AND gates, just the 2 encoders. Be sure to tie the unused enables to hi or lo as needed.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...