AREA-LEDGER.json 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. {
  2. "schema": "prod2u-mrdimm-area-ledger-v1",
  3. "generated_at_utc": "2026-09-07T02:32:00Z",
  4. "device": {
  5. "family": "Anlogic EF2",
  6. "part": "EF2L45BG256B",
  7. "lut_capacity": 4480,
  8. "slice_capacity": 2240,
  9. "reg_capacity": 4480,
  10. "bram9k_capacity": 12,
  11. "dsp_capacity": 15
  12. },
  13. "toolchain": {
  14. "name": "Anlogic TD",
  15. "version": "Release_2026.1_SP2 Build: 6.2.2.200067",
  16. "command": "td2026",
  17. "strategy": {
  18. "gate_opt_area": "high",
  19. "gate_pack_effort": "high",
  20. "async_reg": "on",
  21. "defines": ["PROD2U_TD_VENDOR_RAM"]
  22. }
  23. },
  24. "baselines": {
  25. "d4e2595": {
  26. "commit": "d4e2595ff2736bdf7679e64712d6b913f084d039",
  27. "top": "prod2u_mrdimm_rs232_only_top",
  28. "run_id": "fetch-factor-td-d4e2595",
  29. "status": "FAIL",
  30. "failure_reason": "LUT capacity exceeded (5449 / 4480, excess 969)",
  31. "metrics": {
  32. "lut": 5449,
  33. "registers": 3929,
  34. "bram": 8,
  35. "dsp": 1,
  36. "packed_slices": 3016,
  37. "mslice": 1508,
  38. "lslice": 1508
  39. },
  40. "hierarchy": {
  41. "top": { "lut": 5069, "ripple": 380, "seq": 3944, "bram": 8, "dsp": 1 },
  42. "core": { "lut": 5058, "ripple": 380, "seq": 3929, "bram": 8, "dsp": 1 },
  43. "u_motor": {
  44. "total_lut_with_ripple": 3024,
  45. "lut": 2775,
  46. "ripple": 249,
  47. "seq": 2579,
  48. "bram": 4,
  49. "dsp": 1,
  50. "submodules": {
  51. "u_axes": {
  52. "total_lut_with_ripple": 1244,
  53. "lut": 1130,
  54. "ripple": 114,
  55. "seq": 1448,
  56. "submodules": {
  57. "u_state_bank": { "lut": 411, "ripple": 0, "seq": 966 }
  58. }
  59. },
  60. "u_limit_history": { "lut": 230, "ripple": 0, "seq": 0 },
  61. "u_events": { "lut": 183, "ripple": 31, "seq": 75, "bram": 2 },
  62. "u_queue": { "lut": 109, "ripple": 10, "seq": 270, "bram": 1, "dsp": 1 },
  63. "u_stage": { "lut": 0, "ripple": 0, "seq": 0, "bram": 1 },
  64. "motor_engine_internal_glue_mux": { "lut": 1123, "ripple": 94, "seq": -174 }
  65. }
  66. },
  67. "u_snapshot": {
  68. "total_lut_with_ripple": 832,
  69. "lut": 828,
  70. "ripple": 4,
  71. "seq": 381,
  72. "bram": 1,
  73. "submodules": {
  74. "u_snapshot_memory_mux": { "lut": 622, "ripple": 0, "seq": 0, "bram": 1 }
  75. }
  76. },
  77. "u_command": { "lut": 318, "ripple": 22, "seq": 221, "bram": 0, "dsp": 0 },
  78. "u_ct_snapshot": { "lut": 303, "ripple": 30, "seq": 130, "bram": 2, "dsp": 0 },
  79. "u_ct_i2c": { "lut": 194, "ripple": 12, "seq": 88, "bram": 0, "dsp": 0 },
  80. "u_output": {
  81. "lut": 186,
  82. "ripple": 9,
  83. "seq": 248,
  84. "bram": 0,
  85. "dsp": 0,
  86. "submodules": {
  87. "u_pwm": { "lut": 63, "ripple": 9, "seq": 41 }
  88. }
  89. },
  90. "u_frame_rx": { "lut": 134, "ripple": 19, "seq": 98 },
  91. "u_frame_tx": { "lut": 114, "ripple": 5, "seq": 33 },
  92. "u_host_rx": { "lut": 45, "ripple": 0, "seq": 32 },
  93. "u_host_tx": { "lut": 25, "ripple": 0, "seq": 21 },
  94. "u_host_crc": { "lut": 43, "ripple": 0, "seq": 30 },
  95. "u_host_select": { "lut": 43, "ripple": 11, "seq": 23 },
  96. "u_payload": { "lut": 0, "ripple": 0, "seq": 0, "bram": 1 },
  97. "u_por": { "lut": 10, "ripple": 6, "seq": 11 },
  98. "u_tick_1s": { "lut": 33, "ripple": 13, "seq": 26 },
  99. "u_tick_1us": { "lut": 6, "ripple": 0, "seq": 6 }
  100. }
  101. },
  102. "037b459": {
  103. "commit": "037b4596e3fcad358d7e0129bc7b2b00ebf92b74",
  104. "top": "prod2u_mrdimm_rs232_only_top",
  105. "run_id": "dsp-done-td-037b459",
  106. "status": "FAIL",
  107. "failure_reason": "PHY-9011 slice limit exceeded (4501 LUTs + 354 slices > 2240 slices)",
  108. "metrics": {
  109. "lut": 5209,
  110. "registers": 4405,
  111. "bram": 8,
  112. "dsp": 9,
  113. "packed_slices": 354,
  114. "mslice": 228,
  115. "lslice": 126
  116. },
  117. "delta_vs_d4e2595": {
  118. "lut": -240,
  119. "registers": 476,
  120. "dsp": 8,
  121. "bram": 0
  122. }
  123. }
  124. },
  125. "cost_breakdown_by_function": {
  126. "motor_subsystem": {
  127. "lut_total": 3024,
  128. "percentage_of_design": "55.5%",
  129. "primary_cost_centers": [
  130. { "name": "motor_axis_core (adders, comparators, clamp, 322-bit state bank)", "lut": 1244 },
  131. { "name": "motor_engine glue (queue staging, control FSM, arbitration, depth calculation)", "lut": 1123 },
  132. { "name": "motor_limit_history (160-bit rotating capture bank)", "lut": 230 },
  133. { "name": "motor_event_ring (freeze view, byte unpack, event memory)", "lut": 214 },
  134. { "name": "motor_queue_storage (packed slot memory, slot pointers)", "lut": 119 }
  135. ]
  136. },
  137. "snapshot_and_telemetry": {
  138. "lut_total": 832,
  139. "percentage_of_design": "15.3%",
  140. "primary_cost_centers": [
  141. { "name": "u_snapshot_memory input multiplexers (formatting 352 bytes into BRAM)", "lut": 622 },
  142. { "name": "snapshot sequence control & bank arbitration", "lut": 206 }
  143. ]
  144. },
  145. "thermal_pwm_and_watchdog": {
  146. "lut_total": 195,
  147. "percentage_of_design": "3.6%",
  148. "primary_cost_centers": [
  149. { "name": "mrdimm_output_core registers & watchdog lease countdown", "lut": 122 },
  150. { "name": "pwm_bitmap_engine (carrier phase accumulator, scan sequencer)", "lut": 72 }
  151. ]
  152. },
  153. "host_transport_and_framing": {
  154. "lut_total": 718,
  155. "percentage_of_design": "13.2%",
  156. "primary_cost_centers": [
  157. { "name": "mrdimm_host_command FSM & command validation", "lut": 340 },
  158. { "name": "frame_rx / frame_tx / UART byte serializers", "lut": 318 },
  159. { "name": "crc16_serial & host port selector", "lut": 60 }
  160. ]
  161. },
  162. "sensor_acquisition": {
  163. "lut_total": 539,
  164. "percentage_of_design": "9.9%",
  165. "primary_cost_centers": [
  166. { "name": "ct7428_snapshot (2-bank staging)", "lut": 333 },
  167. { "name": "i2c_word_reader", "lut": 206 }
  168. ]
  169. }
  170. },
  171. "refactoring_opportunities_route_a": [
  172. {
  173. "target": "motor_axis_state_bank & cold statistics separation",
  174. "rationale": "Currently all 322 bits per axis (total 966 bits) are instantiated as fast registered paths. Only STEP/DIR, limit sync/truncation, and next deadline need single-cycle evaluation. Positions, executed steps, total steps, and hit counters are cold multi-cycle operations.",
  175. "estimated_lut_saving": "250-350 LUT"
  176. },
  177. {
  178. "target": "shared arithmetic in motor_axis_core",
  179. "rationale": "Replace multiple 32/34-bit adders/subtractors per axis with a time-multiplexed 16-bit ALU with carry.",
  180. "estimated_lut_saving": "150-250 LUT"
  181. },
  182. {
  183. "target": "payload_ram reuse for queue staging (eliminate duplicate u_stage BRAM and glue)",
  184. "rationale": "motor_engine.u_stage duplicates 128 bytes of queue descriptor data that is already held in payload_ram during valid transaction processing.",
  185. "estimated_lut_saving": "60-120 LUT"
  186. },
  187. {
  188. "target": "mrdimm_snapshot_mux write formatting compaction",
  189. "rationale": "The 622 LUT attributed under snapshot BRAM is caused by wide combinational multiplexing of 352 bytes. Formatting fields sequentially into BRAM over multiple clocks drastically reduces MUX depth.",
  190. "estimated_lut_saving": "200-300 LUT"
  191. }
  192. ]
  193. }