How fredrief/pade works
PADE is a Python framework for programmatic analog and mixed-signal IC design. A designer models hierarchical circuits and simulation statements, builds and routes a corresponding layout, checks schematic–layout connectivity, then exports layout or runs simulation through a selected backend. The graph also preserves GDS import, Magic export, and netlist readers as distinct capabilities. Relationships come from README statements and the provided source excerpts/index; unsampled implementation details are represented only where documented.
Main entry points: layout/cell.py Layout Cells · core/cell.py Circuit Cells · ngspice/netlist_writer.py NGspice Netlists · spectre/netlist_writer.py Spectre Netlists
Components 23
Circuit Modeling
- Circuit Cells
pade/core/cell.py - Terminals
pade/core/terminal.py - Nets
pade/core/net.py - Parameters
pade/core/parameter.py - Analysis Statements
pade/statement.py
Layout Design
- Layout Cells
pade/layout/cell.py - Shapes & Layers
pade/layout/shape.py - Refs & Pins
pade/layout/ref.py - Transforms
pade/layout/transform.py - Router
pade/layout/route.py - Connectivity Check
pade/layout/connectivity.py
Simulation Backends
- Backend Interfaces
pade/backends/base.py - NGspice Netlists
pade/backends/ngspice/netlist_writer.py - NGspice Simulation
pade/backends/ngspice/simulator.py - Simulation Results
pade/backends/ngspice/results_reader.py - Spectre Netlists
pade/backends/spectre/netlist_writer.py - Spectre Simulation
pade/backends/spectre/simulator.py
Layout I/O
- GDS Import
pade/backends/gds/layout_reader.py - GDS Export
pade/backends/gds/layout_writer.py - Magic Export
pade/backends/magic/layout_writer.py
Other components
- Designer
- NGspice
- Spectre
Connections 26
- Designer → Circuit Cells: defines circuit
README.md - Designer → Layout Cells: builds layout
README.md - Designer → Analysis Statements: sets analyses
README.md - Circuit Cells → Terminals: creates terminals
pade/core/cell.py - Circuit Cells → Nets: connects terminals
pade/core/cell.py - Circuit Cells → Parameters: stores parameters
pade/core/cell.py - Layout Cells → Shapes & Layers: adds shapes
pade/layout/cell.py - Layout Cells → Refs & Pins: creates refs
pade/layout/cell.py - Layout Cells → Transforms: applies transforms
pade/layout/cell.py - Layout Cells → Router: supports routing
README.md - Layout Cells → Connectivity Check: checks connectivity
pade/layout/cell.py - Designer → Connectivity Check: verifies layout
README.md - Circuit Cells → NGspice Netlists: netlists circuit
pade/backends/ngspice/netlist_writer.py - Analysis Statements → NGspice Netlists: supplies statements
pade/backends/ngspice/netlist_writer.py - Backend Interfaces → NGspice Netlists: defines interface
pade/backends/base.py - NGspice Netlists → NGspice Simulation: prepares netlist
pade/backends/ngspice/simulator.py - NGspice Simulation → NGspice: runs simulation
README.md - NGspice Simulation → Simulation Results: produces results
pade/backends/ngspice/simulator.py - Circuit Cells → Spectre Netlists: netlists circuit
pade/backends/spectre/netlist_writer.py - Analysis Statements → Spectre Netlists: supplies statements
pade/backends/spectre/netlist_writer.py - Backend Interfaces → Spectre Netlists: defines interface
pade/backends/base.py - Spectre Netlists → Spectre Simulation: prepares netlist
pade/backends/spectre/simulator.py - Spectre Simulation → Spectre: runs simulation
README.md - Layout Cells → GDS Export: exports layout
README.md - GDS Import → Layout Cells: imports layout
pade/backends/gds/layout_reader.py - Layout Cells → Magic Export: exports layout
README.md