Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

no.4 DESIGN AND BEHAVIOURAL SIMULATION OF A STATE MACHINE By modifying the 3-bit binary counter in the pre-Iab task, design an FSM-based password unlock unit

image text in transcribed
no.4 DESIGN AND BEHAVIOURAL SIMULATION OF A STATE MACHINE By modifying the 3-bit binary counter in the pre-Iab task, design an FSM-based password unlock unit as shown in Figure 2.1 using Moore state machine. The state in the unit will move from initial state (state 0) to the nal state (state 7) when correct password are keyed in correctly for each of the stage. Each state has two directions it can follow and it depends on input from the KEY entered by the user. The KEY is a 3 slide switches (represents 3-bit binary). The unit can be unlocked it correct password i.e. (7654321) are keyed in accordingly. Incorrect password shall not unlock the unit and the state remains in its current state until correct number entered by the user. Assume that the unit is positive edge CLK triggered with synchronous RESET. The unit IDLE state is state 0 and FINISH at state?. Whenever the RESET is triggered to LOW, the state backs to IDLE state and state 7 (FINISH) is achieved when correct numbers are keyed in. The STATE_OUT bus displays the current state. Based on the specifications given, design the Verilog HDL code, simulate the design and verify its behavioral functionality

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mathematical Applications For The Management, Life And Social Sciences

Authors: Ronald J. Harshbarger, James J. Reynolds

12th Edition

978-1337625340

More Books

Students also viewed these Mathematics questions