Skip to content

Fix a CompiledSimulation concat bug#498

Merged
fdxmw merged 1 commit into
UCSBarchlab:developmentfrom
fdxmw:bugfix
Jul 20, 2026
Merged

Fix a CompiledSimulation concat bug#498
fdxmw merged 1 commit into
UCSBarchlab:developmentfrom
fdxmw:bugfix

Conversation

@fdxmw

@fdxmw fdxmw commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

The bug occurs when the first arg to concat crosses a 64-bit limb boundary. The checks in _build_concat were reversed: We must check if the current arg has more bits before checking if we're done with the concat.

Add a new test_concat_split_offset_start test that fails without this fix.

The bug occurs when the first arg to `concat` crosses a 64-bit limb boundary.
The checks in `_build_concat` were reversed: We must check if the current arg
has more bits before checking if we're done with the `concat`.

Add a new `test_concat_split_offset_start` test that fails without this fix.
@codecov

codecov Bot commented Jul 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.3%. Comparing base (34a4538) to head (e62ae04).

Additional details and impacted files
@@              Coverage Diff              @@
##           development    #498     +/-   ##
=============================================
+ Coverage         92.2%   92.3%   +0.1%     
=============================================
  Files               30      30             
  Lines             7488    7488             
=============================================
+ Hits              6902    6905      +3     
+ Misses             586     583      -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fdxmw
fdxmw merged commit baaf61f into UCSBarchlab:development Jul 20, 2026
4 checks passed
@fdxmw
fdxmw deleted the bugfix branch July 20, 2026 18:42
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