[Tiny Tapeout Puzzles](https://tinytapeout.com/digital_design/)

Set a code for your precious safe!

**Controls**
* Switch 2 is used to reset the safe. 
* Switch 8 is used to set your code (ON = set, OFF = locked)
* Switches 3 to 5 are used to set the code.
* The push button is used to enter your code.

| SW      | Function| 
|---------|---------|
| 1       | N/A     | 
| 2       | Reset   | 
| 3       | Code 0  |
| 4       | Code 1  | 
| 5       | Code 2  | 
| 6       | N/A     |
| 7       | N/A     | 
| 8       | Set Code| 

### To begin

Press the green button in the top left of the pane to begin the simulation.

Set your desired code using Switches 3 to 5. Once you've done so, toggle Switch 8 to ON then back OFF--the safe is now set!

Turn ON Switch 2, and press the push button. The red LED labeled "Locked" should turn on and the seven segment display should show "L" (for locked).

Next turn OFF Switch 2 to begin entering codes.  

ERC Warnings

flop11:CLK: Clock driven by combinatorial logic
flop1:CLK: Clock driven by combinatorial logic
flop2:CLK: Clock driven by combinatorial logic
flop3:CLK: Clock driven by combinatorial logic
flop5:CLK: Clock driven by combinatorial logic
flop7:CLK: Clock driven by combinatorial logic
flop9:CLK: Clock driven by combinatorial logic
flop6:CLK: Clock driven by combinatorial logic
flop10:CLK: Clock driven by combinatorial logic
flop8:CLK: Clock driven by combinatorial logic
1 additional warning(s) hidden