Revert back to cocotb.fork

This commit is contained in:
Alex Forencich
2021-03-24 16:24:18 -07:00
parent 295db437f7
commit 030e088b25
11 changed files with 24 additions and 24 deletions

View File

@@ -258,7 +258,7 @@ class XgmiiSource(Reset):
else:
self.log.info("Reset de-asserted")
if self._run_cr is None:
self._run_cr = cocotb.scheduler.start_soon(self._run())
self._run_cr = cocotb.fork(self._run())
async def _run(self):
frame = None
@@ -437,7 +437,7 @@ class XgmiiSink(Reset):
else:
self.log.info("Reset de-asserted")
if self._run_cr is None:
self._run_cr = cocotb.scheduler.start_soon(self._run())
self._run_cr = cocotb.fork(self._run())
async def _run(self):
frame = None