So I am currently taking a course where we have to use verilog to create a 2 way traffic light controller. I made my clock divider to make a 50Hz clock become 1Hz and I have also have created my down counter
1st operation
PHASE 1 PHASE 2 PHASE 3 PHASE 4
20s 3s 10s 3s
2nd operation
PHASE 1 PHASE 2 PHASE 3 PHASE 4
25s, 3s, 5s, 3s
PHASE 1 PHASE 2 PHASE 3 PHASE 4
always in this phase1, 3s, 5s, 3s
pahse chart
PHASE -O. PART1 PART2 PART3 PART4
PHASE 1 GREEN RED STOP Countdown
PHASE 2 YELLOW YELLOW STOP STOP
PHASE 3 RED GREEN Countdown STOP
PHASE 4 YELLOW YELLOW STOP STOP
1st operation
PHASE 1 PHASE 2 PHASE 3 PHASE 4
20s 3s 10s 3s
2nd operation
PHASE 1 PHASE 2 PHASE 3 PHASE 4
25s, 3s, 5s, 3s
PHASE 1 PHASE 2 PHASE 3 PHASE 4
always in this phase1, 3s, 5s, 3s
pahse chart
PHASE -O. PART1 PART2 PART3 PART4
PHASE 1 GREEN RED STOP Countdown
PHASE 2 YELLOW YELLOW STOP STOP
PHASE 3 RED GREEN Countdown STOP
PHASE 4 YELLOW YELLOW STOP STOP