MDX — Molecular Dynamics Accelerator
A research notebook in twelve plates, on ASIC-oriented hardware for the short-range nonbonded force. FPGA is an intermediate prototyping and validation platform, not the product.
Selman Ali Dokumacı Researcher
ink = the subject
terracotta = the point
MDX
A study of specialised hardware for the short-range nonbonded force: the pairwise calculation that a molecular simulation repeats at every timestep.
Every pair, every timestep.
The same arithmetic, again, every timestep.
MDX starts from a premise: in many classical timesteps, short-range nonbonded pair forces are a large share of the work, and the pair loop is regular and numerically intensive.
If one candidate pair can enter a dedicated pipeline every clock cycle, and the force sums stay in on-chip memory, the pair loop becomes a stream of hardware operations instead of a program.
Six components, each checked on its own.
Each block animates only inside itself. Dashed lines are proposed connections: not built, connected or tested.
Six simulations passed. None of them is the whole machine.
+ 50,000 stressgolden comparisons · corrected-RNG testbenchPASS0 errors
+ 100,000 stressinternal integer modelPASS0 errors
+ 20,000 stress pairsstate hash, 29,729 pairsPASS0 errors
+ 20,000 stressdeterministic state hashPASS
Even reduced, the accumulator is bigger than the chip.
The nominal design asked for 26 times the chip’s block memory.
Nominal Phase 7B and Phase 8D (19-bit IDs, 32 banks) stopped in synthesis: 7,040 RAMB18 required, 270 available on the xc7a100t. Those runs produced no logic count.
MDX-FPGA-Lite: start from what already fits.
A proposed, resource-constrained demonstrator around the Phase 5C datapath. Nothing on this plate is implemented. Every saving is an estimate until a new utilization report exists.
One gate at a time.
Each Lite stage closes only on the evidence written under it. L0 is done as documentation; L1 to L4 are proposed.
DONE · AS DOCUMENTATION
Evidence you can inspect.
Five places to work together.
Six components simulate. Two blocks fit in synthesis. The accumulator and its memory do not, yet. The next step is a small demonstrator that can be measured.
CONTENTS · TWELVE PLATES
The notebook, plate by plate.
Each plate keeps the evidence stamp it carries in the presentation. What was simulated or synthesized is marked as such; proposed work is marked as proposed.
- IMDX — Molecular Dynamics AcceleratorOne nonbonded pair, pair after pair
Read the plate as text
- fig. I — two molecules, one nonbonded pair
- pencil = context ink = the subject terracotta = the point
- PLATE I · A STUDY IN SPECIALISED HARDWARE · 2026
- MDX
- Molecular Dynamics Accelerator
- A study of specialised hardware for the short-range nonbonded force: the pairwise calculation that a molecular simulation repeats at every timestep.
- 1
- bond → host software
- every pair, every step
- One nonbonded pair. MDX studies hardware for computing this force, pair after pair.
- Selman Ali Dokumacı
- Researcher
- IIEvery pair, every timestep.The loop
Read the plate as text
- Newton’s third law: one evaluation, two atoms
- PLATE II · THE LOOP
- Every pair, every timestep.
- 1
- 2
- 3
- 4
- ② + ③ — the loop MDX studies in hardware
- F(r) = 24ε/r · [ 2(σ/r)¹² − (σ/r)⁶ ]
- Find neighbour pairs inside the cutoff.
- Evaluate the Lennard-Jones force for each pair.
- Add each pair’s force to both atoms.
- Integrate positions, advance one timestep, repeat.
- Bonded terms, long-range electrostatics, constraints and integration stay in host software.
- IIIThe same arithmetic, again, every timestep.Why the pair loopPREMISE · NOT AN MDX MEASUREMENT
Read the plate as text
- PLATE III · WHY THE PAIR LOOP
- The same arithmetic, again, every timestep.
- MDX starts from a premise: in many classical timesteps, short-range nonbonded pair forces are a large share of the work, and the pair loop is regular and numerically intensive.
- PREMISE · NOT AN MDX MEASUREMENT
- t
- t + Δt
- t + 2Δt
- t + 3Δt
- t + 4Δt …
- pairs re-checked and recomputed as atoms move
- 10³
- 10⁴
- 10⁵
- 10⁶
- 10⁷ atoms
- intended investigation range: about 1,000 to 10,000,000 atoms
- NOT RUN ON MDX HARDWARE
- 10-bit IDs name 1,024 atoms · the 8B simulation
- 19-bit IDs: 524,288 · the nominal simulations
- 10 million atoms need ≥ 24 bits · not implemented
- IVThe hypothesisOne pair per cycle, force sums on chipHYPOTHESIS · NOT YET TESTED AT SYSTEM LEVEL
Read the plate as text
- one pair per cycle
- 1
- 2
- 3
- PLATE IV · THE HYPOTHESIS
- If one candidate pair can enter a dedicated pipeline every clock cycle, and the force sums stay in on-chip memory, the pair loop becomes a stream of hardware operations instead of a program.
- HYPOTHESIS · NOT YET TESTED AT SYSTEM LEVEL
- a hypothesis, not a result
- Does it compute the right force? PARTIAL
- components agree with an internal integer model · no GROMACS comparison yet
- Does it fit a real device? PARTIAL
- 3C and 5C fit in synthesis · the accumulator does not (plate VII)
- Is it faster on a board? NOT MEASURED
- no board, no throughput, no speedup claimed
- VSix components, each checked on its own.Architecture — component evidenceSIM · PASSSYNTH · OOC
Read the plate as text
- solid = simulated as a component
- dashed = proposed, not built or run
- motion is explanatory: no waveforms were recorded
- PLATE V · ARCHITECTURE — COMPONENT EVIDENCE
- Six components, each checked on its own.
- Each block animates only inside itself. Dashed lines are proposed connections: not built, connected or tested.
- 1
- 2
- 3
- 4
- 5
- 6
- candidate pair:
- inside the cutoff?
- 13 stages · a new pair can enter every cycle
- banked
- force sums
- 16 lanes in,
- one sum out
- force state
- kept per atom
- force contributions
- move between 16 tiles
- Nonbonded lane
- Phase 3C
- Lennard-Jones force datapath
- Phase 5C
- Force accumulation
- Phase 7B · nominal · one 5C inside
- Force reduction
- Phase 8B · 10-bit · 16 × 5C inside
- Persistent force storage
- Phase 8D · nominal 19-bit IDs
- Cross-tile communication
- Phase 8H1 · 16 tiles
- SIM · PASS
- SYNTH · OOC
- 3,344 LUT · corrected-RNG testbench
- 7,848 LUT · vs internal integer model
- SYNTH · FAILED
- needs 7,040 RAMB18 · device has 270
- SYNTH · GATED
- resource-gated · no utilization report
- component test · no full synthesis
- proposed export / credit / window-close interface: not built
- RTL check: 7B instantiates one 5C (u_phase5c); 8B generates sixteen (g_force_lanes). No other captured module instantiates 3C. No end-to-end path exists.
- VISix simulations passed. None of them is the whole machine.The ledgerSIM · PASS
Read the plate as text
- 6/6
- component simulations passed. Verilator, with assertions enabled.
- PLATE VI · THE LEDGER
- Six simulations passed. None of them is the whole machine.
- COMPONENT
- TEST VECTORS
- CHECKED AGAINST
- RESULT
- Nonbonded lane
- Phase 3C
- 76 directed + 50,000 stress
- golden comparisons · corrected-RNG testbench
- PASS
- 0 errors
- Lennard-Jones datapath
- Phase 5C
- 23 directed + 100,000 stress
- internal integer model
- Force accumulation
- Phase 7B · nominal
- counts not reported
- its own testbench checks
- Force reduction
- Phase 8B · 10-bit IDs
- 43 directed + 20,000 stress pairs
- state hash, 29,729 pairs
- Persistent force storage
- Phase 8D · 19-bit IDs
- 54 directed + 20,000 stress
- deterministic state hash
- Cross-tile communication
- Phase 8H1 · 16 tiles
- 30 directed
- directed checks, state hash
- FIFO and bank differential tests also passed in four-state Icarus. XSim runs were blocked by a GCC startup error (623) and are not counted as passes.
- 5C is checked against an internal integer model, not GROMACS
- 3C passed after a separately versioned testbench RNG fix. The original failure is kept on record.
- VIIEven reduced, the accumulator is bigger than the chip.FPGA resource findingEXCEEDS DEVICE
Read the plate as text
- areas to scale: side ∝ √LUT, 1 px² ≈ 0.70 LUT
- each square is a separate synthesis run, laid over the same chip — not one combined design
- PLATE VII · FPGA RESOURCE FINDING · AMD ARTIX-7 xc7a100tfgg484-1
- Even reduced, the accumulator is bigger than the chip.
- 3C · 3,344 LUT
- 5C · 7,848 LUT
- the whole chip · 63,400 LUT
- Reduced Phase 7B · 178,960 LUT
- +115,560 LUT beyond the chip
- REDUCED PHASE 7B ÷ DEVICE
- 282.27%
- 178,960 LUT ÷ 63,400 LUT
- REDUCED CONFIG
- 5-bit atom IDs, 4 banks. Not the nominal 19-bit, 32-bank design.
- SYNTH · OOC
- Out of context. Not placed, not routed, no timing.
- SIM · NOT RUN
- Not functionally simulated in this configuration.
- EXCEEDS DEVICE
- A capacity result, not an implementation.
- VIIIThe nominal design asked for 26 times the chip’s block memory.MemorySYNTH · FAILED
Read the plate as text
- PLATE VIII · MEMORY
- The nominal design asked for 26 times the chip’s block memory.
- Nominal Phase 7B and Phase 8D (19-bit IDs, 32 banks) stopped in synthesis: 7,040 RAMB18 required, 270 available on the xc7a100t. Those runs produced no logic count.
- SYNTH · FAILED
- SIM · PASS (nominal)
- 270 RAMB18 · the whole chip
- 7,040 RAMB18 requested
- one cell = one RAMB18, drawn to count
- More RAM in the workstation helps the tools finish. It adds no block RAM to the FPGA.
- Open question (Q-ENG-13): can memory architecture and resource sharing bring a demonstrator inside a real device?
- IXMDX-FPGA-Lite: start from what already fits.Proposed demonstratorPROPOSED · [ESTIMATED]
Read the plate as text
- PLATE IX · PROPOSED DEMONSTRATOR
- MDX-FPGA-Lite: start from what already fits.
- A proposed, resource-constrained demonstrator around the Phase 5C datapath. Nothing on this plate is implemented. Every saving is an estimate until a new utilization report exists.
- Host software sends pairs, collects forces
- ↔ host-assisted data movement
- FPGA BOARD · NOT YET SELECTED
- xc7a100t baseline part · 63,400 LUT
- pair scheduler · time-multiplexed
- small on-chip force buffers · shared arithmetic
- Phase 5C · LJ force datapath
- SIM · PASS
- SYNTH · OOC
- 7,848 LUT ≈ 12% of the part
- external memory, if the board allows
- orbit: illustrative
- exists as RTL, synthesized out of context
- proposed · [ESTIMATED]
- Stage L1 keeps the boundary at or below the 5C hierarchy
- Throughput falls as multiplexing deepens. That fall is not yet quantified.
- XOne gate at a time.ValidationPROPOSED OBJECTIVES · NOT COMMITMENTS
Read the plate as text
- PLATE X · VALIDATION
- One gate at a time.
- Each Lite stage closes only on the evidence written under it. L0 is done as documentation; L1 to L4 are proposed.
- GROMACS comparison only after a pre-registered protocol: version, force field, system, atom count, cutoff, precision, error metric, tolerance.
- we are here
- L0 · evidence audit of 3C and 5C DONE · AS DOCUMENTATION
- L1 · reduced synthesis at or below 5C
- needs a new out-of-context utilization report
- L2 · place, route, time
- needs a routed timing report with user constraints
- L3 · program a named board
- needs a board log matching the 5C vector hash or the 3C golden
- L4 · host and external memory
- optional · needs measured bandwidth and latency
- Days 1–30 · 8 Nov – 7 Dec 2026 · audit, map, feasibility
- Days 31–60 · 8 Dec – 6 Jan 2027 · first new reports
- Days 61–90 · 7 Jan – 5 Feb 2027 · evaluate
- PROPOSED OBJECTIVES · NOT COMMITMENTS
- XIEvidence you can inspect. Five places to work together.What exists · where help would matterPROPOSED TOPICS · NONE AGREED
Read the plate as text
- PLATE XI · WHAT EXISTS
- Evidence you can inspect.
- WHERE HELP WOULD MATTER
- Five places to work together.
- 1
- 2
- 3
- 4
- 5
- from evidence to the next gate
- 39 captured RTL files, with their testbenches
- Six component simulations, with logs and seeds
- Out-of-context synthesis reports for 3C, 5C and the reduced 7B
- Every failure kept: resource stops, compiler errors and the original 3C coverage failure
- A sealed evidence archive, verified by SHA-256
- Technical review of the MDX architecture
- Access to an FPGA prototyping platform
- A high-memory synthesis environment
- Engineering support for integration, memory architecture and physical implementation
- A conversation about a future FPGA-to-ASIC path
- PROPOSED TOPICS · NONE AGREED
- RTL and the detailed annex are shared after a confidentiality agreement.
- XIIEvery pair, every timestep — verified one step at a time.Closing
Read the plate as text
- PLATE XII
- MDX
- Every pair, every timestep — verified one step at a time.
- Six components simulate. Two blocks fit in synthesis. The accumulator and its memory do not, yet. The next step is a small demonstrator that can be measured.
- the same pair as plate I
- Selman Ali Dokumacı
- Researcher
- SIM · PASS
- Simulated as a component
- SYNTH · OOC
- Synthesized out of context. Not placed, not routed, no timing.
- NOT MEASURED
- Not run, failed, or not measured
- PROPOSED
- Proposed: not built, connected or tested
- EXCEEDS DEVICE
- A capacity result, not an implementation