Skip to content

Implement RFC 27 amendment: deprecate add_sync_process, not add_process. #1093

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

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

wanda-phi
Copy link
Member

No description provided.

Copy link

codecov bot commented Feb 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (05ac367) 87.15% compared to head (14beaa1) 87.16%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1093      +/-   ##
==========================================
+ Coverage   87.15%   87.16%   +0.01%     
==========================================
  Files          41       41              
  Lines        7427     7420       -7     
  Branches     1767     1765       -2     
==========================================
- Hits         6473     6468       -5     
+ Misses        778      776       -2     
  Partials      176      176              

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

@wanda-phi wanda-phi changed the title Implement RFC 47: TBD. Implement RFC 27 amendment: deprecate add_sync_process, not add_process. Feb 8, 2024
@wanda-phi wanda-phi marked this pull request as ready for review February 12, 2024 18:03
Copy link
Member

@whitequark whitequark left a comment

Choose a reason for hiding this comment

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

I think this is insufficient since we ban yield Settle() in add_process: https://amaranth-lang.org/rfcs/0027-simulator-testbenches.html#guidance-on-simulator-modalities

@wanda-phi
Copy link
Member Author

I think this is insufficient since we ban yield Settle() in add_process: https://amaranth-lang.org/rfcs/0027-simulator-testbenches.html#guidance-on-simulator-modalities

I don't quite understand? Using Settle in add_process raises a deprecation warning right on Settle construction.

@whitequark
Copy link
Member

I don't quite understand? Using Settle in add_process raises a deprecation warning right on Settle construction.

Oh sorry, I completely forgot that it's entirely deprecated, that's 100% on me.

Copy link
Member

@whitequark whitequark left a comment

Choose a reason for hiding this comment

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

Thank you!

@whitequark whitequark added this pull request to the merge queue Feb 12, 2024
Merged via the queue into amaranth-lang:main with commit 4014f64 Feb 12, 2024
@wanda-phi wanda-phi deleted the sync-proc branch February 12, 2024 22:50
@whitequark whitequark added this to the 0.5 milestone Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants