-1
\$\begingroup\$

I'm trying to build an 8-to-3 priority encoder using only nand and nor gates. Below is a 4-2 priority encoder, however it is using only ands, ors, and nots. If I have specific activation levels (some are low and others are high), how would this affect the design of the encoder?

Wikipedia's 4-2 PE

\$\endgroup\$
1
  • 3
    \$\begingroup\$ How come A2 is not connected? \$\endgroup\$
    – Andy aka
    Jun 9, 2015 at 13:03

2 Answers 2

1
\$\begingroup\$

Start with the truth table of the function you want then find out the logic function that fits this table using k-maps: http://www.facstaff.bucknell.edu/mastascu/elessonshtml/Logic/Logic3.html

Then once you have that function, you can convert it to NAND and NOR terms using DeMorgans Square. Then implement that function using your gates and you are done! You can find detailed write ups in most Digital Design textbooks.

\$\endgroup\$
1
0
\$\begingroup\$

You should write the function down and find its Karnaugh map. After than, all you need to do is find its and-or implementation. And-or implemetation is the same with nand-nand implementation. Replace both ands and ors with nands. There is your design.

\$\endgroup\$
2
  • \$\begingroup\$ "Replace both ands and ors with nands". Doesn't this change the activation levels/boolean values of the design? \$\endgroup\$ Jun 9, 2015 at 17:18
  • \$\begingroup\$ AND - OR is equivalent to NAND - NAND. And it does change the logic from positive to negative. A NAND is a Negative OR. \$\endgroup\$ Jun 9, 2015 at 17:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.