在FPGA设计过程中,您可以在做出设计决策时更改目标设备
需要更大或不同的部分。KEEP_COMPATIBLE属性定义了一个或
当前设计应兼容的更多Xilinx FPGA部件
根据需要在不同的设备上进行设计。这将允许设计
通过阻止IO的使用,映射到当前部分或任何兼容部分
或指定设备之间不兼容的PACKAGE_PIN。
KEEP_COMPATIBLE属性允许您在早期定义其他兼容设备
设计流程,使I/O引脚分配在指定的兼容列表中工作
设备。Vivado设计套件定义了封装引脚PROHIBIT属性,以防止
将I/O端口分配给并非所有部件都共用的引脚。
Values
COMPATIBLE_PARTs are defined by a combination of the device and the package of the
current target part. For example, the xc7k70tfbg676-2 part has the following properties:
NAME xc7k325tffg676-2
DEVICE xc7k325t
PACKAGE ffg676
COMPATIBLE_PARTS xc7k160tfbg676 xc7k160tffg676 xc7k325tfbg676
xc7k410tfbg676 xc7k410tffg676 xc7k70tfbg676
The COMPATIBLE_PARTS property of the part object lists variations of the DEVICE and the
PACKAGE, without specifying the SPEED. This results in the following compatible parts:
xc7k160tfbg676-1
xc7k160tfbg676-2
xc7k160tfbg676-2L
xc7k160tfbg676-3
xc7k160tffg676-1
xc7k160tffg676-2
xc7k160tffg676-2L
xc7k160tffg676-3
xc7k325tfbg676-1
xc7k325tfbg676-2
xc7k325tfbg676-2L
xc7k325tfbg676-3
xc7k410tfbg676-1
xc7k410tfbg676-2
xc7k410tfbg676-2L
xc7k410tfbg676-3
xc7k410tffg676-1
xc7k410tffg676-2
xc7k410tffg676-2L
xc7k410tffg676-3
xc7k70tfbg676-1
xc7k70tfbg676-2
xc7k70tfbg676-2L
xc7k70tfbg676-3
Syntax
Verilog and VHDL Syntax
Not applicable
XDC Syntax
set_property KEEP_COMPATIBLE {
value1 value2 valueN
} [current_design]
Where
{value1 value2 valueN}
is one or more of the COMPATIBLE_PARTS as defined
on the PART object. The COMPATIBLE_PARTs for the target part of the current design can be
obtained using the following Tcl command:
get_property COMPATIBLE_PARTS [get_property PART [current_design]]
XDC Syntax Example
set_property KEEP_COMPATIBLE {xc7k160tfbg676 xc7k410tffg676} [current_design]