Homework 3, A simple lock.

Short Description:

Build the logic for a simple lock that will open for three different values.

Goals

When you finish this homework, you should have:

Formal Description

You have been tasked to design the logic for a simple lock. This lock should take an integer between 0 and 15, and unlock if the input matches any of three different valid codes. In this case your lock should "unlock" for the numbers 5,11 and 12.

Your lock should have four different inputs representing a four bit binary number, and two ouptut leds, one lit when the lock is "unlocked" or has one of the three correct codes, and one that is lit when the lock is not unlocked.

Your circuit should resemble this, with the logic filled in.

Perform the following.

  1. Design the lock in a truth table.
  2. Provide a simple boolean expression for your lock.
  3. Implement your lock in a Digital.

Required Files

Submit a single zip or tar file that contains

Submission

Submit the assignment to the D2L folder homework 3 by the due date.