Question: Introduction to HDL Project Problem Statement Initially, the FSM is in IDLE state. If there is a vehicle coming detected by the front sensor ,
Introduction to HDL
Project Problem Statement
Initially, the FSM is in IDLE state. If there is a vehicle coming detected by the front sensor FSM is
switched to WAITFORPASSWORD state. The car will input the password in this state; if the password is
correct, the gate is opened to let the car get in the car park and FSM turns to ACCEPTPASS state; a
Green LED will be blinking. Otherwise, FSM turns to DENIEDPASS state; a Red LED will be blinking, and
it requires the car to enter the password again until the password is correct. When the current car gets
into the car park detected by the back sensor and there is the next car coming, the FSM is switched to
STOP state and the Red LED will be blinking so that the next car will be noticed to stop and enter the
password. After the car passes the gate and gets into the car park, the FSM returns to IDLE state.
Please provide the FSM model using Mealy or Moore.
Create a program module in Verilog with corresponding testbench
The password corresponds to a digit number.
Include a counter on how many cars already enter the Car parking system
The car parking system is shown in the following figure. There is a front sensor to detect vehicles going
to the gate of the car parking system. Another back sensor is to detect if the coming vehicle passed the
gate and getting into the car park.
Car Parking System
PROVIDE SCREENSHOT OF THE PROGRAM WORKING! OTHERWISE I WILL DOWNVOTE
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
