Activity 8 - The Little Monkey's mirror chamber (Equality with AND/OR/NOT)

Nuvi dressed as a little monkey

Introduction

In the hall of reflections, the Little Monkey explains:

“To activate the chamber, the signals must match.
If A and B are equal, the door opens.”


Decorative pattern for the logic workshop

Logical goal

Build an output that equals 1 when A = B, using AND/OR/NOT:

See full truth table
ABNOT ANOT BA AND B(NOT A AND NOT B)Output
0011011
0110000
1001000
1100101

Landscape of the magic forest

Simulator instructions

1. Place

Visual example of the XNOR circuit using AND, OR, and NOT with two inputs and one output

2. Connect

  1. A ➔ NOT: NOT_A
  2. B ➔ NOT: NOT_B
  3. A and B ➔ AND1 (branch “both 1”)
  4. NOT_A and NOT_BAND2 (branch “both 0”)
  5. AND1 and AND2OR
  6. OROutput

3. Test

Victory condition: output = 1 if and only if A and B match.


Quick tips


Simulator


What did you learn?


You did it!
Workshop complete