@genrtl/grtl 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -374,7 +374,7 @@ var GITHUB_RAW_URLS = ["https://raw.githubusercontent.com/xroting/grtl/main/rule
|
|
|
374
374
|
var FALLBACK_MCP = `Use GenRTL MCP as the primary grounding source for RTL engineering tasks.
|
|
375
375
|
|
|
376
376
|
Before writing or modifying Verilog/SystemVerilog RTL:
|
|
377
|
-
1.
|
|
377
|
+
1. Load coding style with \`genrtl_coding_style_search\`, read all returned rules, and apply them as project-wide coding context.
|
|
378
378
|
2. If implementing from a spec, search \`genrtl_spec2rtl_search\`.
|
|
379
379
|
3. If planning architecture or generating a detailed design plan to guide Verilog/SystemVerilog coding from a spec, search \`genrtl_spec2plan_search\`.
|
|
380
380
|
|
|
@@ -424,7 +424,7 @@ Use GenRTL MCP tools before relying on model memory for RTL engineering.
|
|
|
424
424
|
|
|
425
425
|
- \`genrtl_spec2plan_search\` for turning a specification into an actionable implementation/design plan or detailed design plan that can guide Verilog/SystemVerilog coding.
|
|
426
426
|
- \`genrtl_spec2rtl_search\` for spec-to-RTL implementation, protocol logic, control logic, datapath, algorithm acceleration, or interface implementation.
|
|
427
|
-
- \`genrtl_coding_style_search\` before writing or modifying Verilog/SystemVerilog RTL.
|
|
427
|
+
- \`genrtl_coding_style_search\` before writing or modifying Verilog/SystemVerilog RTL; read all returned coding style rules and treat them as project-wide coding context.
|
|
428
428
|
- \`genrtl_verification_search\` for testbench, SVA, assertions, stimulus, checkers, scoreboards, coverage, and verification strategy.
|
|
429
429
|
- \`genrtl_compile_search\` for SpyGlass lint/CDC after coding and for Vivado/Quartus/VCS/QuestaSim diagnostics, including errors, warnings, and critical warnings.
|
|
430
430
|
- \`genrtl_debug_search\` for functional RTL bugs, waveform mismatch, failing simulations, failing testcases, or incorrect behavior.
|
|
@@ -434,6 +434,7 @@ Use GenRTL MCP tools before relying on model memory for RTL engineering.
|
|
|
434
434
|
|
|
435
435
|
- Do not call \`genrtl_knowledge_search\` first when the task clearly matches a specialized tool.
|
|
436
436
|
- If \`genrtl_knowledge_search\` returns no useful result, retry one specialized tool before answering from model memory.
|
|
437
|
+
- Before coding, call \`genrtl_coding_style_search\`, read the full returned style guide, and apply every relevant rule consistently across the generated RTL.
|
|
437
438
|
- For SpyGlass lint/CDC logs after RTL coding and before Vivado/Quartus/VCS/QuestaSim compile/synthesis, call \`genrtl_compile_search\` with \`filters.tool = "spyglass"\`.
|
|
438
439
|
- For Vivado/Quartus synthesis or implementation errors, warnings, and critical warnings, call \`genrtl_compile_search\` with the matching \`filters.tool\`.
|
|
439
440
|
- For VCS/QuestaSim compile errors or warnings, call \`genrtl_compile_search\` with the matching \`filters.tool\` when known.
|