States, Transitions, and EventsImplementing a State MachineUsing Two always or process BlocksUsing One always or process BlockTesting the DesignState Machine Best PracticesProject #6: Creating a Memory GamePlanning the State MachineOrganizing the DesignUsing the Seven-Segment DisplayCoding the Top-Level ModuleCoding the State MachineTesting the Memory GameAdding the Pin ConstraintsBuilding and Programming the FPGASummary