# madhav-10-lang/test architecture

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

- Interactive diagram: https://gitdiagram.com/madhav-10-lang/test
- Repository: https://github.com/madhav-10-lang/test

## Overview

This repository documents a small RTL-to-GDSII physical-design run for a two-input AND gate. The user-facing workflow starts with Verilog RTL and OpenLane configuration, then proceeds through synthesis and physical implementation to signoff checks and final layout/netlist deliverables. Reports preserve results across synthesis, floorplanning, placement, clock-tree synthesis, routing, and signoff. The flow and tool roles are documented in the README; no implementation excerpts were provided, so relationships below reflect documented stages rather than inspected tool invocations.

Main entry points: [`src/and_gate.v`](https://github.com/madhav-10-lang/test/blob/main/src/and_gate.v) (AND Gate RTL), [`config.json`](https://github.com/madhav-10-lang/test/blob/main/config.json) (OpenLane Config), [`reports/signoff`](https://github.com/madhav-10-lang/test/tree/main/reports/signoff) (Signoff Checks), [`reports/synthesis`](https://github.com/madhav-10-lang/test/tree/main/reports/synthesis) (Synthesis)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Design Inputs"]
  node_rtl["AND Gate RTL<br/>[and_gate.v]"]
  node_config["OpenLane Config<br/>[config.json]"]
end

subgraph group_implementation["Design Flow"]
  node_openlane["OpenLane Run"]
  node_synthesis["Synthesis"]
  node_floorplan["Floorplan"]
  node_placement["Placement"]
  node_cts["Clock Tree"]
  node_routing["Routing"]
end

subgraph group_verification["Reports &amp; Signoff"]
  node_signoff["Signoff Checks"]
  node_metrics["Run Metrics<br/>[metrics.csv]"]
  node_manufacturability["Manufacturability"]
end

subgraph group_deliverables["Deliverables"]
  node_netlist["Gate Netlist<br/>[and_gate.v]"]
  node_gds["GDSII Layout<br/>[and_gate.gds]"]
end

node_designer(("Designer"))

node_designer -->|"provides RTL"| node_rtl
node_designer -->|"configures run"| node_config
node_rtl -->|"design input"| node_openlane
node_config -->|"configures"| node_openlane
node_openlane -->|"runs synthesis"| node_synthesis
node_openlane -->|"runs floorplan"| node_floorplan
node_openlane -->|"runs placement"| node_placement
node_openlane -->|"runs clock tree"| node_cts
node_openlane -->|"runs routing"| node_routing
node_openlane -->|"runs signoff"| node_signoff
node_openlane -->|"records metrics"| node_metrics
node_signoff -->|"reports DRC/LVS"| node_manufacturability
node_openlane -->|"produces netlist"| node_netlist
node_openlane -->|"produces layout"| node_gds

click node_rtl "https://github.com/madhav-10-lang/test/blob/main/src/and_gate.v"
click node_config "https://github.com/madhav-10-lang/test/blob/main/config.json"
click node_synthesis "https://github.com/madhav-10-lang/test/tree/main/reports/synthesis"
click node_floorplan "https://github.com/madhav-10-lang/test/tree/main/reports/floorplan"
click node_placement "https://github.com/madhav-10-lang/test/tree/main/reports/placement"
click node_cts "https://github.com/madhav-10-lang/test/tree/main/reports/cts"
click node_routing "https://github.com/madhav-10-lang/test/tree/main/reports/routing"
click node_signoff "https://github.com/madhav-10-lang/test/tree/main/reports/signoff"
click node_metrics "https://github.com/madhav-10-lang/test/blob/main/reports/metrics.csv"
click node_manufacturability "https://github.com/madhav-10-lang/test/blob/main/reports/manufacturability.rpt"
click node_netlist "https://github.com/madhav-10-lang/test/blob/main/results/and_gate.v"
click node_gds "https://github.com/madhav-10-lang/test/blob/main/results/and_gate.gds"

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_rtl,node_config toneBlue
class node_openlane,node_synthesis,node_floorplan,node_placement,node_cts,node_routing toneAmber
class node_signoff,node_metrics,node_manufacturability toneMint
class node_netlist,node_gds toneRose
class node_designer toneIndigo
```

## Components

### Design Inputs

- [AND Gate RTL](https://github.com/madhav-10-lang/test/blob/main/src/and_gate.v): `src/and_gate.v`
- [OpenLane Config](https://github.com/madhav-10-lang/test/blob/main/config.json): `config.json`

### Design Flow

- **OpenLane Run**
- [Synthesis](https://github.com/madhav-10-lang/test/tree/main/reports/synthesis): `reports/synthesis`
- [Floorplan](https://github.com/madhav-10-lang/test/tree/main/reports/floorplan): `reports/floorplan`
- [Placement](https://github.com/madhav-10-lang/test/tree/main/reports/placement): `reports/placement`
- [Clock Tree](https://github.com/madhav-10-lang/test/tree/main/reports/cts): `reports/cts`
- [Routing](https://github.com/madhav-10-lang/test/tree/main/reports/routing): `reports/routing`

### Reports & Signoff

- [Signoff Checks](https://github.com/madhav-10-lang/test/tree/main/reports/signoff): `reports/signoff`
- [Run Metrics](https://github.com/madhav-10-lang/test/blob/main/reports/metrics.csv): `reports/metrics.csv`
- [Manufacturability](https://github.com/madhav-10-lang/test/blob/main/reports/manufacturability.rpt): `reports/manufacturability.rpt`

### Deliverables

- [Gate Netlist](https://github.com/madhav-10-lang/test/blob/main/results/and_gate.v): `results/and_gate.v`
- [GDSII Layout](https://github.com/madhav-10-lang/test/blob/main/results/and_gate.gds): `results/and_gate.gds`

### Other components

- **Designer**

## Connections

- Designer → AND Gate RTL: provides RTL (evidence: `README.md`)
- Designer → OpenLane Config: configures run (evidence: `README.md`)
- AND Gate RTL → OpenLane Run: design input (evidence: `README.md`)
- OpenLane Config → OpenLane Run: configures (evidence: `README.md`)
- OpenLane Run → Synthesis: runs synthesis (evidence: `README.md`)
- OpenLane Run → Floorplan: runs floorplan (evidence: `README.md`)
- OpenLane Run → Placement: runs placement (evidence: `README.md`)
- OpenLane Run → Clock Tree: runs clock tree (evidence: `README.md`)
- OpenLane Run → Routing: runs routing (evidence: `README.md`)
- OpenLane Run → Signoff Checks: runs signoff (evidence: `README.md`)
- OpenLane Run → Run Metrics: records metrics (evidence: `README.md`)
- Signoff Checks → Manufacturability: reports DRC/LVS (evidence: `README.md`)
- OpenLane Run → Gate Netlist: produces netlist (evidence: `README.md`)
- OpenLane Run → GDSII Layout: produces layout (evidence: `README.md`)
