You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(code-index): add Verilog/VHDL parsers for HDL codebases #871
Reviewer on #721 suggested supporting hardware design languages so AMD's HDL codebases can be indexed with the same tool.
Goal
Add parsers for Verilog / SystemVerilog / VHDL to src/gaia/code_index/parsers.py. Extract module, entity, architecture, and always-block boundaries as semantic chunks.
Acceptance
Tree-sitter grammars (or equivalent) wired in for .v, .sv, .vhd, .vhdl.
Unit tests in tests/unit/test_code_index_parsers.py cover sample HDL files and assert chunk boundaries on module/entity/architecture.
gaia-code index on a repo containing HDL files indexes them without error and returns sensible results for a query like "clock divider".
References
src/gaia/code_index/parsers.py — existing language parsers
tests/unit/test_code_index_parsers.py — test patterns to follow
Activity
feat(code-index): address review — fold into CodeAgent, drop git/PR s…
feat(code-index): semantic code search via CodeAgent mixin and gaia-c…