sim.core: correct deprecation warning

This commit is contained in:
Sage Walker 2024-03-22 16:41:03 -07:00 committed by Catherine
parent 6ce82848d9
commit 9ed83b6aff

View file

@ -88,7 +88,7 @@ class Simulator:
yield from process()
self._engine.add_coroutine_process(wrapper, default_cmd=None)
@deprecated("The `add_sync_process` method is deprecated per RFC 47. Use `add_process` or `add_testbench` instead.")
@deprecated("The `add_sync_process` method is deprecated per RFC 27. Use `add_process` or `add_testbench` instead.")
def add_sync_process(self, process, *, domain="sync"):
process = self._check_process(process)
def wrapper():