系统分区
在典型设计中,位于设计边缘处的逻辑专门用于与外部器件连接,一般使用标准接口。这方面的实例有 DDR、千兆位
以太网、PCIe、HDMI、ADC/DAC 和 Aurora 接口。对同一家公司内的多种 FPGA 设计而言,这些接口和用于实现它们
的组件一般是标准的。
在高层次生产力设计方法中,该逻辑与核差异化逻辑彼此独立,被视为 shell。下图所示的即为 shell 块设计示例。下图
中心的阴影部分指出了可以添加差异化逻辑或 shell 验证 IP 的区域。
AR# 64059
Using Vivado Simulation Libraries - UNIMACRO Library
搜索另一答复
描述
解决方案
描述
When you instantiate a component in your design, the simulator must reference a library that describes the functionality of the component to ensure proper simulation.
The Xilinx libraries are divided into categories based on the function of the model.
You must specify different simulation libraries according to the simulation points.
This article describe the UNIMACRO library in more detail.
解决方案
The UNIMACRO library is used in behavioral simulation when the RTL instantiates device macros.
See (UG953) Vivado Design Suite 7 Series FPGA and Zynq-7000 SoC Libraries Guide for a list of device macros.
The macros are bound to device primitives based on macro parameter settings.
Therefore in functional simulation, the UNISIM library is used instead.
VHDL UNIMACRO Library
The VHDL UNIMACRO library is located at <Vivado_Install_Dir>/data/vhdl/src/unimacro.
To use these macros, place the following two lines at the beginning of each file:
library UNIMACRO;
use UNIMACRO.Vcomponents.all;
You must also compile the library and map the library to the simulator.
The method depends on the simulator.
Verilog UNIMACRO Library
The Verilog UNIMACRO library is located at <Vivado_Install_Dir>/data/verilog/src/unimacro.
In Verilog, the individual library modules are specified in separate HDL files.
This allows the -y library specification switch to search the specified directory for all components and automatically expand the library.
The Verilog UNIMACRO library does not need to be specified in the HDL file prior to using the module as is required in VHDL.
Verilog is case-sensitive, so ensure that UNIMACRO macro instantiations adhere to an uppercase naming convention, for example, BRAM_TDP_MACRO.
If you use precompiled libraries, use the correct simulator command-line switch to point to the precompiled libraries.
The following is an example for the Vivado simulator:
-L unimacro_ver -L unisims_ver
The UNISIM library is also pointed to because the UNIMACRO models instantiate the underlying UNISIM models.