Skip to content

feat(bitnet): self-contained bundle — include trit_stdlib so it elaborates standalone - #1740

Merged
gHashTag merged 1 commit into
masterfrom
feat/self-contained-bundle
Aug 5, 2026
Merged

gHashTag merged 1 commit into
masterfrom
feat/self-contained-bundle

Conversation

@gHashTag

@gHashTag gHashTag commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Follow-up from #1730. gen-bitnet-bundle emitted pipeline_stage2_compute (which instantiates trit27_dot_product) but did not include the trit stdlib that defines it — so the bundle could not elaborate or synthesize standalone (Unknown module type: trit27_dot_product).

Closes #1739

Change

Compose trit_stdlib.sv into the bundle at dependency-first position (index 0). BUNDLE_ORDER / BUNDLE_FILE_COUNT 12 → 13; the index-based unit tests are updated accordingly. tests/bitnet_elaborate.rs is simplified to elaborate the bundle directory as-is (no separate stdlib emission) — so it now proves self-containment.

Verification

🤖 Generated with Claude Code

The bundle emitted pipeline_stage2_compute (which instantiates
trit27_dot_product) but omitted the trit stdlib that defines it, so it could
not elaborate/synthesize standalone. Compose trit_stdlib.sv at dependency-
first position; BUNDLE_ORDER/BUNDLE_FILE_COUNT 12 -> 13; update index-based
unit tests. Simplify tests/bitnet_elaborate.rs to elaborate the bundle
directory as-is -- now proves self-containment.

Verified: iverilog -t null -s bitnet_engine_top over the bundle alone
elaborates clean; unit 1500/0, bundle 21/21. No compiler change, no reseal.

Closes #1739

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

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

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

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-08-05 18:25:46 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 0
PRs with All Checks Green 50
READY 0
FAILING 0
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=864a709e6e17 != 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 4c86917 into master Aug 5, 2026
21 of 23 checks passed
@gHashTag
gHashTag deleted the feat/self-contained-bundle branch August 5, 2026 18:26
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.

feat: make gen-bitnet-bundle self-contained (include trit_stdlib so it elaborates standalone)

1 participant