Add pin functions column to package pins output.

This is required to know which pin is a PUDC pin, which requires special
handling.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
This commit is contained in:
Keith Rothman 2019-10-04 15:39:50 -07:00
parent 7a48d1e0e6
commit d490b948e8
1 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ set_property design_mode PinPlanning [current_fileset]
open_io_design -name io_1
set fp [open $::env(XRAY_PART)_package_pins.csv w]
puts $fp "pin,site,tile"
puts $fp "pin,site,tile,pin_function"
foreach pin [get_package_pins] {
set site [get_sites -quiet -of_object $pin]
if { $site == "" } {
@ -11,6 +11,7 @@ foreach pin [get_package_pins] {
}
set tile [get_tiles -of_object $site]
set pin_function [get_property PIN_FUNC [get_package_pins E18]]
puts $fp "$pin,$site,$tile"
puts $fp "$pin,$site,$tile,$pin_function"
}