Crate codegen

source ·
Expand description

Procedural macros for the Substrate analog circuit generator framework.

Macros§

  • Implements substrate::simulation::Supports<Tuple> for Simulator for all tuples up to a specified max size.

Derive Macros§

  • Derives substrate::block::Block for a struct or enum.
  • Derives a derived layer family implementation on a struct.
  • Derives a derived layer set implementation on a struct.
  • Generates an implementation of FromSaved<Sim, Analysis> for a type.
  • Derives Io for a struct.
  • Derives a layer implementation on a tuple struct containing only an ID.
  • Derives a layer family implementation on a struct.
  • Derives a layer set implementation on a struct.
  • Derives substrate::layout::Layout for any Substrate block.
  • Derives substrate::layout::Data for a struct.
  • Derives LayoutType for a struct.
  • Derives substrate::schematic::NestedData for a struct.