03-rtl-reuse-resource-structure.md 1.6 KB

Audit 3 - RTL reuse and resource structure

Result: PASS at architecture level.

Independent structural review

  • The design has one shared incremental-PI arithmetic engine for 24 logical loops and only two coefficient classes. No generate loop may instantiate 24 controllers.
  • PWM has one carrier and comparator, but persistent 32-bit output registers are retained because outputs must remain continuously driven.
  • BMC and Host have independent RX byte frontends for true concurrency; downstream parsing and scheduling remain compact and deterministic.
  • One fixed-priority service scheduler is sufficient; no generic on-chip bus or dynamic interconnect is introduced.
  • BMC, CT, duty, and snapshot state uses inactive-bank writes plus pointer flips. Large FF array copies are rejected.
  • Snapshot transmission is address-streamed from locked banks. A 200-byte FF payload buffer is rejected.
  • RAM/DSP inference will use synchronous coding and isolated wrappers only. The old 32x8 target banks remaining in FFs are historical evidence, not proof that all new arrays should use FFs.
  • Safety is sequentially scanned by the shared comparator but commits final overrides before output application. Static budgets must prove no PWM/UART deadline miss or scheduler starvation.

Corrective action before PASS

The existing phase scanner updates physical bits one by one. The lock replaces it with next_bitmap plus an atomic boundary transfer.

Follow-up gates

Lint/Yosys hierarchy checks must count physical instances; formal must cover bank isolation, scan completion, scheduler progress, and atomic output switching; TD A/B receipts decide the final encodings.