Skip to content

Commit 25330bf

Browse files
committed
wip (#439)
1 parent 2989645 commit 25330bf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

nmigen/sim/cxxsim.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ def reset(self):
116116
process.reset()
117117

118118
def _real_step(self):
119-
for process in self._processes:
120-
if process.runnable:
121-
process.runnable = False
122-
process.run()
123-
124119
while True:
125120
self._state.eval()
121+
for process in self._processes:
122+
if process.runnable:
123+
process.runnable = False
124+
process.run()
125+
126126
if not self._state.commit():
127127
break
128128

0 commit comments

Comments
 (0)