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: 34b81d0b8720
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: 65702719e821
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 18, 2018

  1. back.pysim: fix an off-by-1 in add_sync_process().

    whitequark committed Dec 18, 2018
    Copy the full SHA
    6570271 View commit details
Showing with 3 additions and 2 deletions.
  1. +3 −2 nmigen/back/pysim.py
5 changes: 3 additions & 2 deletions nmigen/back/pysim.py
Original file line number Diff line number Diff line change
@@ -342,10 +342,11 @@ def sync_process():
try:
result = None
while True:
self._process_loc[sync_process] = self._name_process(process)
result = process.send(result)
if result is None:
result = Tick(domain)
self._process_loc[sync_process] = self._name_process(process)
result = process.send((yield result))
result = yield result
except StopIteration:
pass
sync_process = sync_process()