gen_bitstream_spec¶
Bitstream specification generation module.
This module provides functionality to generate bitstream specifications from FPGA fabric definitions. The specification defines how configuration bits map to physical frame locations and is used during bitstream generation.
Functions¶
|
Check whether the top or bottom fabric row holds any config bits. |
|
Generate the fabric's bitstream specification. |
Module Contents¶
- border_rows_have_config_bits(fabric) bool[source]¶
Check whether the top or bottom fabric row holds any config bits.
- Parameters:
fabric (Fabric) – The fabric object whose border rows are inspected.
- Returns:
True if any tile in the top or bottom row has configuration bits.
- generateBitstreamSpec(fabric) dict[str, dict][source]¶
Generate the fabric’s bitstream specification.
This is needed to tell where each FASM configuration is mapped to the physical bitstream The result file will be further parsed by
bit_gen.py.- Parameters:
fabric (Fabric) – The fabric object for generating the bitstream specification
- Returns:
The bits stream specification of the fabric.