以 cmac_usplus v3.1 为例。
根据官方文档和社区实践,以下是关于 cmac_usplus 许可证的完整答案:
核心结论
| 问题 | 答案 |
|---|---|
| cmac_usplus 需要购买吗? | 不需要 --- 是 No Charge(免费)许可证 |
| Vivado Standard 能搞定吗? | 能 --- 但需要额外申请免费许可证 |
| AN/LT(自动协商/链路训练)需要购买吗? | 需要 --- 仅用于 100GBASE-KR4/CR4 背板/铜缆应用 |
| 价格 | cmac_usplus 免费;AN/LT 需联系销售报价 |
详细说明
1. cmac_usplus --- 免费(No Charge)
AMD/Xilinx 官方明确说明:
"Hard UltraScale+ Integrated 100G Ethernet Subsystem (no charge license key required)"
"This AMD LogiCORE™ IP module is provided at no additional cost with the AMD Vivado™ Design Suite under the terms of the End User License."
但注意 :虽然免费,必须主动申请许可证才能生成 bitstream,否则会遇到错误:
ERROR: [Common 17-69] Command failed: This design contains one or more cells
for which bitstream generation is not permitted: i_cmac_usplus_0_top
2. 如何申请免费许可证
步骤(来自 Xilinx OpenNIC 官方文档):
- 访问 AMD 产品许可网站
- 登录 AMD 账号
- 点击 "Search Now"(在 "Evaluation and No Charge Cores" 区域)
- 搜索框输入 "100G"
- 选择 "UltraScale+ Integrated 100G Ethernet No Charge License"
- 点击 Add → Generate Node-Locked License
- 下载并安装到 Vivado License Manager
3. AN/LT(自动协商/链路训练)--- 收费
| 应用场景 | 是否需要 AN/LT | 价格 |
|---|---|---|
| 100GBASE-SR4(光纤/QSFP28) | ❌ 不需要 | 免费 |
| 100GBASE-CR4(DAC 铜缆) | ✅ 需要 | 收费 |
| 100GBASE-KR4(背板) | ✅ 需要 | 收费 |
"100GE AN/LT is required for 100GBASE-KR4 or 100GBASE-CR4 applications. For all other applications, such as 100GBASE-SR4, it is not used. If you do not require 100GBASE-KR4 or 100GBASE-CR4, ignore the cmac_an_lt license key warning message in Vivado."
AN/LT 许可证型号:
- Project License :
EF-DI-100GE-AN-LT-PROJ - Site License :
EF-DI-100GE-AN-LT-SITE
价格:需联系当地 AMD 销售代表报价,官网未公开具体金额。
4. Vivado Standard 的兼容性
| Vivado 版本 | cmac_usplus 支持 | 说明 |
|---|---|---|
| Standard(免费) | ✅ 支持 | 需申请 no-charge license |
| Enterprise/ML | ✅ 支持 | 同上 |
| Webpack(旧版) | ❌ 不支持 | Webpack 不支持 UltraScale+ 器件 |
您的 Vivado 2024.1 Standard 完全支持,只需:
- 申请免费的
cmac_usplusno-charge license - 安装到 Vivado License Manager
- 重新生成 IP 输出产品(Reset + Generate Output Products)
5. 关键操作命令
tcl
# 在 Vivado 中检查许可证状态
help> Manage License
# 或 Tcl 命令查看
get_license_info -features cmac_usplus
# 如果添加新许可证后,必须重置 IP
reset_run synth_1
generate_target all [get_ips cmac_usplus_inst]
总结
| 项目 | 费用 | 操作 |
|---|---|---|
cmac_usplus(100G MAC + PCS/PMA) |
免费 | 申请 no-charge license |
cmac_an_lt(自动协商/链路训练) |
收费 | 仅 KR4/CR4 应用需要,联系销售 |
| RS-FEC(作为 cmac_usplus 一部分) | 免费 | 已包含,无需额外许可 |
对于 XCKU5P + QSFP28 100G RoCEv2 网卡 项目(使用 100GBASE-SR4 光纤),只需要免费的 cmac_usplus no-charge license 即可,无需购买任何付费许可证。
加载许可
将Xilinx.lic 拷贝到 ~/.Xilinx/下即可。