| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- {
- "schema": "prod2u-mrdimm-area-ledger-v1",
- "generated_at_utc": "2026-09-07T02:32:00Z",
- "device": {
- "family": "Anlogic EF2",
- "part": "EF2L45BG256B",
- "lut_capacity": 4480,
- "slice_capacity": 2240,
- "reg_capacity": 4480,
- "bram9k_capacity": 12,
- "dsp_capacity": 15
- },
- "toolchain": {
- "name": "Anlogic TD",
- "version": "Release_2026.1_SP2 Build: 6.2.2.200067",
- "command": "td2026",
- "strategy": {
- "gate_opt_area": "high",
- "gate_pack_effort": "high",
- "async_reg": "on",
- "defines": ["PROD2U_TD_VENDOR_RAM"]
- }
- },
- "baselines": {
- "d4e2595": {
- "commit": "d4e2595ff2736bdf7679e64712d6b913f084d039",
- "top": "prod2u_mrdimm_rs232_only_top",
- "run_id": "fetch-factor-td-d4e2595",
- "status": "FAIL",
- "failure_reason": "LUT capacity exceeded (5449 / 4480, excess 969)",
- "metrics": {
- "lut": 5449,
- "registers": 3929,
- "bram": 8,
- "dsp": 1,
- "packed_slices": 3016,
- "mslice": 1508,
- "lslice": 1508
- },
- "hierarchy": {
- "top": { "lut": 5069, "ripple": 380, "seq": 3944, "bram": 8, "dsp": 1 },
- "core": { "lut": 5058, "ripple": 380, "seq": 3929, "bram": 8, "dsp": 1 },
- "u_motor": {
- "total_lut_with_ripple": 3024,
- "lut": 2775,
- "ripple": 249,
- "seq": 2579,
- "bram": 4,
- "dsp": 1,
- "submodules": {
- "u_axes": {
- "total_lut_with_ripple": 1244,
- "lut": 1130,
- "ripple": 114,
- "seq": 1448,
- "submodules": {
- "u_state_bank": { "lut": 411, "ripple": 0, "seq": 966 }
- }
- },
- "u_limit_history": { "lut": 230, "ripple": 0, "seq": 0 },
- "u_events": { "lut": 183, "ripple": 31, "seq": 75, "bram": 2 },
- "u_queue": { "lut": 109, "ripple": 10, "seq": 270, "bram": 1, "dsp": 1 },
- "u_stage": { "lut": 0, "ripple": 0, "seq": 0, "bram": 1 },
- "motor_engine_internal_glue_mux": { "lut": 1123, "ripple": 94, "seq": -174 }
- }
- },
- "u_snapshot": {
- "total_lut_with_ripple": 832,
- "lut": 828,
- "ripple": 4,
- "seq": 381,
- "bram": 1,
- "submodules": {
- "u_snapshot_memory_mux": { "lut": 622, "ripple": 0, "seq": 0, "bram": 1 }
- }
- },
- "u_command": { "lut": 318, "ripple": 22, "seq": 221, "bram": 0, "dsp": 0 },
- "u_ct_snapshot": { "lut": 303, "ripple": 30, "seq": 130, "bram": 2, "dsp": 0 },
- "u_ct_i2c": { "lut": 194, "ripple": 12, "seq": 88, "bram": 0, "dsp": 0 },
- "u_output": {
- "lut": 186,
- "ripple": 9,
- "seq": 248,
- "bram": 0,
- "dsp": 0,
- "submodules": {
- "u_pwm": { "lut": 63, "ripple": 9, "seq": 41 }
- }
- },
- "u_frame_rx": { "lut": 134, "ripple": 19, "seq": 98 },
- "u_frame_tx": { "lut": 114, "ripple": 5, "seq": 33 },
- "u_host_rx": { "lut": 45, "ripple": 0, "seq": 32 },
- "u_host_tx": { "lut": 25, "ripple": 0, "seq": 21 },
- "u_host_crc": { "lut": 43, "ripple": 0, "seq": 30 },
- "u_host_select": { "lut": 43, "ripple": 11, "seq": 23 },
- "u_payload": { "lut": 0, "ripple": 0, "seq": 0, "bram": 1 },
- "u_por": { "lut": 10, "ripple": 6, "seq": 11 },
- "u_tick_1s": { "lut": 33, "ripple": 13, "seq": 26 },
- "u_tick_1us": { "lut": 6, "ripple": 0, "seq": 6 }
- }
- },
- "037b459": {
- "commit": "037b4596e3fcad358d7e0129bc7b2b00ebf92b74",
- "top": "prod2u_mrdimm_rs232_only_top",
- "run_id": "dsp-done-td-037b459",
- "status": "FAIL",
- "failure_reason": "PHY-9011 slice limit exceeded (4501 LUTs + 354 slices > 2240 slices)",
- "metrics": {
- "lut": 5209,
- "registers": 4405,
- "bram": 8,
- "dsp": 9,
- "packed_slices": 354,
- "mslice": 228,
- "lslice": 126
- },
- "delta_vs_d4e2595": {
- "lut": -240,
- "registers": 476,
- "dsp": 8,
- "bram": 0
- }
- }
- },
- "cost_breakdown_by_function": {
- "motor_subsystem": {
- "lut_total": 3024,
- "percentage_of_design": "55.5%",
- "primary_cost_centers": [
- { "name": "motor_axis_core (adders, comparators, clamp, 322-bit state bank)", "lut": 1244 },
- { "name": "motor_engine glue (queue staging, control FSM, arbitration, depth calculation)", "lut": 1123 },
- { "name": "motor_limit_history (160-bit rotating capture bank)", "lut": 230 },
- { "name": "motor_event_ring (freeze view, byte unpack, event memory)", "lut": 214 },
- { "name": "motor_queue_storage (packed slot memory, slot pointers)", "lut": 119 }
- ]
- },
- "snapshot_and_telemetry": {
- "lut_total": 832,
- "percentage_of_design": "15.3%",
- "primary_cost_centers": [
- { "name": "u_snapshot_memory input multiplexers (formatting 352 bytes into BRAM)", "lut": 622 },
- { "name": "snapshot sequence control & bank arbitration", "lut": 206 }
- ]
- },
- "thermal_pwm_and_watchdog": {
- "lut_total": 195,
- "percentage_of_design": "3.6%",
- "primary_cost_centers": [
- { "name": "mrdimm_output_core registers & watchdog lease countdown", "lut": 122 },
- { "name": "pwm_bitmap_engine (carrier phase accumulator, scan sequencer)", "lut": 72 }
- ]
- },
- "host_transport_and_framing": {
- "lut_total": 718,
- "percentage_of_design": "13.2%",
- "primary_cost_centers": [
- { "name": "mrdimm_host_command FSM & command validation", "lut": 340 },
- { "name": "frame_rx / frame_tx / UART byte serializers", "lut": 318 },
- { "name": "crc16_serial & host port selector", "lut": 60 }
- ]
- },
- "sensor_acquisition": {
- "lut_total": 539,
- "percentage_of_design": "9.9%",
- "primary_cost_centers": [
- { "name": "ct7428_snapshot (2-bank staging)", "lut": 333 },
- { "name": "i2c_word_reader", "lut": 206 }
- ]
- }
- },
- "refactoring_opportunities_route_a": [
- {
- "target": "motor_axis_state_bank & cold statistics separation",
- "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.",
- "estimated_lut_saving": "250-350 LUT"
- },
- {
- "target": "shared arithmetic in motor_axis_core",
- "rationale": "Replace multiple 32/34-bit adders/subtractors per axis with a time-multiplexed 16-bit ALU with carry.",
- "estimated_lut_saving": "150-250 LUT"
- },
- {
- "target": "payload_ram reuse for queue staging (eliminate duplicate u_stage BRAM and glue)",
- "rationale": "motor_engine.u_stage duplicates 128 bytes of queue descriptor data that is already held in payload_ram during valid transaction processing.",
- "estimated_lut_saving": "60-120 LUT"
- },
- {
- "target": "mrdimm_snapshot_mux write formatting compaction",
- "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.",
- "estimated_lut_saving": "200-300 LUT"
- }
- ]
- }
|