Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/nmigen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 51a92bc8706a
Choose a base ref
...
head repository: m-labs/nmigen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d6e98fd93408
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 18, 2018

  1. Copy the full SHA
    d6e98fd View commit details
Showing with 3 additions and 1 deletion.
  1. +3 −1 nmigen/back/pysim.py
4 changes: 3 additions & 1 deletion nmigen/back/pysim.py
Original file line number Diff line number Diff line change
@@ -554,10 +554,12 @@ def _run_process(self, process):
interval = cmd.interval
self._wait_deadline[process] = self._timestamp + interval
self._suspended.add(process)
break

elif isinstance(cmd, Tick):
self._wait_tick[process] = cmd.domain
self._suspended.add(process)
break

elif isinstance(cmd, Passive):
self._passive.add(process)
@@ -594,7 +596,7 @@ def _run_process(self, process):
raise TypeError("Received unsupported command '{!r}' from process '{}'"
.format(cmd, self._name_process(process)))

break
cmd = process.send(None)

except StopIteration:
self._processes.remove(process)