back.pysim: in simulator sync processes, start by waiting for a tick.
This matches Migen behavior and also makes more sense.
This commit is contained in:
parent
e230383aac
commit
4f5b4a9bf4
|
@ -241,7 +241,7 @@ class Simulator:
|
|||
process = self._check_process(process)
|
||||
def sync_process():
|
||||
try:
|
||||
result = process.send(None)
|
||||
result = None
|
||||
while True:
|
||||
if result is None:
|
||||
result = Tick(domain)
|
||||
|
|
Loading…
Reference in a new issue