Design Example: Traffic Lights 01

Simple Traffic Light Controller
-------------------------------

Inputs:
clk, reset
next

Outputs:
color (RED, YELLOW, GREEN)

Behavior:
On reset, the 'color' output is set to RED
After reset is deasserted, each 0->1 transition of 'next' results in the 'color' output to cycle through the sequence:
RED -> GREEN -> YELLOW -> RED -> GREEN -> YELLOW .....

Author: editor

Leave a Reply

Your email address will not be published. Required fields are marked *