A new parking has opened in Bravado street in an effort to provide parking space to all students with brand new cars. You have to design the mechanism to open the gate, with the following specifications:
Inputs: One button to request a ticket, one optical sensor that indicates whether there is a car present in front of the ticket dispenser and another one that indicates whether there is a car at the gate position.
Output: One signal to eject a new ticket, one signal to open (open=1) or close (open=0) the gate.
The user must press the button, then the system should provide a ticket, open the gate, wait for the car to enter and close the gate.
Any condition not specified in the text above can be arbitrarily determined by the designer.
Draw the state flow diagram, assign states, synthesize the next state and output logic and draw the circuit.
Get Answers For Free
Most questions answered within 1 hours.