From 5edff532a8411b92010a8ba4400e39d3ae66a7af Mon Sep 17 00:00:00 2001 From: Wanda Date: Wed, 13 Mar 2024 13:50:42 +0100 Subject: [PATCH] sim: Do not direct user to deprecated `add_sync_process`. --- amaranth/sim/_pycoro.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/amaranth/sim/_pycoro.py b/amaranth/sim/_pycoro.py index 6baffac..085eb00 100644 --- a/amaranth/sim/_pycoro.py +++ b/amaranth/sim/_pycoro.py @@ -143,8 +143,7 @@ class PyCoroProcess(BaseProcess): elif command is None: # only possible if self.default_cmd is None raise TypeError("Received default command from process {!r} that was added " - "with add_process(); did you mean to add this process with " - "add_sync_process() instead?" + "with add_process(); did you mean to use Tick() instead?" .format(self.src_loc())) else: