| name | gf-doctor | |
|---|---|---|
| description | Env check | |
| allowed-tools |
|
Verify tools and dependencies, organized by capability tier.
Show tools grouped by what they unlock:
- Verilator: [installed/missing] —
verilator --version - Verible: [installed/missing] —
verible-verilog-syntax --version
- SymbiYosys: [installed/missing] —
sby --help - z3 solver: [installed/missing] —
z3 --version
- Yosys: [installed/missing] —
yosys --version
- nextpnr: [installed/missing] —
nextpnr-ice40 --version(or ecp5/gowin) - openFPGALoader: [installed/missing] —
openFPGALoader --version
- GHDL: [installed/missing] —
ghdl --version
- KiCad: [installed/missing] —
kicad-cli --version
- Cocotb: [installed/missing] —
python3 -c "import cocotb"
- FuseSoC: [installed/missing] —
fusesoc --version
Only show install instructions for tools in tiers the user has tried to use. Show a summary: "X/Y tools installed. Run /gf-doctor --all for full list."
Run diagnostic checks for each dependency:
verilator --version- Required for linting and simulation
- Minimum version: 5.0
verible-verilog-syntax --version 2>/dev/null || echo "Not installed"- Optional (formatting and syntax checks)
Present a summary table:
| Tool | Status | Version |
|---|---|---|
| Verilator | ✅ OK | 5.x |
| Verible (optional) | ✅ OK | v0.0-xxxx |
If required tools are missing, inform the user they will be auto-installed on next session start (when supported), or they can install manually. If optional tools are missing, note they can be installed manually:
Manual install (macOS):
brew install verilator
brew tap chipsalliance/verible && brew install veribleManual install (Linux - Debian/Ubuntu):
sudo apt-get install verilator
# Verible: download from https://github.com/chipsalliance/verible/releasesAfter verification, list the available GateFlow commands:
/gf-lint- Run lint/gf-sim- Run sim/gf-gen- Generate scaffolds/gf-scan- Index project