Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
NO.3 DESIGN AND BEHAVIOURAL SIMULATION OF A STATE MACHINE By modifying the 3-bit binary counter in the pre-lab 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 final 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 if 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 7. 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

Step: 3

blur-text-image

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

College Algebra Graphs and Models

Authors: Marvin L. Bittinger, Judith A. Beecher, David J. Ellenbogen, Judith A. Penna

5th edition

321845404, 978-0321791009, 321791002, 978-0321783950, 321783956, 978-0321845405

More Books

Students also viewed these Mathematics questions

Question

1. Prepare a short profile of Mikhail Zoshchenko ?

Answered: 1 week ago

Question

What is psychology disorder?

Answered: 1 week ago