# shontaware/sram_sky130 architecture

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

- Interactive diagram: https://gitdiagram.com/shontaware/sram_sky130
- Repository: https://github.com/shontaware/sram_sky130

## Overview

This repository documents a SKY130 SRAM design built with OpenRAM: users configure capacity and process corners, then obtain memory views and characterization outputs. The tree also includes pre-layout circuit schematics/simulations and post-layout artifacts, but their source details are not sampled, so their internal connections are not inferred. The graph emphasizes the documented compiler/configuration workflow and the sampled SKY130 technology support; unsampled domain branches are represented only at their supported directory level.

Main entry points: [`OpenRAM/myconfig_sky130.py`](https://github.com/shontaware/sram_sky130/blob/main/OpenRAM/myconfig_sky130.py) (32×1024 config), [`OpenRAM/myconfig_sky130_2.py`](https://github.com/shontaware/sram_sky130/blob/main/OpenRAM/myconfig_sky130_2.py) (2×16 config), [`OpenRAM/sky130A/tech/tech.py`](https://github.com/shontaware/sram_sky130/blob/main/OpenRAM/sky130A/tech/tech.py) (Process rules), [`OpenRAM/results/SRAM_32x1024`](https://github.com/shontaware/sram_sky130/tree/main/OpenRAM/results/SRAM_32x1024) (32×1024 generated views)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_config["Memory configuration"]
  node_config32["32×1024 config<br/>[myconfig_sky130.py]"]
  node_config2["2×16 config"]
end

subgraph group_compiler["OpenRAM integration"]
  node_openram["OpenRAM compiler"]
end

subgraph group_technology["SKY130 technology"]
  node_skysetup["Technology setup<br/>[__init__.py]"]
  node_techparams["Process rules<br/>[tech.py]"]
  node_skyprimitives["SKY130 cell libraries"]
end

subgraph group_circuits["Circuit design and validation"]
  node_circuits["Pre-layout circuits"]
  node_presim["Pre-layout simulations"]
  node_layouts["Post-layout designs"]
  node_postsims["Post-layout simulations"]
end

subgraph group_outputs["Memory deliverables"]
  node_result32["32×1024 generated views"]
  node_result2["2×16 generated views"]
end

node_designer(("SRAM designer"))
node_integrator(("ASIC integrator"))

node_designer -->|"sets capacity"| node_config32
node_designer -->|"sets capacity"| node_config2
node_config32 -->|"configures"| node_openram
node_config2 -->|"configures"| node_openram
node_openram -->|"uses rules"| node_techparams
node_openram -->|"loads technology"| node_skysetup
node_techparams -.->|"uses primitives"| node_skyprimitives
node_circuits -.->|"simulated in"| node_presim
node_layouts -.->|"simulated in"| node_postsims
node_openram -->|"generates views"| node_result32
node_openram -->|"generates views"| node_result2
node_result32 -->|"supplies IP views"| node_integrator
node_result2 -->|"supplies IP views"| node_integrator

click node_config32 "https://github.com/shontaware/sram_sky130/blob/main/OpenRAM/myconfig_sky130.py"
click node_config2 "https://github.com/shontaware/sram_sky130/blob/main/OpenRAM/myconfig_sky130_2.py"
click node_skysetup "https://github.com/shontaware/sram_sky130/blob/main/OpenRAM/sky130A/__init__.py"
click node_techparams "https://github.com/shontaware/sram_sky130/blob/main/OpenRAM/sky130A/tech/tech.py"
click node_skyprimitives "https://github.com/shontaware/sram_sky130/tree/main/OpenRAM/sky130A"
click node_circuits "https://github.com/shontaware/sram_sky130/tree/main/Prelayout/Spice_models"
click node_presim "https://github.com/shontaware/sram_sky130/tree/main/Prelayout/Simulations"
click node_layouts "https://github.com/shontaware/sram_sky130/tree/main/Postlayout/Layouts"
click node_postsims "https://github.com/shontaware/sram_sky130/tree/main/Postlayout/Simulations"
click node_result32 "https://github.com/shontaware/sram_sky130/tree/main/OpenRAM/results/SRAM_32x1024"
click node_result2 "https://github.com/shontaware/sram_sky130/tree/main/OpenRAM/results/SRAM_2x16"

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_config32,node_config2 toneBlue
class node_openram toneAmber
class node_skysetup,node_techparams,node_skyprimitives toneMint
class node_circuits,node_presim,node_layouts,node_postsims toneRose
class node_result32,node_result2,node_designer,node_integrator toneIndigo
```

## Components

### Memory configuration

- [32×1024 config](https://github.com/shontaware/sram_sky130/blob/main/OpenRAM/myconfig_sky130.py): `OpenRAM/myconfig_sky130.py`
- [2×16 config](https://github.com/shontaware/sram_sky130/blob/main/OpenRAM/myconfig_sky130_2.py): `OpenRAM/myconfig_sky130_2.py`

### OpenRAM integration

- **OpenRAM compiler**

### SKY130 technology

- [Technology setup](https://github.com/shontaware/sram_sky130/blob/main/OpenRAM/sky130A/__init__.py): `OpenRAM/sky130A/__init__.py`
- [Process rules](https://github.com/shontaware/sram_sky130/blob/main/OpenRAM/sky130A/tech/tech.py): `OpenRAM/sky130A/tech/tech.py`
- [SKY130 cell libraries](https://github.com/shontaware/sram_sky130/tree/main/OpenRAM/sky130A): `OpenRAM/sky130A`

### Circuit design and validation

- [Pre-layout circuits](https://github.com/shontaware/sram_sky130/tree/main/Prelayout/Spice_models): `Prelayout/Spice_models`
- [Pre-layout simulations](https://github.com/shontaware/sram_sky130/tree/main/Prelayout/Simulations): `Prelayout/Simulations`
- [Post-layout designs](https://github.com/shontaware/sram_sky130/tree/main/Postlayout/Layouts): `Postlayout/Layouts`
- [Post-layout simulations](https://github.com/shontaware/sram_sky130/tree/main/Postlayout/Simulations): `Postlayout/Simulations`

### Memory deliverables

- [32×1024 generated views](https://github.com/shontaware/sram_sky130/tree/main/OpenRAM/results/SRAM_32x1024): `OpenRAM/results/SRAM_32x1024`
- [2×16 generated views](https://github.com/shontaware/sram_sky130/tree/main/OpenRAM/results/SRAM_2x16): `OpenRAM/results/SRAM_2x16`

### Other components

- **SRAM designer**
- **ASIC integrator**

## Connections

- SRAM designer → 32×1024 config: sets capacity (evidence: `OpenRAM/myconfig_sky130.py`)
- SRAM designer → 2×16 config: sets capacity (evidence: `OpenRAM/myconfig_sky130_2.py`)
- 32×1024 config → OpenRAM compiler: configures (evidence: `README.md`)
- 2×16 config → OpenRAM compiler: configures (evidence: `README.md`)
- OpenRAM compiler → Process rules: uses rules (evidence: `README.md`)
- OpenRAM compiler → Technology setup: loads technology (evidence: `README.md`)
- Process rules → SKY130 cell libraries: uses primitives
- Pre-layout circuits → Pre-layout simulations: simulated in
- Post-layout designs → Post-layout simulations: simulated in
- OpenRAM compiler → 32×1024 generated views: generates views (evidence: `README.md`)
- OpenRAM compiler → 2×16 generated views: generates views (evidence: `README.md`)
- 32×1024 generated views → ASIC integrator: supplies IP views (evidence: `README.md`)
- 2×16 generated views → ASIC integrator: supplies IP views (evidence: `README.md`)
