OpenFPGA icon indicating copy to clipboard operation
OpenFPGA copied to clipboard

Output FPGA Device Pin Map File

Open tangxifan opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. For user-friendly pin constraint support, the tool requires a device pin map for diverse FPGA architecture/devices. As FPGA sizes are growing, manually crafting a device pin map file is no longer a good way.

Describe the solution you'd like

User interface

OpenFPGA should have a command

write_device_pin_map_file --file <file_name>

to enable the file generation.

File format

  • Currently, the preferred file format is XML.
  • We may consider other file format, e.g., binary, later.
<device_pin_map>
  <pin name="gfpga_pad_f2a[0]" x="0" y="2' z="0"/>
  <!-- More pin map description -->
</device_pin_map>
  • The pin name corresponds to the pin name appearing in the FPGA fabric netlists, generated by OpenFPGA
  • The coordinate of each pin corresponds to the (x, y, z) required by VPR's placement/fix_pins file

tangxifan avatar Jun 02 '22 05:06 tangxifan