wire

Wire class for managing connections between tiles.

Classes

Wire

Store wire connections that span across multiple tiles.

Module Contents

Wire

Wire   :module:

Store wire connections that span across multiple tiles.

If working on connections between two adjacent tiles, the Port class should have all the required information. The main use of this class is to assist model generation, where information at individual wire level is needed.

ivar direction:

The direction of the wire

vartype direction:

Direction

ivar source:

The source name of the wire

vartype source:

str

ivar xOffset:

The X-offset of the wire

vartype xOffset:

int

ivar yOffset:

The Y-offset of the wire

vartype yOffset:

int

ivar destination:

The destination name of the wire

vartype destination:

str

ivar sourceTile:

The source tile name of the wire

vartype sourceTile:

str

ivar destinationTile:

The destination tile name of the wire

vartype destinationTile:

str