[doc] add the new command file format to documentation

This commit is contained in:
tangxifan 2022-07-26 14:06:07 -07:00
parent 23f98d6a3b
commit bf2b1da801
2 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,51 @@
.. _file_format_io_info_file:
I/O Information File (.xml)
-----------------------
The I/O information file aims to show
- The number of I/O in an FPGA fabric
- The name of each I/O in an FPGA fabric
- The coordinate (in VPR domain) of each I/O in an FPGA fabric
An example of the file is shown as follows.
.. code-block:: xml
<io_coordinates>
<io pad="gfpga_pad_GPIO_PAD[0]" x="1" y="2" z="0"/>
<io pad="gfpga_pad_GPIO_PAD[1]" x="1" y="2" z="1"/>
<io pad="gfpga_pad_GPIO_PAD[2]" x="1" y="2" z="2"/>
<io pad="gfpga_pad_GPIO_PAD[3]" x="1" y="2" z="3"/>
<io pad="gfpga_pad_GPIO_PAD[4]" x="1" y="2" z="4"/>
<io pad="gfpga_pad_GPIO_PAD[5]" x="1" y="2" z="5"/>
<io pad="gfpga_pad_GPIO_PAD[6]" x="1" y="2" z="6"/>
<io pad="gfpga_pad_GPIO_PAD[7]" x="1" y="2" z="7"/>
<io pad="gfpga_pad_GPIO_PAD[8]" x="2" y="1" z="0"/>
<io pad="gfpga_pad_GPIO_PAD[9]" x="2" y="1" z="1"/>
<io pad="gfpga_pad_GPIO_PAD[10]" x="2" y="1" z="2"/>
<io pad="gfpga_pad_GPIO_PAD[11]" x="2" y="1" z="3"/>
<io pad="gfpga_pad_GPIO_PAD[12]" x="2" y="1" z="4"/>
<io pad="gfpga_pad_GPIO_PAD[13]" x="2" y="1" z="5"/>
<io pad="gfpga_pad_GPIO_PAD[14]" x="2" y="1" z="6"/>
<io pad="gfpga_pad_GPIO_PAD[15]" x="2" y="1" z="7"/>
</io_coordinates>
.. option:: pad="<string>"
The port name of the I/O in FPGA fabric, which should be a valid port defined in output Verilog netlist.
.. note:: You should be find the exact pin in the top-level module of FPGA fabric if you output the Verilog netlists.
.. option:: x="<int>"
The x coordinate of the I/O in VPR coordinate system.
.. option:: y="<int>"
The y coordinate of the I/O in VPR coordinate system.
.. option:: z="<int>"
The z coordinate of the I/O in VPR coordinate system.

View File

@ -217,3 +217,22 @@ write_fabric_hierarchy
Show verbose log
.. note:: This file is designed for hierarchical PnR flow, which requires the tree of Multiple-Instanced-Blocks (MIBs).
write_fabric_io_info
~~~~~~~~~~~~~~~~~~~~
Write the I/O information of FPGA fabric to an XML file
.. option:: --file <string> or -f <string>
Specify the file name to write the I/O information
.. option:: --no_time_stamp
Do not print time stamp in bitstream files
.. option:: --verbose
Show verbose log
.. note:: This file is designed for pin constraint file conversion.