VHDL to SystemVerilog
<!-- VLSIT_TERMINOLOGY_START -->
Terminology: Register-Transfer Level (RTL); Clock-Domain Crossing (CDC); Reset-Domain Crossing (RDC); VHSIC Hardware Description Language (VHDL); Finite-State Machine (FSM). Read reference/vlsit_glossary.md before using this skill. Expand abbreviations on first use in generated prose; preserve code identifiers and resolve context-dependent meanings from the specification.
<!-- VLSIT_TERMINOLOGY_END -->
Operating contract
- Read rule.md completely before doing anything. Its numbered rules (V2S-xxx) are mandatory and rank above everything else. V2S-010 makes reference/VLSIT_RTL_Design_Rule.md normative; read it in full too.
Precedence: rule.md overrides this file, and this file overrides the reference files except where a rule explicitly makes a reference normative. Reply to the user in the language they use.
- Follow the workflow below. It orders the work; it never relaxes a rule.
- Consult the other
reference/files as needed: they rank belowrule.md. - Prerequisite (V2S-096): locate Python first with
scripts/vlsit_find_python.ps1on Windows orscripts/vlsit_find_python.shon Linux and macOS. Use the printed executable path for subsequent script calls (examples that saypythonuse it as shorthand). If no Python 3 is found, propose installing it (Windows:winget install Python.Python.3.12) and wait for approval. - Run helpers from
scripts/(index: scripts/README.md) instead of repeating manual steps. - Excel or CSV input (V2S-097): analyze it with
scripts/vlsit_analyze_excel.py(needsopenpyxl); report any script problem and propose an update to the script. - Apply the self-improvement rules V2S-090..096 at the end of every run.
Workflow
- Inputs (V2S-020..024). VHDL directory required; discover tops, bindings, standard, generics; confirm output and tool choices.
- Baseline and plan (V2S-030..033). Read reference/vlsit_vhdl_semantics.md; inventory units; write
conversion_plan.md; runpython scripts/vlsit_create_rule_matrix.pyfor the initial matrix, then expand subchecks. - Gate 1 (V2S-034). Present the plan; wait for approve, revise, or stop.
- Convert (V2S-040..044). Behavior-preserving translation under the coding rule.
- Validate (V2S-050..052). Follow reference/vlsit_validation_and_reports.md.
- Deliver (V2S-053, 054). Required deliverable set with separated evidence categories.
- Gate 2 (V2S-055). Present evidence and limits.
- Improve (V2S-090..096). Add or fix scripts and reference files, log in
reference/vlsit_improvement_log.md, and propose rule changes to the user. - Rule audit. Before delivery, check the plan, conversion and evidence against every applicable V2S rule ID, record evidence and mark PASS, FAIL, NOT RUN, or NOT APPLICABLE. Do not claim completion while an unmet MUST is unresolved.
Folder map
| Path | Role | Priority |
|---|---|---|
| rule.md | Numbered mandatory rules | 1 (highest) |
| reference/VLSIT_RTL_Design_Rule.md | RTL coding rule, normative via V2S-010 | 1 (incorporated) |
| SKILL.md | Workflow and routing | 2 |
| reference/ (others) | VHDL semantics, validation contract, improvement log | 3 |
| scripts/ | vlsit_create_rule_matrix.py and model-added helpers | tool |