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:
- Designed and implemented in Digital a simple circuit.
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.
- Design the lock in a truth table.
- Provide a simple boolean expression for your lock.
- Implement your lock in a Digital.
- Make sure that you test your lock completely.
- Make sure all input and ouput is labeled
- Save your file as a digital file.
- You should only employ and, or and not gates.
- You should follow the example from class.
Required Files
Submit a single zip or tar file that contains
- part 1 and 2 in a word document, along with a screen shot of part 3.
- The digital file that implements part 3.
Submission
Submit the assignment to the D2L folder homework 3 by the due date.