[doc] add file formates required by pcf2place
This commit is contained in:
parent
860591ff3f
commit
c16bcd7f63
|
@ -31,3 +31,5 @@ OpenFPGA widely uses XML format for interchangable files
|
|||
bus_group_file
|
||||
|
||||
pcf_file
|
||||
|
||||
pin_table_file
|
||||
|
|
|
@ -0,0 +1,48 @@
|
|||
.. _file_format_pin_table_file:
|
||||
|
||||
Pin Table File (.csv)
|
||||
---------------------
|
||||
|
||||
.. note:: This file is typically a spreadsheet provided by FPGA vendors. Please contact your vendor for the exact file.
|
||||
|
||||
.. note:: OpenFPGA will not include or guarantee the correctness of the file!!!
|
||||
|
||||
The pin table file is the file which describes the pin mapping between a chip and an FPGA inside the chip.
|
||||
|
||||
An example of the file is shown as follows.
|
||||
|
||||
.. code-block:: xml
|
||||
|
||||
orientation,row,col,pin_num_in_cell,port_name,mapped_pin,GPIO_type,Associated Clock,Clock Edge
|
||||
TOP,,,,gfpga_pad_IO_A2F[0],pad_fpga_io[0],,,
|
||||
TOP,,,,gfpga_pad_IO_F2A[0],pad_fpga_io[0],,,
|
||||
TOP,,,,gfpga_pad_IO_A2F[4],pad_fpga_io[1],,,
|
||||
TOP,,,,gfpga_pad_IO_F2A[4],pad_fpga_io[1],,,
|
||||
TOP,,,,gfpga_pad_IO_A2F[8],pad_fpga_io[2],,,
|
||||
TOP,,,,gfpga_pad_IO_F2A[8],pad_fpga_io[2],,,
|
||||
TOP,,,,gfpga_pad_IO_A2F[31],pad_fpga_io[3],,,
|
||||
TOP,,,,gfpga_pad_IO_F2A[31],pad_fpga_io[3],,,
|
||||
RIGHT,,,,gfpga_pad_IO_A2F[32],pad_fpga_io[4],,,
|
||||
RIGHT,,,,gfpga_pad_IO_F2A[32],pad_fpga_io[4],,,
|
||||
RIGHT,,,,gfpga_pad_IO_A2F[40],pad_fpga_io[5],,,
|
||||
RIGHT,,,,gfpga_pad_IO_F2A[40],pad_fpga_io[5],,,
|
||||
BOTTOM,,,,gfpga_pad_IO_A2F[64],pad_fpga_io[6],,,
|
||||
BOTTOM,,,,gfpga_pad_IO_F2A[64],pad_fpga_io[6],,,
|
||||
LEFT,,,,gfpga_pad_IO_F2A[127],pad_fpga_io[7],,,
|
||||
LEFT,,,,gfpga_pad_IO_A2F[127],pad_fpga_io[7],,,
|
||||
|
||||
An pin table may serve in various purposes. However, for OpenFPGA, the following attributes are required
|
||||
|
||||
.. option:: orientation
|
||||
|
||||
Specify on which side the pin locates
|
||||
|
||||
.. option:: port_name
|
||||
|
||||
Specify the port name of the FPGA fabric
|
||||
|
||||
.. option:: mapped_pin
|
||||
|
||||
Specify the pin name of the FPGA chip
|
||||
|
||||
.. warning:: Currently, the direction of the port is inferred by the ``port_name``. A postfix of ``A2F`` indicates an input port, while a postfix of ``F2A`` indicates an output port.
|
|
@ -258,7 +258,7 @@ pcf2place
|
|||
|
||||
.. option:: --pin_table <string>
|
||||
|
||||
Specify the path to the pin table file, which describes the pin mapping between chip I/Os to FPGA I/Os
|
||||
Specify the path to the pin table file, which describes the pin mapping between chip I/Os and FPGA I/Os. See details in :ref:`file_format_pin_table_file`
|
||||
|
||||
.. option:: --fpga_fix_pins <string>
|
||||
|
||||
|
|
Loading…
Reference in New Issue