Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

macro_gen is an automated digital IC macro generator. It drives ngspice in process via FFI to characterize a reference inverter against a PDK supplied configuration. With the circt feature it goes further: it reads a combinational CIRCT design, builds each gate as a CMOS pull-up and pull-down network, sizes every transistor by logical effort relative to that inverter, optionally buffers the outputs to the optimal number of stages, and writes SPICE, structural Verilog and a sizing report.

Source code: github.com/JoyenBenitto/macro_gen

New here? Getting Started is the fastest path from clone to a generated macro. CMOS Backend covers sizing a design, and Benchmarks the benchmark suite.