FABulous.fabric_definition.Fabric#
FPGA fabric definition module.
This module contains the Fabric class which represents the complete FPGA fabric including tile layout, configuration parameters, and connectivity information. The fabric is the top-level container for all tiles, BELs, and routing resources.
Classes#
- class Fabric[source]#
Store the configuration of a fabric.
All the information is parsed from the CSV file.
- configMitMode#
The configuration bit mode of the fabric. Currently supports frame based or ff chain
- Type:
- multiplexerStyle[source]#
The style of the multiplexer used in the fabric. Currently supports custom or generic
- Type:
- desync_flag[source]#
The flag indicating desynchronization status, used to manage timing issues within the fabric.
- Type:
- tileDic[source]#
A dictionary of tiles used in the fabric. The key is the name of the tile and the value is the tile.
- superTileDic[source]#
A dictionary of super tiles used in the fabric. The key is the name of the supertile and the value is the supertile.
- unusedTileDic[source]#
A dictionary of tiles that are not used in the fabric, but defined in the fabric.csv. The key is the name of the tile and the value is the tile.
- unusedSuperTileDic[source]#
A dictionary of super tiles that are not used in the fabric, but defined in the fabric.csv. The key is the name of the tile and the value is the tile.
Methods:
- getBelsByTileXY(x, y)[source]#
Get all the Bels of a tile.
- Parameters:
- Returns:
A list of Bels in the tile.
- Return type:
- Raises:
ValueError – Tile coordinates are out of range.
- getSuperTileByName(name)[source]#
Get a supertile by its name from the fabric.
Searches for the supertile first in the used supertiles dictionary, then in the unused supertiles dictionary if not found.