Cocotb 2.0 changes
Some checks are pending
Regression Tests / Python 3.10 (push) Waiting to run
Regression Tests / Python 3.11 (push) Waiting to run
Regression Tests / Python 3.12 (push) Waiting to run
Regression Tests / Python 3.13 (push) Waiting to run
Regression Tests / Python 3.8 (push) Waiting to run
Regression Tests / Python 3.9 (push) Waiting to run
build / Build distributions (push) Successful in 8s
build / deploy (push) Has been skipped

value_change, kill -> cancel
This commit is contained in:
2026-02-08 13:48:23 -08:00
parent bebafc3f73
commit 1636003e2c
12 changed files with 21 additions and 21 deletions

View File

@@ -239,7 +239,7 @@ class GmiiSource(Reset):
if state:
self.log.info("Reset asserted")
if self._run_cr is not None:
self._run_cr.kill()
self._run_cr.cancel()
self._run_cr = None
self.active = False
@@ -433,7 +433,7 @@ class GmiiSink(Reset):
if state:
self.log.info("Reset asserted")
if self._run_cr is not None:
self._run_cr.kill()
self._run_cr.cancel()
self._run_cr = None
self.active = False
@@ -546,7 +546,7 @@ class GmiiPhy:
raise ValueError("Invalid speed selection")
if self._clock_cr is not None:
self._clock_cr.kill()
self._clock_cr.cancel()
if self.speed == 1000e6:
self._clock_cr = cocotb.start_soon(self._run_clocks(8*1e9/self.speed))