RPM_GRID

RPM_GRID属性将RLOC网格定义为绝对坐标,而不是相对坐标
协调。RPM_GRID系统用于单元所属的异构RPM
不同的站点类型(如SLICE、块RAM和DSP的组合)。因为
单元可以占用各种大小的站点,RPM_GRID系统使用绝对RPM_GRID
直接从目标设备导出的坐标。
RPM_GRID值在Vivado集成的“站点属性”窗口中可见
在“设备”窗口中选择特定站点时的设计环境(IDE)。这个
还可以使用RPM_X和RPM_Y站点使用Tcl命令查询坐标
物业。有关使用RPM_GRID属性和定义RPM的更多信息
绝对坐标,请参阅《Vivado Design Suite用户指南:使用约束》
(UG903)[参考文献19]。

架构支持
所有架构。
适用对象
•单元(get_cell)
价值观
•“GRID”:RPM_GRID属性和GRID关键字组合在一起,通知Vivado
设计套件,指定的RLOC是目标的绝对网格坐标
而不是通常由RLOC指定的相对坐标。

Syntax
Verilog Syntax
Place the Verilog attribute immediately before the module or instantiation. Specify as
follows:
(* RPM_GRID = "GRID" *)
Verilog Example
module iddr_regs
(
input clk, d,
output y, z
);
(* RLOC = "X130Y195" *) IDDR ireg (.C(clk_i), .D(d), .Q1(q1), .Q2(q2));
defparam ireg.DDR_CLK_EDGE = "SAME_EDGE";
(* RLOC = "X147Y194" *) FD q1reg (.C(clk_i), .D(q1), .Q(y));
(* RLOC = "X147Y194", RPM_GRID = "GRID" *) FD q2reg (.C(clk_i), .D(q2), .Q(z));
endmodule // iddr_regs
VHDL Syntax
To use the RPM_GRID system, first define the attribute, then add the attribute to one of the
design elements:
attribute RPM_GRID of ram0 : label is "GRID";
Declare the VHDL constraint as follows:
attribute RPM_GRID : string;
Specify the VHDL constraint as follows:
attribute RPM_GRID of {component_name | entity_name} :
{component|entity} is “GRID”;
XDC Syntax
The RPM_GRID property is assigned in the RTL source file, and cannot be defined in XDC
files or with Tcl commands. However, for XDC macros, the corresponding construct is the
-absolute_grid option used with the update_macros command.
Affected Steps
• Logical to Physical Mapping
• Place Design
• Synthesis
绘制发动机 Map 图的方法有很多,这里提供一种常用的方法: 1. 准备数据:收集发动机的实验数据,包括不同转速和负载下的功率、扭矩和油耗等数据。 2. 导入数据:将数据导入 MATLAB 软件中,可以使用 `xlsread` 函数读取 Excel 文件中的数据,也可以使用 `importdata` 函数读取文本文件中的数据。 3. 处理数据:根据实验数据,计算出不同转速和负载下的功率、扭矩和油耗等参数。可以使用 MATLAB 中的各种函数进行数据处理和分析,例如 `interp2` 函数进行插值计算,`meshgrid` 函数生成矩阵,`plot` 函数进行绘图等。 4. 绘制 Map 图:使用 `surf` 函数或 `mesh` 函数绘制三维图形,用颜色表示不同的数值。可以使用 `colormap` 函数设置颜色映射表,使得 Map 图更加直观清晰。 下面是一个简单的示例代码: ```matlab % 导入数据 data = xlsread('engine_data.xlsx'); % 处理数据 rpm = data(:, 1); load = data(:, 2); power = data(:, 3); torque = data(:, 4); fuel = data(:, 5); rpm_range = linspace(min(rpm), max(rpm), 100); load_range = linspace(min(load), max(load), 100); [rpm_grid, load_grid] = meshgrid(rpm_range, load_range); power_grid = griddata(rpm, load, power, rpm_grid, load_grid); torque_grid = griddata(rpm, load, torque, rpm_grid, load_grid); fuel_grid = griddata(rpm, load, fuel, rpm_grid, load_grid); % 绘制 Map 图 figure; subplot(2, 2, 1); surf(rpm_grid, load_grid, power_grid); colormap(jet); xlabel('RPM'); ylabel('Load'); zlabel('Power'); title('Power Map'); subplot(2, 2, 2); surf(rpm_grid, load_grid, torque_grid); colormap(jet); xlabel('RPM'); ylabel('Load'); zlabel('Torque'); title('Torque Map'); subplot(2, 2, 3); surf(rpm_grid, load_grid, fuel_grid); colormap(jet); xlabel('RPM'); ylabel('Load'); zlabel('Fuel Consumption'); title('Fuel Consumption Map'); ``` 运行以上代码,就可以绘制出发动机的功率、扭矩和油耗 Map 图了。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

cckkppll

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值