AMF-Placer  2.0
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
extractDeviceInfo.tcl
Go to the documentation of this file.
1 # replace this with the name for your device
2 set deviceName "VCU108"
3 # replace this path with your one to specify where to store the files of extracted data
4 set targetFolderPath "/home/tingyuan/tmpFiles/"
5 
6 exec mkdir "${targetFolderPath}/${deviceName}"
7 set pahtPrefix "${targetFolderPath}/${deviceName}/${deviceName}_"
8 set script_path [ file dirname [ file normalize [ info script ] ] ]
9 source "${script_path}/extractTileSite.tcl"
10 
11 exec zip -j "${pahtPrefix}DeviceSite.zip" "${pahtPrefix}DeviceSite"
12 exec rm "${pahtPrefix}DeviceSite"
13 
14 unset env(PYTHONPATH)
15 unset env(PYTHONHOME)
16 
17 exec python3 "${script_path}/../VCU108/preprocessPython/exportDeviceLocation.py" "${targetFolderPath}" "${deviceName}"
18 exec zip -j "${pahtPrefix}exportSiteLocation.zip" "${pahtPrefix}exportSiteLocation"
19 exec rm "${pahtPrefix}exportSiteLocation"
20 
21 exec python3 "${script_path}/../VCU108/preprocessPython/getPinOffset.py" "${targetFolderPath}" "${deviceName}"