# mahesh-allam/synchronous_fifo_verification architecture

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

- Interactive diagram: https://gitdiagram.com/mahesh-allam/synchronous_fifo_verification
- Repository: https://github.com/mahesh-allam/synchronous_fifo_verification

## Overview

This repository implements a parameterized synchronous FIFO and a directed testbench for exercising it. The main workflow is to drive FIFO operations from the testbench and inspect the resulting signals in simulation; verification results are checked manually, not automatically. The RTL behavior and test scenarios are documented in the README, but no source excerpts were provided, so internal RTL structure and the testbench-to-DUT connection are not independently verified here.

Main entry points: [`tb/tb_fifo_sync.sv`](https://github.com/mahesh-allam/synchronous_fifo_verification/blob/main/tb/tb_fifo_sync.sv) (Directed testbench), [`rtl/sync_fifo.sv`](https://github.com/mahesh-allam/synchronous_fifo_verification/blob/main/rtl/sync_fifo.sv) (Synchronous FIFO)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_design["FIFO design"]
  node_fifo["Synchronous FIFO<br/>[sync_fifo.sv]"]
end

subgraph group_verification["Directed verification"]
  node_testbench["Directed testbench<br/>[tb_fifo_sync.sv]"]
end

node_testbench -->|"drives operations"| node_fifo

click node_fifo "https://github.com/mahesh-allam/synchronous_fifo_verification/blob/main/rtl/sync_fifo.sv"
click node_testbench "https://github.com/mahesh-allam/synchronous_fifo_verification/blob/main/tb/tb_fifo_sync.sv"

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_fifo toneBlue
class node_testbench toneAmber
```

## Components

### FIFO design

- [Synchronous FIFO](https://github.com/mahesh-allam/synchronous_fifo_verification/blob/main/rtl/sync_fifo.sv): `rtl/sync_fifo.sv`

### Directed verification

- [Directed testbench](https://github.com/mahesh-allam/synchronous_fifo_verification/blob/main/tb/tb_fifo_sync.sv): `tb/tb_fifo_sync.sv`

## Connections

- Directed testbench → Synchronous FIFO: drives operations (evidence: `README.md`)
