# Logic Circuit Design

I am not Electrical engineer but I am taking digital logic classes. I have a homework but I didn't understand how to do it. This is the question :

The temperature control logic accepts an 8-bit code representing measured temperature in binary. The measured temperature is compared with a specific field temperature. Design and draw a logic circuit which produced “1” if these two binary values are equal.

How can I compare if these values are equal? 8-bit means there are 8 inputs? I am really stuck here because nobody showed us similar problems in class. Can anybody help?

• If you know how to detect if a single bit is different from another specific bit then perhaps you can expand that.. how far have you actually gotten on this? Mar 11, 2015 at 12:51
• Note that a equality comparison is not what a controller needs. Can you see why? Mar 11, 2015 at 13:22
• @SpehroPefhany I am planning to use XOR gate, when all bits are same result will be 00000000. If I use a inverter, and use AND gate, final result will be 1. Am I thinking correct ? Mar 11, 2015 at 14:02
• @Nick Your thinking is correct, but pay careful attention to Olin's comment about what you actually need to implement a control function. How would you do it manually? Mar 11, 2015 at 14:58
• @SpehroPefhany To be honest I am confused about that comment. Why we don't need a aquality comparison? Mar 11, 2015 at 15:56