Cocotb 2.0 changes
Some checks are pending
build / Build distributions (push) Successful in 8s
build / deploy (push) Has been skipped
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 (release) Successful in 8s
build / deploy (release) Successful in 7s
Some checks are pending
build / Build distributions (push) Successful in 8s
build / deploy (push) Has been skipped
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 (release) Successful in 8s
build / deploy (release) Successful in 7s
value_change, kill -> cancel
This commit is contained in:
@@ -56,7 +56,7 @@ class Reset:
|
||||
|
||||
async def _run_reset(self, reset_signal, active_level):
|
||||
while True:
|
||||
await Edge(reset_signal)
|
||||
await reset_signal.value_change
|
||||
try:
|
||||
level = bool(int(reset_signal.value))
|
||||
except ValueError:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = "0.1.23"
|
||||
__version__ = "0.1.24"
|
||||
|
||||
Reference in New Issue
Block a user