# Queue preparation resource reduction The accepted production input is9100a0c5804978778f976c037dff0b473b3ad9db. Native TD reports5340 LUT,3892 registers,8 BRAM and1 DSP, compared with 5449 LUT/3929 registers before these changes. The design remains860 LUT above the4480 limit; no MR bitstream or setup/hold acceptance is claimed. Accepted changes: - Event-loss aggregation ORs constant-index one-hot-qualified fields, then adds the two possible overwrite losses. It avoids the previously rejected dynamic owner selector. External overflow counts and event contents are unchanged. - Queue capacity/insertion calculations visit one scratch row per clock. Descriptor and capacity validation still finish before any queue RAM write; live queue state is published on one edge after all writes complete. - During quiescent validation, live depth is stable. Clear selects a zero scratch base without changing the live queue, eliminating its duplicate saved depth. New per-axis batch counts use4 bits because a batch contains at most8 descriptors. Each accepted stage passed31 MR compile/behavior checks. The3/12-axis tests assert that live depth cannot change between quiescence and atomic publication. The12-axis startup load is152 clocks and common START preparation316 clocks (within the496-clock regression bound). Verilator ran both engine tests, and an early-publication mutation was rejected by that assertion. The latest verification also checks the validated descriptor captured by the queue. The event-loss proof checks the actual producer write form: unconditional clears and writes of1 only at scan_axis. A model with arbitrary enables proves that form remains one-hot, including any qualification mask. The extracted loss reduction is equivalent to the old sum under that premise, with mutation and nonempty cover checks for3/12 axes. All8 checks passed. This is not full sequential motor or queue proof. | Native run | LUT | Registers | Decision | |---|---:|---:|---| | loss-or-td-0a73216 |5444|3929|accepted event reduction| | queue-space-td-dc050bd |5354|3916|accepted sequential scratch preparation| | queue-base-td-9100a0c |5340|3892|accepted stable-depth/count storage reduction| | queue-offset-td-8f99d77 |5358|3892|write-offset reuse rejected| | queue-capture-td-8286d25 |5359|3775|descriptor copy removal rejected for LUT cost| | queue-read-td-1a75883 |5365|3708|additional decoded read-copy removal rejected| The latter variants saved registers but increased LUTs. Production source was restored to the lower-LUT version; useful capture assertions remain in the tests. Receipts are under /data/prod2u/runs//native/td-receipt.json. Verification: /data/prod2u/runs/queue-final-verify-67d2783/native/RESULT.json. Event proof: /data/prod2u/runs/loss-proof-118bd3c/native/RESULT.json. Original runs remain immutable. Hardware/COM/JTAG/real I2C/actuators are NOT_RUN.