/rtl-agent-team:bfm-develop [block-name | --all-blocks]from rtl-agent-team
Builds SystemC TLM-2.0 bus functional models with AMBA (AXI/AHB/APB) protocol support for early performance estimation and protocol verification. Generates BFM source, build artifacts, smoke test results, and performance baselines.
Ships in rtl-agent-team. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Delegate using the current host as described in {plugin_root}/runtime/model-selection.md.
<Use_When>
docs/phase-2-architecture/architecture.md, refc/) are complete.<Do_Not_Use_When>
rtl-p4s-unit-test directly.<Why_This_Exists>
TLM models run orders of magnitude faster than RTL simulation, enabling early detection of protocol bugs and performance bottlenecks before RTL exists. The BFM also serves as the performance reference in rtl-p5s-perf-verify. LT transport is the default because it gives fast functional validation; AT non-blocking is reserved for timing-accurate pipelined modeling.
</Why_This_Exists>
docs/phase-2-architecture/architecture.md and io_definition.json present.refc/ reference model built (needed for cross-phase functional consistency check).If missing: WARNING — proceed with available artifacts; note absent dependencies in smoke test result.
| Path | Role | |------|------| | `templates/bfm_module_template.h` | SystemC TLM-2.0 scaffold with LT/AT transport, Memory Manager, PEQ, and AXI extension stubs. | | `scripts/run_bfm.py` | Build-and-run wrapper: locates `bfm/`, builds via CMake/Makefile (`SYSTEMC_HOME` honored — exit 2 with guidance when referenced but unset), runs `make run` or the built binary, writes a JSON run report. | | `references/bfm-conventions.md` | Transport-style rules, AMBA protocol guidance, perf_baseline.json schema, anti-patterns. | | `examples/axi_stream_stub/` | Minimal SystemC TLM-2.0 LT BFM skeleton (requires local SystemC; not built in CI). | | `examples/selfcheck_fake_build/` | SystemC-free fixture exercising run_bfm.py orchestration; committed `expected_run_report.json` regeneration-checked in CI. |<Responsibility_Boundary>
cmake/make) and smoke-test execution via Bash CLI.io_definition.json exactly; functional output must match refc/ on shared test vectors.
</Responsibility_Boundary>Apply steps 1-7 to every requested block — do not stop after the first.
<Tool_Usage>
Task(subagent_type="rtl-agent-team:bfm-dev",
prompt="Implement SystemC TLM-2.0 BFMs in C++ at bfm/src/*.cpp from architecture.md. "
"Output MUST be C++ (.cpp/.h), NOT SystemVerilog. "
"LT blocking transport (b_transport) by default. AXI with amba_pv extensions. "
"Memory Manager (tlm_mm_interface) required. One SC_MODULE per block. "
"Include CMakeLists.txt. Port names must match io_definition.json exactly "
"(i_/o_ prefix, {domain}_clk, {domain}_rst_n). AT only if explicitly requested.")
Task(subagent_type="rtl-agent-team:video-processing-expert",
prompt="Review bfm/src/ datapath models for signal processing accuracy vs docs/phase-1-research/iron-requirements.json.")
</Tool_Usage>
Five-block AXI pipeline; Phase 2 complete; LT transport requested. Five SC_MODULEs with b_transport and amba_pv::axi_extension; Memory Manager present; smoke test PASS; bfm/perf_baseline.json records per-block latency; all REQ-F-* mapped. Out-of-order memory controller; AT timing accuracy explicitly requested. nb_transport_fw/bw with full 4-phase handshake (BEGIN_REQ→END_REQ→BEGIN_RESP→END_RESP); PEQ scheduling correct; smoke test PASS in AT mode. BFM functional output diverges from refc/ on vector 23 during consistency check. Divergence recorded in perf_baseline.json with byte offset; bfm-dev fixes rounding in b_transport handler; re-run confirms bitexact match; bfm-feature-coverage.md updated.<Escalation_And_Stop_Conditions>
bfm/src/*.cpp — SystemC TLM-2.0 BFM modules (C++17).bfm/smoke_test_result.txt — smoke test verdict with transport mode and latency.bfm/perf_baseline.json — per-block throughput and latency baseline.reviews/phase-3-uarch/bfm-feature-coverage.md — REQ-F-* mapping table.<Final_Checklist>
bfm/src/*.cpp compiles without errors (C++17).SC_MODULE per architectural block.b_transport) used by default.tlm_mm_interface) used for payload pooling.peq_with_cb_and_phase) used for phase scheduling.bfm/smoke_test_result.txt written.refc/ on shared test vectors (bitexact or documented tolerance).REQ-F-* items mapped; bfm-feature-coverage.md saved.examples/README.md (opens in a new tab)examples/axi_stream_stub/Makefile (opens in a new tab)examples/axi_stream_stub/src/axi_stream_stub_bfm.cpp (opens in a new tab)examples/selfcheck_fake_build/Makefile (opens in a new tab)examples/selfcheck_fake_build/expected_run_report.json (opens in a new tab)references/bfm-conventions.md (opens in a new tab)scripts/run_bfm.py (opens in a new tab)templates/bfm_module_template.h (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
systemc, tlm-2.0, amba, bus-functional-model, hardware-verification
npx claudepluginhub babyworm/rtl-agent-team --plugin rtl-agent-team56 skills in this plugin
/arch-reviewRead-only architecture review of RTL vs uArch spec with area/timing/power tradeoffs. Use for post-RTL architecture sign-off or suspected spec mismatch./codec-conformance-evalEvaluate C ref-model decoder against JVET/JCTVC conformance bitstreams (bitexact/MD5) — 'decoder conformance'; C-level, not RTL (rtl-conformance-test)./codec-rd-evalEncoder RD evaluation of C ref model: BD-PSNR/BD-rate (VCEG-M33) across sequences/QPs — 'RD eval', 'BD-rate', codec algorithm quality comparison./codex-cross-reviewOne independent Codex review of completed phase artifacts when requested or enabled for the project./cross-phase-contract-validatorValidate spec contracts across phase boundaries (P3 uarch to P4 RTL to P5 verify): port widths, memory class, REQ traceability. Use at P4/P5 entry./domain-consultRoute domain questions to the best expert agent: codec standards, video/signal processing, fixed-point math, HW protocols. Trigger: 'consult domain expert'.Other plugins' skills for the same job