mrdimm-control-context.md 3.6 KB

Motor control context and absent BMC specialization

The retained changes below remain active. Current resource results are in the seek-context audit.

The command provider now owns one control context from ctl_valid through ctl_accept. It parses op/mask/flags/value directly into the held output fields. The motor engine reads those fields instead of keeping a second copy. Endpoint commands use the same held interface. SET_POSITION still acknowledges only after the axis scanner consumes all position pulses.

RTL monitors check field stability on the actual UART/I2C provider paths and the motor engine fixture. A startup fixture race was exposed during this change: reset and startup were driven on rising sampling edges. Moving those stimuli to falling edges restored deterministic full-cycle pulses without removing any behavior assertion. The corrected engine test and subsequent full regressions pass.

Removing the separate ACK payload register passed functional tests but raised LUT by8; that experiment was reverted. The ACK register and new ACK field-stability monitors are retained.

The V1.2 physical wrapper has no assigned BMC UART pads and already ties RX idle. It now selects BMC_UART_ENABLED=0, returning the same initialized no-input telemetry: raw0, valid mask0, epoch0, ageFFFF, stale1, active bank0. TX is idle. The generic top defaults to BMC enabled, preserving the complete receiver/poller/parser in logical verification. The new absence test compares all24 channels against the initialized idle decoder and checks age behavior. No BMC pad was assigned or hardware exercised.

Native measurements

Source / run LUT Registers BRAM Disposition
48cdd40 / event-byte-td 5772 4205 9 Earlier baseline
c5c25b0 / control-owner-td 5749 4107 9 Held control context retained
666f657 / ack-owner-td 5757 4089 9 ACK-copy removal rejected
78f2a9f / absent-bmc-td 5735 4101 8 Current baseline
8c5516f / done-storage-td 5729 4463 12 Completion BRAM experiment rejected

The completion experiment staged116-bit records, used two64-bit writes into alternate banks, and handled read/overwrite collisions. Existing regression,3/12-axis atomic storage tests, and a collision test (two delivered records, one counted loss) passed. However it saved only6 LUT while consuming all remaining BRAM and nearly all registers. It was restored to the more useful resource baseline. Its source remains in Git history and /data/prod2u/build-snapshots/done-storage-8c5516f / done-pipeline-f7f84cc; receipts are under /data/prod2u/runs/done-*.

Small native probes showed128-bit dual-port records require8 BRAM, while64-bit records require4. These are synthesis resource probes, not product or functional acceptance. Future work should consider a narrow event stream instead of restoring the rejected wide record reader.

Current regression /data/prod2u/runs/absent-bmc-test/RESULT.json records113 Python tests and31 RTL compilation/behavior checks passing. Native receipt /data/prod2u/runs/absent-bmc-td/td-receipt.json remains FAIL:5735 LUT exceeds4480, so there is no MRDIMM BIT or setup/hold qualification. Current accepted inputs are restored to78f2a9f; later changes only document the work.

Full formal, vendor simulation, remaining tool/container tests, GUI/DPI, package refresh and final dev integration remain incomplete. Physical hardware is NOT_RUN. The installed EF2 simulation model files inspected here use protected simulator libraries; their presence alone is not proof that vendor simulation has run.