[Doc] Update bitstream distribution file format

This commit is contained in:
tangxifan 2022-03-29 20:09:24 +08:00
parent fc7864e6a5
commit 907308ee0f
1 changed files with 61 additions and 31 deletions

View File

@ -5,42 +5,72 @@ Bitstream Distribution File (.xml)
The bitstream distribution file aims to show The bitstream distribution file aims to show
- The total number of configuration bits under each block - region-level bitstream distribution
- The number of configuration bits per block - The total number of configuration bits under each region
An example of design constraints is shown as follows. - block-level bitstream distribution
- The total number of configuration bits under each block
- The number of configuration bits per block
An example of the file is shown as follows.
.. code-block:: xml .. code-block:: xml
<block name="fpga_top" number_of_bits="527"> <bitstream_distribution>
<block name="grid_clb_1__1_" number_of_bits="136"> <regions>
</block> <region id="0" number_of_bits="2250">
<block name="grid_io_top_1__2_" number_of_bits="8"> </region>
</block> </regions>
<block name="grid_io_right_2__1_" number_of_bits="8"> <blocks>
</block> <block name="fpga_top" number_of_bits="2250">
<block name="grid_io_bottom_1__0_" number_of_bits="8"> <block name="grid_clb_1__1_" number_of_bits="1700">
</block> </block>
<block name="grid_io_left_0__1_" number_of_bits="8"> <block name="grid_io_top_1__2_" number_of_bits="8">
</block> </block>
<block name="sb_0__0_" number_of_bits="58"> <block name="grid_io_right_2__1_" number_of_bits="8">
</block> </block>
<block name="sb_0__1_" number_of_bits="57"> <block name="grid_io_bottom_1__0_" number_of_bits="8">
</block> </block>
<block name="sb_1__0_" number_of_bits="59"> <block name="grid_io_left_0__1_" number_of_bits="8">
</block> </block>
<block name="sb_1__1_" number_of_bits="56"> <block name="sb_0__0_" number_of_bits="40">
</block> </block>
<block name="cbx_1__0_" number_of_bits="33"> <block name="sb_0__1_" number_of_bits="40">
</block> </block>
<block name="cbx_1__1_" number_of_bits="33"> <block name="sb_1__0_" number_of_bits="40">
</block> </block>
<block name="cby_0__1_" number_of_bits="30"> <block name="sb_1__1_" number_of_bits="40">
</block> </block>
<block name="cby_1__1_" number_of_bits="33"> <block name="cbx_1__0_" number_of_bits="88">
</block> </block>
</block> <block name="cbx_1__1_" number_of_bits="94">
</block>
<block name="cby_0__1_" number_of_bits="88">
</block>
<block name="cby_1__1_" number_of_bits="88">
</block>
</block>
</blocks>
</bitstream_distribution>
Region-Level Bitstream Distribution
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Region-level bitstream distribution is shown under the ``<regions>`` code block
.. option:: id="<string>"
The unique index of the region, which can be found in the :ref:`file_formats_fabric_key`
.. option:: number_of_bits="<string>"
The total number of configuration bits in this region
Block-Level Bitstream Distribution
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Block-level bitstream distribution is shown under the ``<blocks>`` code block
.. option:: name="<string>" .. option:: name="<string>"
The block name represents the instance name which you can find in the fabric netlists The block name represents the instance name which you can find in the fabric netlists