Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
Level/Equality
From Turing Complete
Views
Read
Edit
Edit source
View history
associated-pages
Page
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Header Nav|game=Turing Complete}} {{Infobox level | section = CPU Architecture 2 | type = Component | prerequisite1 = Byte Constant | unlocks-level1 = Unsigned Less | unlocks-level2 = Signed Less | unlocks-component1 = Equal | scored = Yes | highscore = 40 | api-enum-id = byte_equal | api-enum-number = 70 }} This level has you create a circuit that checks if two 8-bit values are identical. One way to do this is to figure out how to check if two bits are identical and then scale that up. And there is a gate for that job, the XNOR Gate. So, this becomes a matter of using two Byte Splitters to get the raw bits and then putting down an XNOR Gate for each pair. Then just use And Gates to check that all bits are equal. [[File:Turing Complete Equality.png]] {{Footer Nav|game=Turing Complete|prevpage=Byte XOR|nextpage=Unsigned Less}}
Summary:
Please note that all contributions to Turing Complete are considered to be released under the Creative Commons Attribution-ShareAlike (see
TuringComplete:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Table of Contents
(
view source
)
Template:-
(
edit
)
Template:Component
(
edit
)
Template:Footer Nav
(
edit
)
Template:Header Nav
(
edit
)
Template:Ifnotempty
(
edit
)
Template:Infobox level
(
edit
)
Template:Level
(
edit
)
Template:P1
(
edit
)
Template:P2
(
edit
)
Template:Truthtable/styles.css
(
edit
)