# minhaj9800/lightbarcontrolcircuit architecture

> Architecture diagram of the GitHub repository minhaj9800/lightbarcontrolcircuit, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/minhaj9800/lightbarcontrolcircuit
- Repository: https://github.com/minhaj9800/lightbarcontrolcircuit

## Overview

The repository appears to contain a Verilog FPGA light-bar design, with separate source files named for control, light patterns, and seven-segment decoding. The README provides no product or wiring details, and no source excerpts were available, so the graph identifies these components without asserting connections or behavior. The ClockReduction and Dual7SegMemoryExample directories appear to be separate preparation projects and are not included in the main design map.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_lightbar["Light-bar design"]
  node_top["LightBar top module<br/>[LightBar.v]"]
  node_control["Control circuit<br/>[ControlCircuit.v]"]
  node_pattern0["Light pattern 0<br/>[LightPattern0.v]"]
  node_pattern1["Light pattern 1<br/>[LightPattern1.v]"]
  node_pattern2["Light pattern 2<br/>[LightPattern2.v]"]
  node_pattern3["Light pattern 3<br/>[LightPattern3.v]"]
  node_decoder["Seven-segment decoder<br/>[decoder7Segment.v]"]
end

click node_top "https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/LightBar.v"
click node_control "https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/ControlCircuit.v"
click node_pattern0 "https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/LightPattern0.v"
click node_pattern1 "https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/LightPattern1.v"
click node_pattern2 "https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/LightPattern2.v"
click node_pattern3 "https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/LightPattern3.v"
click node_decoder "https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/decoder7Segment.v"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_top,node_control,node_pattern0,node_pattern1,node_pattern2,node_pattern3,node_decoder toneBlue
```

## Components

### Light-bar design

- [LightBar top module](https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/LightBar.v): `LightBar/LightBar.v`
- [Control circuit](https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/ControlCircuit.v): `LightBar/ControlCircuit.v`
- [Light pattern 0](https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/LightPattern0.v): `LightBar/LightPattern0.v`
- [Light pattern 1](https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/LightPattern1.v): `LightBar/LightPattern1.v`
- [Light pattern 2](https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/LightPattern2.v): `LightBar/LightPattern2.v`
- [Light pattern 3](https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/LightPattern3.v): `LightBar/LightPattern3.v`
- [Seven-segment decoder](https://github.com/minhaj9800/lightbarcontrolcircuit/blob/master/LightBar/decoder7Segment.v): `LightBar/decoder7Segment.v`
