The accepted production inputs are commit037b459. Native TD reports5209 LUT, 4405 registers,8 BRAM and9 DSP. Against5290/4339/8/1 this saves81 LUT, uses66 more fabric registers and8 additional DSP blocks. LUT remains729 over 4480, with75 fabric registers free. Fit still fails; no MR BIT or timing result is qualified.
Eight18-bit lanes carry bits32..175 of the322-bit axis state through the input-A and product registers of EF2_LOGIC_MULT, using unsigned multiplication by1. Additional fabric stages keep the total delay exactly AXIS_COUNT clocks. Other state bits retain the original registers. The half-period reset bit is outside the DSP range; the transferred bits reset to0. One-axis operation uses the original fabric bank, while the two-axis boundary uses the DSP stages alone. No clock, command, arithmetic service or external interface is added.
The vendor wrapper ef2_motor_delay18 is isolated in motor_axis_core.v under the existing TD vendor define. Its behavioral model represents the documented two register stages. Native synthesis retains9 DSP blocks total, including the pre-existing queue-address DSP; this is measured resource evidence, not vendor functional simulation.
Source: Anlogic UG401 v1.5, April2023, section17, printed pages32..34 (PDF pages38..40), supplied with TD2026.1SP2. It documents the independent input-A, input-B and product register enables, unsigned mode, low-active resets and DSP implementation selection. The PDF is1415223 bytes, SHA256 020a63d46a49e02f391834c99291859cdcb16491956d93227fb9c64df686a264, at doc/UG401_EF2_Libraries_Guide_for_HDL_Designs.pdf in the persistent vendor installation. A read-only copy and inspected page renders are in Windows TEMP prod2u-thermal/analysis/ef2-primitive-guide. The raw vendor PDF is an external toolchain reference, not a source-package payload. The guide does not document the PHY cascade-port storage timing, so that alternative was not used.
Releasing288 fabric registers makes room for the per-axis completion records to use the same rotating storage module as retained limit history. The banks remain independent because limit and completion can arrive together. The unused upper32 bits of the completion bank are removed by synthesis. Both follow the registered producer axis. Event priority remains unchanged; both kinds wait for the selected axis at the head. A pending record overwritten while waiting is counted as a loss. Event fields remain held through writer acknowledgment.
| Run/source | LUT | Registers | DSP | Decision |
|---|---|---|---|---|
history-rotate-td-a6f47f0 |
5290 | 4339 | 1 | previous baseline |
history-mask-td-8b20c3e |
5291 | 4339 | 1 | late validity mask rejected; restoreda0beb81 |
dsp-state-td-ffaa93e |
5271 | 4051 | 9 | eight DSP lanes release288 registers |
dsp-done-td-037b459 |
5209 | 4405 | 9 | accepted combined storage change |
| dsp-full-td-6450763 | 5240 | 4189 | 15 | fourteen lanes increase LUT; restoredfa2e37e |
All native runs failed fit and retain their original receipts. Each measured variant also passed31 current MR RTL compile/behavior checks. The rejected variants remain in Git and immutable run directories.
dsp-final-proof-5a3fa02/native/state/RESULT.json passes11 behavioral state-delay
proof, cover and latency-mutation checks for1/2/3/12 axes. Observation ports in
the proof copy compare every DSP input/product and fabric tail stage with the
original shift-register stage of the same age. Those relations are proved
together with output equivalence. Inputs remain arbitrary, with an initial
reset. The earlier output-only12-axis induction in dsp-proof-e02dc3b timed out
at90 seconds and remains UNKNOWN_TIMEOUT; adding stage invariants closed it.
The proof checks the actual wrapper's primitive parameters and control wiring, but assumes the documented primitive behavior. It is not a simulation of the encrypted vendor model or the complete motor. Native/loss/RESULT.json separately passes8 checks for the changed pending-loss expressions and producer write form. The rotating storage module itself is unchanged from the prior17-check history proof; completion uses a restricted128-bit payload of that same160-bit module.
dsp-final-cross-5a3fa02 passes17 steps: source closure tests and Icarus/Verilator
compile/run of the bank,3/12-axis engine, and12-axis history scenarios. Both
simulators complete1167 random/reset checks per bank axis count1/2/3/12. Engine
tests retain queue atomicity, common START, pending producer/head alignment,
limits and event behavior; the history test includes all-axis bursts and reset
invalidation. These scoped checks do not close Full formal, soak, vendor
simulation, GUI/DPI, MR Delivery or physical validation. Hardware is NOT_RUN.
The installed ef2_logic_mult.v contains a complete plaintext EF2_LOGIC_MULT module followed by a protected trailer. The previous behavioral proof remains scoped as recorded; additional runs now exercise the actual supplied functional model. The original file is unchanged. The compatibility selector preserves the 5616-byte plaintext prefix exactly, including its copyright header, and does not decode or use the protected section. It rejects missing, incomplete or ambiguous plaintext modules instead of substituting a model.
Full8960-byte file SHA256: 38eb48f02462ffb1dccb7e0cc300449ae7fd4b4da02997f1b03829e4e9a69d34. Selected plaintext SHA256: 754f4fc696452103ef4f4ba19d30a588b74860360634ce1bf2a7f30011e524de. The file is in the installed TD sim_release/ef2 directory. It is an external toolchain dependency, not a source-package payload.
tools/verify_motor_arithmetic.py --vendor-state-delay --run-root EXTERNAL
compiles the actual production state bank with PROD2U_TD_VENDOR_RAM enabled
against this model. vendor-dsp-28e6474/native/vendor/RESULT.json passes6 steps:
Icarus and Verilator compile/run each complete1167 random/reset checks for each
axis count1/2/3/12; disabling the production wrapper's output register makes
the negative test fail at the expected post-clock comparison. This also detects
accidentally testing the behavioral branch instead of the vendor branch.
--vendor-state-proof uses the same functional RTL in Yosys. Only observation
ports are added to the proof copy; internal state updates and multiplication
are retained. vendor-proof-3dc08d0/native/proof/RESULT.json passes11 equivalence,
cover and output-register mutation checks with arbitrary322-bit input sequences
and initial reset. The per-stage age invariant also covers later resets. The
9 selector/CLI unit cases and3 source-closure cases pass. Verification modes
are mutually exclusive; an unused vendor-library-root argument is rejected.
These results close the DSP functional-model check, not whole-device vendor netlist or physical timing verification. The installed EF2_LOGIC_BRAM, EF2_PHY_BRAM, EF2_PHY_MSLICE and EF2_PHY_LSLICE files have no plaintext model prefix. The current container has Icarus/Verilator; vsim/vlog/vcs/xrun were not found in its PATH or as simulator executables in the checked /opt and persistent toolchain installation roots. Compatible simulator/library recovery remains a separate Full task. No RTL/TD/resource change is implied by these verification tool changes; the accepted native baseline remains5209 LUT.