From xilinx-suite
Guides full Xilinx/AMD FPGA/MPSoC workflows: Vivado hardware design/Block Design/IP/XDC/bitstream, Vitis HLS C/C++ IP synthesis, Vitis embedded software, PetaLinux Linux builds. Activates on vivado/fpga/zynq mentions.
npx claudepluginhub qingquanyao/xilinx-skill --plugin xilinx-suiteThis skill uses the workspace's default tool permissions.
本 skill 帮助你完成 Xilinx(AMD)完整设计流程,生成可直接运行的脚本和文件。
Creates comprehensive RTL implementation plans for hardware designs like DMA controllers, UARTs, and memory subsystems, covering blocks, interfaces, clocks, FSMs, and pipelines.
Initializes new RTL/FPGA/ASIC design projects with standard directories (rtl/, refc/, bfm/, sim/, etc.), coding conventions, phase guides, and templates for 6-Phase pipeline. Triggers on 'init project' or new workspaces.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Share bugs, ideas, or general feedback.
本 skill 帮助你完成 Xilinx(AMD)完整设计流程,生成可直接运行的脚本和文件。
收到任何 Xilinx 相关请求时,首先确定用户处于哪个阶段,然后加载对应参考文件。
[可选] Vitis HLS → Vivado → Vitis Unified / PetaLinux
C/C++ 算法 → IP 核 硬件平台设计 软件开发 / Linux 系统
hls_guide.md vivado_guide.md vitis_unified_guide.md
+ mpsoc_ps_config.md petalinux_guide.md
+ xdc_constraints.md
| 用户描述的任务 | 需要的工具 | 加载的参考文件 |
|---|---|---|
| C/C++ 算法加速、pragma 优化、生成 IP | Vitis HLS | ../../references/hls_guide.md |
| 创建工程、Block Design、配置 PS/IP、XDC、比特流 | Vivado | ../../references/vivado_guide.md + 按需加载 |
| PS 详细配置(DDR、MIO、时钟) | Vivado | ../../references/mpsoc_ps_config.md |
| IO 引脚约束、时序约束 | Vivado | ../../references/xdc_constraints.md |
| JESD204B→C 迁移、高速串行 ADC/DAC 接口 | Vivado | ../../references/jesd204b_to_c_migration.md |
| 嵌入式软件、裸机程序、RTOS、platform/domain | Vitis Unified | ../../references/vitis_unified_guide.md |
| 嵌入式 Linux、kernel 配置、rootfs、启动镜像 | PetaLinux | ../../references/petalinux_guide.md |
| PetaLinux 上跑 gRPC C++ 服务端 / Python 客户端、ZMQ→gRPC 迁移、udmabuf+AXI DMA 暴露 RPC | PetaLinux | ../../references/grpc_on_petalinux.md |
在生成任何脚本之前,确认以下信息(没有明确答案的项主动提问):
xczu19eg-ffvc1760-2-i、ZCU104)确认需求后,加载对应参考文件并按步骤生成脚本。
始终在生成脚本之前先读取参考文件,不要凭记忆生成 Tcl/XSCT/命令,因为不同 Vivado/Vitis 版本的 API 有差异。
Vivado 工程 → 先读 ../../references/vivado_guide.md
→ 如有 PS → 再读 ../../references/mpsoc_ps_config.md
→ 如有 IO → 再读 ../../references/xdc_constraints.md
→ 如有 JESD204 → 再读 ../../references/jesd204b_to_c_migration.md
HLS 工程 → 先读 ../../references/hls_guide.md
Vitis 工程 → 先读 ../../references/vitis_unified_guide.md
PetaLinux → 先读 ../../references/petalinux_guide.md
→ 如需 gRPC(C++ server / Python client、ZMQ 迁移)→ 再读 ../../references/grpc_on_petalinux.md
每次生成脚本时,必须提供:
.tcl、.xdc、.py、shell 脚本等)project_root/
├── 01_hls/ ← Vitis HLS 工程(可选)
│ ├── hls_create.tcl
│ └── src/*.cpp / *.h
│
├── 02_vivado/ ← Vivado 硬件工程
│ ├── create_project.tcl
│ ├── create_bd.tcl
│ ├── add_sources.tcl
│ ├── constraints/design.xdc
│ ├── build.tcl
│ └── output/
│ ├── design.bit
│ └── design_fixed.xsa
│
├── 03_vitis/ ← Vitis 软件工程
│ ├── create_platform.tcl (XSCT 脚本)
│ ├── create_app.tcl
│ └── src/*.c / *.h
│
└── 04_petalinux/ ← PetaLinux(可选)
├── build.sh
└── config/
Vitis HLS Vivado Vitis / PetaLinux
─────────────────────────────────────────────────────────────────────────
hls_ip/ → IP Catalog
solution/impl/ip → (add_files / ip_repo)
↓
project.xsa → 平台/BSP/Linux BSP
design.bit → boot/BOOT.BIN
write_hw_platform 替代了旧版 write_sysdef;Vitis Unified 2022.x+ 的 Tcl API 与 Classic 版本有重大差异write_hw_platform(综合前,可编辑)vs write_hw_platform -fixed -include_bit(实现后,固定含比特流)zu 开头 → MPSoC;vu/ku/xc7 → 纯 FPGA;xcvc → Versal../../references/vivado_guide.md:Vivado 工程创建、Block Design、综合实现、报告分析../../references/mpsoc_ps_config.md:Zynq UltraScale+ PS 详细配置(DDR、MIO、时钟参数)../../references/xdc_constraints.md:XDC 约束完整指南(时序、IO、例外约束)../../references/hls_guide.md:Vitis HLS 工程流程(C/C++ → IP)../../references/vitis_unified_guide.md:Vitis Unified IDE 2022.x+ 工程流程../../references/petalinux_guide.md:PetaLinux 系统构建流程../../references/jesd204b_to_c_migration.md:JESD204B→C IP 迁移指南(端口映射、数据位宽、AXI 寄存器、常见陷阱)../../references/grpc_on_petalinux.md:PetaLinux + gRPC 端到端部署指南(rootfs 配置、libutf8_range 软链、VM 预生成 .pb.cc + 板上 g++、udmabuf/AXI DMA RPC 暴露、ZMQ→gRPC 迁移、常见 RCU stall 等陷阱)