back.pysim: naming. NFC.

This commit is contained in:
whitequark 2018-12-18 04:46:36 +00:00
parent 65702719e8
commit 39605ef551

View file

@ -343,10 +343,10 @@ class Simulator:
result = None result = None
while True: while True:
self._process_loc[sync_process] = self._name_process(process) self._process_loc[sync_process] = self._name_process(process)
result = process.send(result) cmd = process.send(result)
if result is None: if cmd is None:
result = Tick(domain) cmd = Tick(domain)
result = yield result result = yield cmd
except StopIteration: except StopIteration:
pass pass
sync_process = sync_process() sync_process = sync_process()