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
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:
@@ -140,7 +140,7 @@ class MiiSource(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
|
||||
@@ -324,7 +324,7 @@ class MiiSink(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
|
||||
@@ -432,7 +432,7 @@ class MiiPhy:
|
||||
raise ValueError("Invalid speed selection")
|
||||
|
||||
if self._clock_cr is not None:
|
||||
self._clock_cr.kill()
|
||||
self._clock_cr.cancel()
|
||||
|
||||
self._clock_cr = cocotb.start_soon(self._run_clocks(4*1e9/self.speed))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user