# robertgg3112/ldo-gf180 architecture

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

- Interactive diagram: https://gitdiagram.com/robertgg3112/ldo-gf180
- Repository: https://github.com/robertgg3112/ldo-gf180

## Overview

This repository is an analog-design workspace for an LDO using the GF180MCU PDK, accompanied by a script for installing the documented open-source toolchain. The intended workflow is to install the environment, create and simulate schematics, then work on layout and run design-rule checks and extraction; the README also documents LVS and layout viewing. The tree contains a characterization schematic and SPICE deck, but most project directories are placeholders. Relationships below follow the README; no source excerpts were available to verify implementation details.

Main entry points: [`sim`](https://github.com/robertgg3112/ldo-gf180/tree/main/sim) (SPICE Simulation), [`install.sh`](https://github.com/robertgg3112/ldo-gf180/blob/main/install.sh) (Tool Installer), [`xschem`](https://github.com/robertgg3112/ldo-gf180/tree/main/xschem) (Circuit Schematics), [`mag`](https://github.com/robertgg3112/ldo-gf180/tree/main/mag) (Layout Work)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Environment Setup"]
  node_installer["Tool Installer<br/>[install.sh]"]
  node_pdk[("GF180MCU PDK")]
  node_xschem_config["Xschem Configuration"]
end

subgraph group_design["Circuit Design"]
  node_schematics["Circuit Schematics"]
  node_characterization_schematic["Characterization Schematic<br/>[charac.sch]"]
  node_characterization_config["Characterization Xschem Config"]
  node_simulation["SPICE Simulation"]
  node_characterization_deck["Characterization Deck<br/>[charac.spice]"]
  node_ngspice["Ngspice"]
end

subgraph group_physical["Physical Verification"]
  node_layout["Layout Work"]
  node_magic["Magic"]
  node_drc_extraction["DRC and Extraction"]
  node_lvs["LVS"]
  node_netgen["Netgen"]
  node_layout_viewer["Layout Viewer"]
  node_klayout["KLayout"]
end

node_user(("Engineer"))

node_user -->|"runs"| node_installer
node_installer -->|"installs"| node_pdk
node_user -->|"opens"| node_schematics
node_xschem_config -->|"configures paths"| node_pdk
node_schematics -->|"netlists"| node_simulation
node_user -->|"runs"| node_simulation
node_simulation -->|"simulates with"| node_ngspice
node_user -->|"opens"| node_layout
node_layout -->|"uses"| node_magic
node_user -->|"runs"| node_drc_extraction
node_drc_extraction -->|"uses"| node_magic
node_user -->|"runs"| node_lvs
node_lvs -->|"uses"| node_netgen
node_user -->|"opens"| node_layout_viewer
node_layout_viewer -->|"uses"| node_klayout

click node_installer "https://github.com/robertgg3112/ldo-gf180/blob/main/install.sh"
click node_xschem_config "https://github.com/robertgg3112/ldo-gf180/blob/main/xschem/xschemrc"
click node_schematics "https://github.com/robertgg3112/ldo-gf180/tree/main/xschem"
click node_characterization_schematic "https://github.com/robertgg3112/ldo-gf180/blob/main/xschem/caracterizador/charac.sch"
click node_characterization_config "https://github.com/robertgg3112/ldo-gf180/blob/main/xschem/caracterizador/xschemrc"
click node_simulation "https://github.com/robertgg3112/ldo-gf180/tree/main/sim"
click node_characterization_deck "https://github.com/robertgg3112/ldo-gf180/blob/main/sim/caracterizador/charac.spice"
click node_layout "https://github.com/robertgg3112/ldo-gf180/tree/main/mag"
click node_drc_extraction "https://github.com/robertgg3112/ldo-gf180/tree/main/mag"

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_installer,node_pdk,node_xschem_config toneBlue
class node_schematics,node_characterization_schematic,node_characterization_config,node_simulation,node_characterization_deck,node_ngspice toneAmber
class node_layout,node_magic,node_drc_extraction,node_lvs,node_netgen,node_layout_viewer,node_klayout toneMint
class node_user toneIndigo
```

## Components

### Environment Setup

- [Tool Installer](https://github.com/robertgg3112/ldo-gf180/blob/main/install.sh): `install.sh`
- **GF180MCU PDK**
- [Xschem Configuration](https://github.com/robertgg3112/ldo-gf180/blob/main/xschem/xschemrc): `xschem/xschemrc`

### Circuit Design

- [Circuit Schematics](https://github.com/robertgg3112/ldo-gf180/tree/main/xschem): `xschem`
- [Characterization Schematic](https://github.com/robertgg3112/ldo-gf180/blob/main/xschem/caracterizador/charac.sch): `xschem/caracterizador/charac.sch`
- [Characterization Xschem Config](https://github.com/robertgg3112/ldo-gf180/blob/main/xschem/caracterizador/xschemrc): `xschem/caracterizador/xschemrc`
- [SPICE Simulation](https://github.com/robertgg3112/ldo-gf180/tree/main/sim): `sim`
- [Characterization Deck](https://github.com/robertgg3112/ldo-gf180/blob/main/sim/caracterizador/charac.spice): `sim/caracterizador/charac.spice`
- **Ngspice**

### Physical Verification

- [Layout Work](https://github.com/robertgg3112/ldo-gf180/tree/main/mag): `mag`
- **Magic**
- [DRC and Extraction](https://github.com/robertgg3112/ldo-gf180/tree/main/mag): `mag`
- **LVS**
- **Netgen**
- **Layout Viewer**
- **KLayout**

### Other components

- **Engineer**

## Connections

- Engineer → Tool Installer: runs (evidence: `README.md`)
- Tool Installer → GF180MCU PDK: installs (evidence: `README.md`)
- Engineer → Circuit Schematics: opens (evidence: `README.md`)
- Xschem Configuration → GF180MCU PDK: configures paths (evidence: `README.md`)
- Circuit Schematics → SPICE Simulation: netlists (evidence: `README.md`)
- Engineer → SPICE Simulation: runs (evidence: `README.md`)
- SPICE Simulation → Ngspice: simulates with (evidence: `README.md`)
- Engineer → Layout Work: opens (evidence: `README.md`)
- Layout Work → Magic: uses (evidence: `README.md`)
- Engineer → DRC and Extraction: runs (evidence: `README.md`)
- DRC and Extraction → Magic: uses (evidence: `README.md`)
- Engineer → LVS: runs (evidence: `README.md`)
- LVS → Netgen: uses (evidence: `README.md`)
- Engineer → Layout Viewer: opens (evidence: `README.md`)
- Layout Viewer → KLayout: uses (evidence: `README.md`)
