@genrtl/grtl 2.0.0 → 2.2.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 +5 -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
|
|
|
@@ -389,6 +389,7 @@ For verification:
|
|
|
389
389
|
- Testbench, SVA, assertions, stimulus, checkers, scoreboards, coverage -> \`genrtl_verification_search\`.
|
|
390
390
|
|
|
391
391
|
For reusable RTL/IP:
|
|
392
|
+
- When the user asks for an RTL architecture, implementation strategy, or design plan without requesting RTL code, call \`genrtl_cbb_list\` first to see which reusable CBB names already exist before proposing a from-scratch design.
|
|
392
393
|
- Discover with \`genrtl_cbb_search\`, then inspect with \`genrtl_cbb_detail\`.
|
|
393
394
|
- Use \`genrtl_cbb_acquire\` only when the selected CBB should be installed or re-delivered.
|
|
394
395
|
|
|
@@ -424,16 +425,18 @@ Use GenRTL MCP tools before relying on model memory for RTL engineering.
|
|
|
424
425
|
|
|
425
426
|
- \`genrtl_spec2plan_search\` for turning a specification into an actionable implementation/design plan or detailed design plan that can guide Verilog/SystemVerilog coding.
|
|
426
427
|
- \`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.
|
|
428
|
+
- \`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
429
|
- \`genrtl_verification_search\` for testbench, SVA, assertions, stimulus, checkers, scoreboards, coverage, and verification strategy.
|
|
429
430
|
- \`genrtl_compile_search\` for SpyGlass lint/CDC after coding and for Vivado/Quartus/VCS/QuestaSim diagnostics, including errors, warnings, and critical warnings.
|
|
430
431
|
- \`genrtl_debug_search\` for functional RTL bugs, waveform mismatch, failing simulations, failing testcases, or incorrect behavior.
|
|
432
|
+
- \`genrtl_cbb_list\` before producing an RTL architecture, implementation strategy, or design plan without RTL code, so existing reusable CBB names are considered first.
|
|
431
433
|
- \`genrtl_cbb_search\`, then \`genrtl_cbb_detail\`, for reusable IP/CBB discovery.
|
|
432
434
|
|
|
433
435
|
## Required Behavior
|
|
434
436
|
|
|
435
437
|
- Do not call \`genrtl_knowledge_search\` first when the task clearly matches a specialized tool.
|
|
436
438
|
- If \`genrtl_knowledge_search\` returns no useful result, retry one specialized tool before answering from model memory.
|
|
439
|
+
- Before coding, call \`genrtl_coding_style_search\`, read the full returned style guide, and apply every relevant rule consistently across the generated RTL.
|
|
437
440
|
- 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
441
|
- For Vivado/Quartus synthesis or implementation errors, warnings, and critical warnings, call \`genrtl_compile_search\` with the matching \`filters.tool\`.
|
|
439
442
|
- For VCS/QuestaSim compile errors or warnings, call \`genrtl_compile_search\` with the matching \`filters.tool\` when known.
|