Skip to content

Unsigned and Signed#271

Draft
ktbarrett wants to merge 3 commits into
devfrom
unsigned-signed
Draft

Unsigned and Signed#271
ktbarrett wants to merge 3 commits into
devfrom
unsigned-signed

Conversation

@ktbarrett

@ktbarrett ktbarrett commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Closes #191.

These are useful for implementing a bunch of features currently found in cocotb's LogicArray (e.g. from_unsigned, to_unsigned) that we for binding coconext's DynLogicArray to Python in a way it can sit in place of cocotb's using the patcher.

This just uses uint64_t and int64_t. We will adapt UInt, and SInt from #278 once it's done.

@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.84%. Comparing base (6a35641) to head (5529b4b).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #271      +/-   ##
==========================================
+ Coverage   92.76%   92.84%   +0.07%     
==========================================
  Files          23       23              
  Lines        1285     1285              
  Branches      312      312              
==========================================
+ Hits         1192     1193       +1     
  Misses         34       34              
+ Partials       59       58       -1     

☔ 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.

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.

Add Signed/Unsigned datatypes

2 participants