Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚦 Traffic Light Controller (FSM in Verilog)

📌 Project Overview

This project implements a traffic light controller using a Finite State Machine (FSM) in Verilog.
The traffic light cycles through traffic flows for varios routes, with each light active for a fixed number of clock cycles.

The design models a Moore FSM, where outputs (light signals) depend only on the current state.


▶️ Simulation

  1. Compile the design and testbench using your Verilog simulator (e.g., Icarus Verilog, ModelSim, or Vivado).
  2. Run the simulation and generate a waveform (.vcd) file.
  3. Open the waveform in GTKWave (or another viewer) to visualize states and light outputs.

About

This project implements a Finite State Machine (FSM) in Verilog to control a simple traffic light system.The design models real-world sequential logic using a Moore machine (outputs depend only on the current state).A testbench verifies the functionality by simulating clock cycles and observing the light outputs.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages