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:
@@ -249,10 +249,10 @@ class EthMacTx(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
|
||||
if self._run_ts_cr is not None:
|
||||
self._run_ts_cr.kill()
|
||||
self._run_ts_cr.cancel()
|
||||
self._run_ts_cr = None
|
||||
|
||||
if self.ptp_ts_valid is not None:
|
||||
@@ -471,7 +471,7 @@ class EthMacRx(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
|
||||
|
||||
Reference in New Issue
Block a user