The correct one is PACKAGE_PIN. If you do a "report_property" on the port you will see that it has both a LOC and a PACKAGE_PIN property. The LOC constraint is the location on the die, as in IOB_XnnYmm - its grid coordinates. The PACKAGE_PIN property is the name of the package pin to which it is connected. So the correct one is the PACKAGE_PIN.
However, both in UCF as well as in the earliest versions of Vivado, the LOC property was used. So, when you apply a LOC property to a port, it actually cheats, and assigns the value to the PACKAGE_PIN property instead. As a result, the net result is exactly the same if you assign the LOC or PACKAGE_PIN property - but PACKAGE_PIN is the correct one, and in some future version of the tool it may no longer accept LOC in place of PACKAGE_PIN.
本文解释了在电子设计自动化(EDA)工具中,为何应当使用PACKAGE_PIN而非LOC属性来约束I/O端口的位置。尽管早期版本的Vivado等工具接受LOC属性,但未来版本可能仅支持PACKAGE_PIN。文章强调了PACKAGE_PIN属性的重要性,并说明了其与LOC属性的区别。
6349

被折叠的 条评论
为什么被折叠?



