How sinahileon/stopwatch-in-verilog works
This repository implements an FPGA stopwatch in Verilog. Its documented concepts include sequential state, counters, reset/control inputs, and clock division; the tree also names BCD counting and seven-segment conversion. No source excerpts were provided, so the exact top-level wiring and which counter/divider variants participate in the stopwatch are unverified. The testbench is excluded as non-product code.
Main entry points: stopwatch_top.v Stopwatch top · bcd_counter_0_9.v BCD counter · simple_counter.v Simple counter · clock_divider_50Mhz_to_1Hz.v 1 Hz divider
Components 8
Clocking
- 1 Hz divider
clock_divider_50Mhz_to_1Hz.v - Simple divider
simple_divider.v
Counting and State
- Stopwatch top
stopwatch_top.v - BCD counter
bcd_counter_0_9.v - Simple counter
simple_counter.v - D flip-flop
D_flip_flop.v
Display
- Seven-segment encoder
bcd_to_sev_seg.v
Other components
- Fast clock
Connections 8
- Fast clock → 1 Hz divider: slows
README.md - Stopwatch top → 1 Hz divider: may use
- Stopwatch top → Simple divider: may use
- Stopwatch top → BCD counter: may use
- Stopwatch top → Simple counter: may use
- Stopwatch top → Seven-segment encoder: may use
- BCD counter → D flip-flop: stores state
- Simple counter → D flip-flop: stores state