Academic Program

Running the Design

Running the Design

The design used in this tutorial is one single  AND gate.

  • Observe LED1 with Switch 5 and Switch 6 released – it will illuminate
  • Press Switch 5 and observe the behavior of LED1 – it will turn off
  • Press Switch 6 and observe the behavior of LED1 – it will turn off
  • Press both switches and LED1 will turn off.

Intuitively, for an AND gate one would expect that both switches should be depressed to illuminate the LED.

Look again at the images from the User’s Guide on page 13. Releasing the switch generates a logic one, which illuminates the LED. We need to invert the input signals to illuminate the LED when both switches are pressed.