Skip to content

Wave Loop 773 — [365][2]^6 Pt non-power-of-two outer-dimension array-of-struct variable from call with indexed signed writes#1482

Merged
gHashTag merged 4 commits into
masterfrom
wave-loop-773
Jul 23, 2026
Merged

Wave Loop 773 — [365][2]^6 Pt non-power-of-two outer-dimension array-of-struct variable from call with indexed signed writes#1482
gHashTag merged 4 commits into
masterfrom
wave-loop-773

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Goal
Close Wave Loop 773 by validating a module-scope [365][2]^6 Pt packed array-of-struct variable initialized from a function call, with indexed signed field writes and assert_eq read-back in a bench block.

Acceptance criteria

  1. specs/scratch/w773_bench_module_365x2p6_aos_var_call_write.t27 is generated and parses.
  2. The witness is Icarus-lowerable and simulates correctly (17 cycles, PASSED).
  3. The cocotb reference model matches the t27 semantics.
  4. t27c seal --save succeeds and FROZEN_HASH remains unchanged.
  5. All cargo suites remain green.
  6. Integration test accepts_w773_bench_module_365x2p6_aos_var_call_write is added.
  7. Closeout report docs/reports/FPGA_LOOP_CLOSEOUT_W773_2026-07-24.md is written.
  8. Learning is saved to .trinity/experience.md, memory, and skills-wave-loop-recipe.md.
  9. Branch merges to master with Closes #1744.

Technical notes

  • Shape: [365][2]^6 Pt where Pt = pub struct Pt { x : i16, y : i16 }.
  • Total elements: 365 x 64 = 23,360.
  • Packed vector width: 23,360 x 32 = 747,520 bits (~0.713 MiBit).
  • MID_IDX = 182; frame-condition element [182][1][0][0][0][0][0] is element 182*64 + 32 = 11,680.
  • Generator script: scripts/gen_w773.py (copy from scripts/gen_w772.py, set OUTER = 365 and MID_IDX = 182, manually fix the f-string header).
  • Use assert_eq checks on changed elements (Icarus simulation path does not emit assert_ne).
  • Include make_grid(32768) period-identity check because 32768 == 0 (mod 32768).
  • Zero compiler / reference-model / FROZEN_HASH changes expected.

Cooperation variants for next Wave Loop

  • Variant A (recommended): continue the odd outer-dimension ladder with [367][2]^6 Pt.
  • Variant B: keep width at ~0.713 MiBit but move the packed var to bench/function scope.
  • Variant C: add if-guarded indexed signed field writes at the current width.

phi^2 + 1/phi^2 = 3 | TRINITY

Dmitrii Vasilev and others added 3 commits July 24, 2026 02:19
…ed, next-wave cooperation variants set

Refs #1481

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…wo outer-dimension array-of-struct variable from call with indexed signed writes

Closes #1481

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
… plan

Closes #1481

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-07-23 19:28:40 UTC

Summary

Status Count
Total Open PRs 33
PRs with Failing Checks 23
PRs with All Checks Green 10
READY 9
FAILING 23
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=68a0b933c00b != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

…wave-loop-774 plan

Refs #1481

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-07-23 19:30:07 UTC

Summary

Status Count
Total Open PRs 33
PRs with Failing Checks 23
PRs with All Checks Green 10
READY 9
FAILING 23
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=68a0b933c00b != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag merged commit 9f7f400 into master Jul 23, 2026
21 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant