Skip to content

bloqade.lanes.arch.build.blueprint.build_arch

← Module overview

functionbuild_archsource

bloqade.lanes.arch.build.blueprint.build_arch

Signature
def build_arch(blueprint: ArchBlueprint, connections: dict[tuple[str, str], InterZoneTopology] | None = None) -> ArchResult

Build an ArchSpec from a blueprint and inter-zone connections.

One blueprint zone maps to one Rust zone. Entangling pairs are metadata on the zone, not a reason to split into sub-zones.

Parameters

NameTypeDefaultDescription
blueprintArchBlueprintrequiredArchitecture blueprint with zones and layout.
connectionsdict[tuple[str, str], InterZoneTopology] | NoneNoneInter-zone connectivity. Keys are (zone_a, zone_b) name pairs, values are InterZoneTopology instances.

Returns

ArchResultwith the validated ArchSpec and metadata.

source