geometry_gen¶
Classes for geometry generation.
Classes¶
Class to handle the generation of the geometry for a fabric. |
Module Contents¶
GeometryGenerator¶
- class GeometryGenerator(fabric)[source]¶
Class to handle the generation of the geometry for a fabric.
- Parameters:
fabric (Fabric) – The fabric object passed from the CSV definition files
- Variables:
fabric (Fabric) – The fabric object passed from the CSV definition files
fabricGeometry (FabricGeometry | None, optional) – The generated geometry object
Methods¶
- generateGeometry(padding=8) None[source]¶
Start the geometry generation for the given fabric.
Creates a
FabricGeometryobject that contains the complete geometric layout of the fabric including all tiles, switch matrices, BELs, and interconnect wiring.- Parameters:
padding (int, optional) – Padding used throughout the geometry, by default 8