Logic implementation for traffic Control Application
In the solution provided Pulse input (PIN) function block is used to
For keeping green light ON ---- input AND gate is used
The inverted output is available with
The total duration for which the red light is kept on is --------
For stopping the sequence, simulate input to the PIN block is