Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Circuit] Support mutable IO #1351

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

rsetaluri
Copy link
Collaborator

See #1349.

@codecov-commenter
Copy link

codecov-commenter commented Jan 26, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (ed03f44) 85.24% compared to head (b1b1055) 85.22%.

❗ Current head b1b1055 differs from pull request most recent head 5230a5e. Consider uploading reports for the commit 5230a5e to get more accurate results

Files Patch % Lines
magma/interface.py 85.00% 3 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1351      +/-   ##
==========================================
- Coverage   85.24%   85.22%   -0.02%     
==========================================
  Files         169      169              
  Lines       17617    17624       +7     
==========================================
+ Hits        15017    15020       +3     
- Misses       2600     2604       +4     

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

Comment on lines +479 to +482
if self._bound or other._bound:
raise Exception("Adding bound IO not allowed")
if self._ports.keys() & other._ports.keys():
raise Exception("Adding IO with duplicate port names not allowed")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should move this to a helper function so it can share code with __iadd__.

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.

3 participants