FABulous.fabric_definition.Tile¶
Store information about a tile.
Classes¶
- class Tile(name, ports, bels, tileDir, matrixDir, gen_ios, userCLK, configBit=0, pinOrderConfig=None)[source]¶
Store information about a tile.
- Parameters:
name (str) – The name of the tile
bels (list[Bel]) – List of Basic Elements of Logic (BELs) in the tile
tileDir (Path) – Directory path for the tile
matrixDir (Path) – Directory path for the tile matrix
userCLK (bool) – True if the tile uses a clk signal
configBit (int, optional) – Number of configuration bits for the switch matrix. Default is 0.
pinOrderConfig (dict[Side, PinOrderConfig] | None, optional) – Configuration for pin ordering on each side of the tile. If None, defaults to BUS_MAJOR sorting on all sides.
- partOfSuperTile[source]¶
Whether the tile is part of a super tile. Default is False.
- Type:
bool, optional
- pinOrderConfig[source]¶
Configuration for pin ordering on each side of the tile.
- Type:
dict, optional
Properties:
- property globalConfigBits[source]¶
Get the total number of global configuration bits.
Calculates the sum of switch matrix configuration bits and all BEL configuration bits.
- Returns:
Total number of global configuration bits for the tile.
- Return type:
Methods: