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

@@ -140,7 +140,7 @@ class RgmiiSource(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
@@ -347,7 +347,7 @@ class RgmiiSink(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
@@ -470,7 +470,7 @@ class RgmiiPhy:
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_clock(8*1e9/self.speed))