Skip to main content

gf-synth

Synthesize SystemVerilog/Verilog with Yosys. Reports area, timing, and resource utilization. Warns about unsupported SV constructs. Example: "synthesize my design for iCE40"

Datos de origen

Repositorio
codejunkie99/Gateflow-Plugin
Última actividad en el origen
26 de marzo de 2026 a las 10:52
Idioma detectado de SKILL.md
inglés
Estrellas
117
Forks
16

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
gf-synth
description
Synthesize SystemVerilog/Verilog with Yosys. Reports area, timing, and resource utilization. Warns about unsupported SV constructs. Example: "synthesize my design for iCE40"
allowed-tools
["Bash","Read","Write","Glob","Grep","Task"]
# GF-Synth — Yosys Synthesis Skill ## Tool Detection ```bash which yosys ``` If not found: ``` ---GATEFLOW-RESULT--- STATUS: ERROR DETAILS: Yosys not installed. Install to enable synthesis. macOS: brew install yosys Linux: sudo apt install yosys ---END-GATEFLOW-RESULT--- ``` ## Pre-Synthesis SV Subset Check Before synthesis, scan for unsupported constructs: ```bash grep -rn "^\s*interface\s\|^\s*modport\s\|^\s*class\s\|^\s*bind\s" <files> ``` If found, warn user. Do NOT proceed — it will produce confusing errors. ## Workflow 1. Check project context (`.gateflow/project.yaml`) for target 2. Pre-synthesis lint for unsupported SV constructs 3. Map board to Yosys synth target 4. Run synthesis via sv-synth agent or directly 5. Parse stat output for LUT/FF/BRAM/DSP 6. Report structured result ## Result Format ``` ---GATEFLOW-RESULT--- STATUS: PASS | FAIL | ERROR RESOURCES: LUTs: N FFs: N BRAM: N DSP: N TARGET: ice40 | ecp5 | gowin | xilinx | generic FILES: [synth output files] DETAILS: [summary or error explanation] ---END-GATEFLOW-RESULT--- ```
Ver en GitHub