11 Stateful Lock

11 : Stateful Lock

Select Project123456789ONSW2
  • Author: Tim Henkes
  • Description: A little combination lock which requires three codes in the correct order to unlock
  • GitHub repository
  • Clock: 0 Hz

How it works

A little two-bit state machine decides which code is required to enter the next state. The fourth state equals to the lock being open. A wrong code in any state resets to the first state.

How to test

To test the project, refer to its Wokwi, which is public.

IO

#InputOutputBidirectional
0
1
2
3
4
5
6
7