You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There has be a few extensive changes in cocotb that have resulted in cocotbext-axi not working against the head of the repo. It related to this change cocotb #3792, which changes and deprecates how things are done.
In my testing this is the first fallover in cocotbext-axi:
File "/mnt/sda/projects/cocotbext-axi/cocotbext/axi/stream.py", line 123, in __init__
v.binstr = 'x'*len(v)
^^^^^^^^
AttributeError: property 'binstr' of 'LogicArray' object has no setter
I fixed (or bypassed) that one, but there are more, I am still unclear what this base code is doing and just the start of the rabbit hole:
Traceback (most recent call last):
File "/mnt/sda/projects/cocotbext-axi/cocotbext/axi/axi_master.py", line 592, in _process_write_resp
bid = int(getattr(b, 'bid', 0))
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/sda/projects/cocotb/src/cocotb/types/logic_array.py", line 460, in __int__
return self.to_unsigned()
^^^^^^^^^^^^^^^^^^
File "/mnt/sda/projects/cocotb/src/cocotb/types/logic_array.py", line 361, in to_unsigned
value = value << 1 | int(bit)
^^^^^^^^
File "/mnt/sda/projects/cocotb/src/cocotb/types/logic.py", line 243, in __int__
raise ValueError(f"Cannot convert {self!r} to int")
ValueError: Cannot convert Logic('X') to int
Reporting to start, I may get time to see if I can propose fixes
The text was updated successfully, but these errors were encountered:
There has be a few extensive changes in
cocotb
that have resulted incocotbext-axi
not working against the head of the repo. It related to this change cocotb #3792, which changes and deprecates how things are done.In my testing this is the first fallover in
cocotbext-axi
:I fixed (or bypassed) that one, but there are more, I am still unclear what this base code is doing and just the start of the rabbit hole:
Reporting to start, I may get time to see if I can propose fixes
The text was updated successfully, but these errors were encountered: