ormus-solutions/libreembed-claude-code/fpga-patterns
- community
Checking that the SKILL.md file is still in the repository.
Synthesizable Verilog patterns for MCU-FPGA designs on Artix-7 and Cyclone V: register bank with strobes, two-flop clock domain crossing, PWM generator, Vivado block design Tcl, and ILA or SignalTap capture. Use when writing FPGA logic that an MCU drives or debugging it in hardware.
Install
npx vskill@latest install ormus-solutions/libreembed-claude-code/fpga-patternsSKILL.md
fpga-patterns
Knowledge Base
Synthesizable Verilog patterns for FPGA-MCU integration. Targeting Xilinx Artix-7 and Intel Cyclone V.
Pattern 1: Register Bank with Read/Write Strobe
Simpler than AXI-Lite for SPI-connected FPGAs:
Pattern 2: Clock Domain Crossing — 2FF Synchronizer
Signals crossing from one clock domain to another must be synchronized to avoid metastability.
For multi-bit data: use a dual-clock FIFO or handshaking with acknowledgment.
Pattern 3: Pulse Width Modulation (PWM) Generator
MCU sets duty register via SPI/AXI. Frequency = clk / (2^CNT_WIDTH).
Pattern 4: Xilinx Block Design Tcl Automation
Pattern 5: SignalTap / ILA In-Logic Analyzer
Add debug capture to synthesized netlist (no external pins needed):
Or instantiate directly in Verilog:
Anti-Patterns
- Combinational loops: any feedback path without a register causes simulation mismatch and synthesis failure. Add a register.
- Missing `(* ASYNC_REG = "TRUE" *)` on CDC synchronizers: Vivado placement optimizer separates the two FFs, increasing metastability risk.
- Inferring RAM with `initial` blocks: synthesis ignores
initial; use reset logic or external initialization. - Blocking assignments in sequential blocks: use non-blocking (
<=) for clocked logic. Mixing causes simulation/synthesis mismatch.
References
- Xilinx UG901: Vivado Design Suite User Guide - Synthesis
- Xilinx PG209: AXI4-Lite Interface
- Intel AN 433: Constraining and Analyzing Source Synchronous Interfaces (Quartus)
- Cummings, "Simulation and Synthesis Techniques for Asynchronous FIFO Design" (SNUG 2002)
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/fpga-integration/skills/fpga-patterns/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ormus-solutions/libreembed-claude-code/fpga-patterns)