[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71Y0TN4ZA0RF9Q7S97Z4YNS":3,"skill-same:01M71Y0TN4ZA0RF9Q7S97Z4YNS":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":24,"linkOnly":25,"markdownContent":26,"markdownBody":27,"frontMatter":28,"refName":29,"commitSha":30,"skillDirectory":5,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M71Y0TN4ZA0RF9Q7S97Z4YNS","axion-hdl",null,"当用户想要使用 axion-hdl 从 YAML 或 HDL 注释生成 AXI4-Lite 寄存器接口，或使用 axion-hdl GUI 模式的时候，使用该技能。","ra9fael\u002Fxilinx-skills","ra9fael","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42881610?v=4","01M71XZ3B4BV0N7JVGFJEC9CY0","飞","01M71XZ3BRK8TJRT44W0YDR0ZG",3,"GPL-2.0","https:\u002F\u002Fgithub.com\u002Fra9fael\u002Fxilinx-skills\u002Fblob\u002Fmain\u002Faxion-hdl\u002FSKILL.md",[],[19,20,21,22,23],"axion hdl","yaml","生成","gui","lite","2026-11-10 13:45:54",false,"---\nname: axion-hdl\ndescription: 当用户想要使用 axion-hdl 从 YAML 或 HDL 注释生成 AXI4-Lite 寄存器接口，或使用 axion-hdl GUI 模式的时候，使用该技能。\n---\n\n# Axion 使用指南\n\n## 前提条件\n- **Python 3.7+**\n- **GHDL**（可选，仅仿真时需要）\n- 已激活 axion-hdl 专用的虚拟环境，或当前环境中已安装 axion-hdl\n- 可通过 `pip list` + grep 查看是否已安装，或直接执行 `axion -h` 测试是否报错\n\n## 何时使用此技能\n- 用户需要生成 AXI4-Lite 寄存器接口\n- 用户提供了 YAML \u002F JSON 格式的寄存器定义，或 HDL 代码中包含 `@axion` 注释\n- 用户需要使用 axion-hdl GUI 模式\n\n本指南将带您完成 Axion-HDL 的安装，并帮助您创建第一个寄存器接口。\n\n## 安装依赖\n\nAxion-HDL 可从 PyPI 获取：\n\n```bash\npip install axion-hdl[gui]\n```\n\n\n## 快速入门\n\n### 步骤 1：定义寄存器\n\n您可以在 YAML\u002FTOML 文件中定义寄存器，也可以直接在 VHDL\u002FSystemVerilog 源代码中使用 `@axion` 注释来定义。\n\n**方式 A — YAML 文件** `led_blinker.yaml`:\n\n```yaml\nmodule: led_blinker\nbase_addr: \"0x0000\"\nregisters:\n  - name: control\n    addr: \"0x00\"\n    access: RW\n    width: 32\n    description: \"LED control register\"\n\n  - name: led_state\n    addr: \"0x04\"\n    access: RO\n    width: 32\n    description: \"Current LED state\"\n\n  - name: period_ms\n    addr: \"0x08\"\n    access: RW\n    width: 32\n    default: 500\n    description: \"Blink period in milliseconds\"\n```\n\n**方式 B — TOML 文件** `led_blinker.toml`:\n\n```toml\nmodule = \"led_blinker\"\nbase_addr = \"0x0000\"\n\n[[registers]]\nname = \"control\"\naddr = \"0x00\"\naccess = \"RW\"\nwidth = 32\ndescription = \"LED control register\"\n\n[[registers]]\nname = \"led_state\"\naddr = \"0x04\"\naccess = \"RO\"\nwidth = 32\ndescription = \"Current LED state\"\n\n[[registers]]\nname = \"period_ms\"\naddr = \"0x08\"\naccess = \"RW\"\nwidth = 32\ndefault = 500\ndescription = \"Blink period in milliseconds\"\n```\n\n**方式 C — SystemVerilog 源代码** `led_blinker.sv`:\n\n```systemverilog\nmodule led_blinker (\n    input logic clk\n);\n    logic [31:0] control;   \u002F\u002F @axion RW DESC=\"LED control register\"\n    logic [31:0] led_state; \u002F\u002F @axion RO DESC=\"Current LED state\"\n    logic [31:0] period_ms; \u002F\u002F @axion RW DEFAULT=500 DESC=\"Blink period in milliseconds\"\nendmodule\n```\n\n注意：仅写 `\u002F\u002F @axion`（不带任何属性）也是合法的——默认采用 RW 访问模式，并自动分配地址。\n\n### 步骤 2：生成输出文件\n\n```bash\n# 从 YAML\u002FTOML 文件生成\naxion-hdl -s led_blinker.yaml -o output --all\n\n# 从 SystemVerilog 源代码生成\naxion-hdl -s led_blinker.sv -o output --sv --c-header --doc\n```\n\n### 步骤 3：查看生成的文件\n\n`output\u002F` 目录中将包含以下文件：\n\n| 文件名 | 说明 |\n|------|-------------|\n| `led_blinker_axion_reg.vhd` | AXI4-Lite 从机模块（VHDL）|\n| `led_blinker_axion_reg.sv` | AXI4-Lite 从机模块（SystemVerilog）|\n| `led_blinker_regs.h` | 包含宏定义的 C 头文件 |\n| `index.html` | 寄存器文档主页 |\n| `html\u002F` | 各模块的文档页面 |\n| `led_blinker_regs.xml` | IP-XACT 格式描述 |\n| `led_blinker_regs.yaml` | YAML 格式寄存器映射 |\n| `led_blinker_regs.json` | JSON 格式寄存器映射 |\n\n### 步骤 4：集成到设计\n\n在顶层 VHDL 设计中实例化生成的模块：\n\n```vhdl\nled_blinker_regs : entity work.led_blinker_axion_reg\n    port map (\n        axi_aclk    => clk,\n        axi_aresetn => rst_n,\n        -- AXI4-Lite 总线信号\n        axi_awaddr  => s_axi_awaddr,\n        axi_awvalid => s_axi_awvalid,\n        -- ... 其他 AXI 信号 ...\n        -- 寄存器信号连接\n        control     => control_reg,\n        led_state   => led_state_sig,\n        period_ms   => period_reg\n    );\n```\n\n或在 SystemVerilog 中实例化：\n\n```systemverilog\nled_blinker_axion_reg u_regs (\n    .axi_aclk    (clk),\n    .axi_aresetn (rst_n),\n    \u002F\u002F AXI4-Lite 总线信号\n    .axi_awaddr  (s_axi_awaddr),\n    .axi_awvalid (s_axi_awvalid),\n    \u002F\u002F ... 其他 AXI 信号 ...\n    \u002F\u002F 寄存器信号连接\n    .control     (control_reg),\n    .led_state   (led_state_sig),\n    .period_ms   (period_reg)\n);\n```\n\n\n## 参考文档\n如需了解更多用法细节，请参阅 `references\u002F` 目录下的文件：\n- `cli-usage.md` — axion-hdl 命令行模式用法\n- `gui.md` — axion-hdl GUI 模式用法\n- `outputs.md` — axion-hdl 输出文件说明\n","# Axion 使用指南\n\n## 前提条件\n- **Python 3.7+**\n- **GHDL**（可选，仅仿真时需要）\n- 已激活 axion-hdl 专用的虚拟环境，或当前环境中已安装 axion-hdl\n- 可通过 `pip list` + grep 查看是否已安装，或直接执行 `axion -h` 测试是否报错\n\n## 何时使用此技能\n- 用户需要生成 AXI4-Lite 寄存器接口\n- 用户提供了 YAML \u002F JSON 格式的寄存器定义，或 HDL 代码中包含 `@axion` 注释\n- 用户需要使用 axion-hdl GUI 模式\n\n本指南将带您完成 Axion-HDL 的安装，并帮助您创建第一个寄存器接口。\n\n## 安装依赖\n\nAxion-HDL 可从 PyPI 获取：\n\n```bash\npip install axion-hdl[gui]\n```\n\n\n## 快速入门\n\n### 步骤 1：定义寄存器\n\n您可以在 YAML\u002FTOML 文件中定义寄存器，也可以直接在 VHDL\u002FSystemVerilog 源代码中使用 `@axion` 注释来定义。\n\n**方式 A — YAML 文件** `led_blinker.yaml`:\n\n```yaml\nmodule: led_blinker\nbase_addr: \"0x0000\"\nregisters:\n  - name: control\n    addr: \"0x00\"\n    access: RW\n    width: 32\n    description: \"LED control register\"\n\n  - name: led_state\n    addr: \"0x04\"\n    access: RO\n    width: 32\n    description: \"Current LED state\"\n\n  - name: period_ms\n    addr: \"0x08\"\n    access: RW\n    width: 32\n    default: 500\n    description: \"Blink period in milliseconds\"\n```\n\n**方式 B — TOML 文件** `led_blinker.toml`:\n\n```toml\nmodule = \"led_blinker\"\nbase_addr = \"0x0000\"\n\n[[registers]]\nname = \"control\"\naddr = \"0x00\"\naccess = \"RW\"\nwidth = 32\ndescription = \"LED control register\"\n\n[[registers]]\nname = \"led_state\"\naddr = \"0x04\"\naccess = \"RO\"\nwidth = 32\ndescription = \"Current LED state\"\n\n[[registers]]\nname = \"period_ms\"\naddr = \"0x08\"\naccess = \"RW\"\nwidth = 32\ndefault = 500\ndescription = \"Blink period in milliseconds\"\n```\n\n**方式 C — SystemVerilog 源代码** `led_blinker.sv`:\n\n```systemverilog\nmodule led_blinker (\n    input logic clk\n);\n    logic [31:0] control;   \u002F\u002F @axion RW DESC=\"LED control register\"\n    logic [31:0] led_state; \u002F\u002F @axion RO DESC=\"Current LED state\"\n    logic [31:0] period_ms; \u002F\u002F @axion RW DEFAULT=500 DESC=\"Blink period in milliseconds\"\nendmodule\n```\n\n注意：仅写 `\u002F\u002F @axion`（不带任何属性）也是合法的——默认采用 RW 访问模式，并自动分配地址。\n\n### 步骤 2：生成输出文件\n\n```bash\n# 从 YAML\u002FTOML 文件生成\naxion-hdl -s led_blinker.yaml -o output --all\n\n# 从 SystemVerilog 源代码生成\naxion-hdl -s led_blinker.sv -o output --sv --c-header --doc\n```\n\n### 步骤 3：查看生成的文件\n\n`output\u002F` 目录中将包含以下文件：\n\n| 文件名 | 说明 |\n|------|-------------|\n| `led_blinker_axion_reg.vhd` | AXI4-Lite 从机模块（VHDL）|\n| `led_blinker_axion_reg.sv` | AXI4-Lite 从机模块（SystemVerilog）|\n| `led_blinker_regs.h` | 包含宏定义的 C 头文件 |\n| `index.html` | 寄存器文档主页 |\n| `html\u002F` | 各模块的文档页面 |\n| `led_blinker_regs.xml` | IP-XACT 格式描述 |\n| `led_blinker_regs.yaml` | YAML 格式寄存器映射 |\n| `led_blinker_regs.json` | JSON 格式寄存器映射 |\n\n### 步骤 4：集成到设计\n\n在顶层 VHDL 设计中实例化生成的模块：\n\n```vhdl\nled_blinker_regs : entity work.led_blinker_axion_reg\n    port map (\n        axi_aclk    => clk,\n        axi_aresetn => rst_n,\n        -- AXI4-Lite 总线信号\n        axi_awaddr  => s_axi_awaddr,\n        axi_awvalid => s_axi_awvalid,\n        -- ... 其他 AXI 信号 ...\n        -- 寄存器信号连接\n        control     => control_reg,\n        led_state   => led_state_sig,\n        period_ms   => period_reg\n    );\n```\n\n或在 SystemVerilog 中实例化：\n\n```systemverilog\nled_blinker_axion_reg u_regs (\n    .axi_aclk    (clk),\n    .axi_aresetn (rst_n),\n    \u002F\u002F AXI4-Lite 总线信号\n    .axi_awaddr  (s_axi_awaddr),\n    .axi_awvalid (s_axi_awvalid),\n    \u002F\u002F ... 其他 AXI 信号 ...\n    \u002F\u002F 寄存器信号连接\n    .control     (control_reg),\n    .led_state   (led_state_sig),\n    .period_ms   (period_reg)\n);\n```\n\n\n## 参考文档\n如需了解更多用法细节，请参阅 `references\u002F` 目录下的文件：\n- `cli-usage.md` — axion-hdl 命令行模式用法\n- `gui.md` — axion-hdl GUI 模式用法\n- `outputs.md` — axion-hdl 输出文件说明\n",{"name":5,"description":7},"main","2713ffd8a8fb17d50ccd55714af0d8c5829e3e2f",0,"https:\u002F\u002Fgithub.com\u002Fra9fael\u002Fxilinx-skills","https:\u002F\u002Fgithub.com\u002Fra9fael","https:\u002F\u002Fgithub.com\u002Fra9fei\u002Fblog\u002Fissues","Coincidence-Oriented Programming","2026-05-07 01:52:06",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add ra9fael\u002Fxilinx-skills --skill axion-hdl",{"tool":43,"command":44},"bunx","bunx skills add ra9fael\u002Fxilinx-skills --skill axion-hdl",{"tool":46,"command":47},"pnpm","pnpm dlx skills add ra9fael\u002Fxilinx-skills --skill axion-hdl","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fra9fael\u002Fxilinx-skills\u002Fblob\u002Fmain\u002Faxion-hdl\u002FSKILL.md",true,[51,57,61],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcli-usage.md","REFERENCE","参考文档",11539,"https:\u002F\u002Fgithub.com\u002Fra9fael\u002Fxilinx-skills\u002Fblob\u002Fmain\u002Faxion-hdl\u002Freferences\u002Fcli-usage.md",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fgui.md",799,"https:\u002F\u002Fgithub.com\u002Fra9fael\u002Fxilinx-skills\u002Fblob\u002Fmain\u002Faxion-hdl\u002Freferences\u002Fgui.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Foutputs.md",16345,"https:\u002F\u002Fgithub.com\u002Fra9fael\u002Fxilinx-skills\u002Fblob\u002Fmain\u002Faxion-hdl\u002Freferences\u002Foutputs.md",[66,76,93,107,133,149],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":24},"01M71Y65DRAP7ZKNWFY94BHB9D","xilinx-docs","当用户需要查找xilinx官方文档时使用该技能","https:\u002F\u002Fgithub.com\u002Fra9fael\u002Fxilinx-skills\u002Fblob\u002Fmain\u002Fxilinx-docs\u002FSKILL.md",[],[73,74,75],"xilinx docs","docs","文档",{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":24},"01M71Y5K7NEZF32CFVNVHV0YXV","vivado-tcl","当用户想要生成、编写或执行 Vivado\u002FVitis TCL 脚本用于 FPGA 设计流程时使用此技能。包括创建项目、运行综合\u002F实现、编程设备、使用 IP Integrator 块设计、插入调试核、管理约束、仿真以及任何 Vivado 自动化任务。当用户提及 Vivado、Vitis、FPGA、硬件设计的 TCL 脚本、比特流生成、XDC 约束、ILA\u002FVIO 调试或任何 Xilinx\u002FAMD FPGA 工具链任务时触发。此技能生成并执行 TCL——它不分析 Vivado 输出或报告。对于调试策略和调试核配置决策使用 vivado-debug，对于时序分析使用 vivado-analysis。","https:\u002F\u002Fgithub.com\u002Fra9fael\u002Fxilinx-skills\u002Fblob\u002Fmain\u002Fvivado-tcl\u002FSKILL.md",[],[83,84,85,86,87,21,88,89,90,91,92],"vivado tcl","tcl","design","debug","analysis","ip","自动化","FPGA","工具","报告",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":24},"01M71Y55MVEMB29C0YK8CX5F55","vivado-synth","当用户需要 Vivado 综合策略选择、综合属性配置、synth_design 选项调优、资源推断控制（RAM\u002FDSP\u002FSRL\u002FBRAM）、层次结构优化（flatten_hierarchy、KEEP_HIERARCHY）、OOC（离屏）综合、增量综合、RTL linting、块级综合（BLOCK_SYNTH）或任何综合优化决策时使用此技能。当用户提及综合策略、综合指令、综合属性、资源映射控制、FSM 编码、重定时或询问如何优化综合结果以获得更好的面积\u002F时序\u002F功耗时触发。此技能提供决策知识——如需执行 TCL 命令，请使用 vivado-tcl 技能。","https:\u002F\u002Fgithub.com\u002Fra9fael\u002Fxilinx-skills\u002Fblob\u002Fmain\u002Fvivado-synth\u002FSKILL.md",[],[100,85,101,102,103,104,105,84,106],"vivado synth","fsm","定时","linting","keep","block","hierarchy",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":24},"01M71Y4GPRVZP5C8VD1D7METEW","vivado-sim","当用户需要 Vivado 仿真策略、流程选择和调试方面的帮助时使用此技能。这包括行为仿真（RTL 功能验证）、综合后仿真（网表功能验证）、实现后时序仿真（SDF 反标注，时序验证）、Vivado 仿真器 xsim 使用（xvlog\u002Fxvhdl\u002Fxelab\u002Fxsim 三步流程，launch_simulation 工程模式）、第三方仿真器集成（Questa\u002FModelSim\u002FVCS\u002FXcelium\u002FRiviera\u002FActiveHDL，compile_simlib，export_simulation）、SAIF\u002FVCD 功耗仿真（open_saif\u002Flog_saif，open_vcd\u002Flog_vcd，read_saif + report_power）、仿真网表生成（write_verilog -mode funcsim\u002Ftimesim，write_sdf）、xsim 调试命令（add_force、add_wave、log_wave、add_bp、step、run、restart、get_objects、get_value）、仿真属性和设置、glbl.v 使用，或选择正确仿真方法进行验证或功耗分析的任何问题。","https:\u002F\u002Fgithub.com\u002Fra9fael\u002Fxilinx-skills\u002Fblob\u002Fmain\u002Fvivado-sim\u002FSKILL.md",[],[114,115,116,21,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132],"vivado sim","sim","vcs","launch","run","report","compile","simulation","open","read","write","export","power","objects","get","add","Verilog","mode","value",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":24},"01M71Y45TYXDCYV3R9ZNN546VG","vivado-impl","当用户需要 Vivado 实现策略选择和优化方面的帮助时使用此技能。这包括 opt_design（逻辑优化指令和选项）、place_design（布局指令、拥塞分析、PSIP 物理综合）、phys_opt_design（物理优化 - 扇出\u002F布局\u002F布线\u002FSLR 交叉\u002F寄存器优化、hold 修复）、route_design（布线指令、拥塞解决、预布线关键网络）、power_opt_design（时钟门控、BRAM 功耗优化）、增量实现（read_checkpoint -incremental、auto_incremental、reuse 分析）、ECO 流程、实现运行策略（Performance\u002FCongestion\u002FArea 策略）或选择实现指令或解决实现过程中时序\u002F拥塞问题的任何问题。此技能为实现阶段提供决策知识——如需执行 TCL 命令使用 vivado-tcl，如需综合使用 vivado-synth，如需约束使用 vivado-constraints，如需时序报告解释和分析使用 vivado-analysis。","https:\u002F\u002Fgithub.com\u002Fra9fael\u002Fxilinx-skills\u002Fblob\u002Fmain\u002Fvivado-impl\u002FSKILL.md",[],[140,141,142,87,143,144,85,126,145,84,92,146,147,148,123],"vivado impl","impl","checkpoint","constraints","performance","reuse","opt","auto","route",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":24},"01M71Y3M2HSW8R1G9SGZECQNGX","vivado-git","当用户需要实现Vivado工程GIT化的时候使用该技能。","https:\u002F\u002Fgithub.com\u002Fra9fael\u002Fxilinx-skills\u002Fblob\u002Fmain\u002Fvivado-git\u002FSKILL.md",[],[156,157],"vivado git","git"]