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

.add_sync_process() is deprecated #6

Open
lonjil opened this issue Jul 3, 2024 · 1 comment
Open

.add_sync_process() is deprecated #6

lonjil opened this issue Jul 3, 2024 · 1 comment

Comments

@lonjil
Copy link

lonjil commented Jul 3, 2024

The simulations use .add_sync_process(), which emits a deprecation warning.

I am very new to Amaranth, so I may be missing something, but .add_process() appears to work just fine.

@bl0x
Copy link
Owner

bl0x commented Jul 4, 2024

Amaranth HDL completely changed the way simulations work (going to async functions instead of synchronous).
I'll now migrate the code to use the new system step by step.
Since these simulations are testbenches, I'll use .add_testbench().
Also take a look here for reference: https://amaranth-lang.org/docs/amaranth/latest/simulator.html

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

No branches or pull requests

2 participants