Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something is broken between 0.1.20 and 0.1.22 #73

Open
rodrigomelo9 opened this issue Nov 3, 2023 · 0 comments
Open

Something is broken between 0.1.20 and 0.1.22 #73

rodrigomelo9 opened this issue Nov 3, 2023 · 0 comments

Comments

@rodrigomelo9
Copy link

The same test that PASS with pip3 install --upgrade cocotbext-axi==0.1.20 FAILS with 0.1.22:

Traceback (most recent call last):
  File "/****/venv/lib/python3.9/site-packages/cocotb/decorators.py", line 262, in f
    res = await cocotb.triggers.with_timeout(
  File "/****/venv/lib/python3.9/site-packages/cocotb/triggers.py", line 1025, in with_timeout
    res = await First(timeout_timer, trigger)
  File "/****/venv/lib/python3.9/site-packages/cocotb/triggers.py", line 906, in _wait
    return await first_trigger  # the first of multiple triggers that fired
  File "/****/venv/lib/python3.9/site-packages/cocotb/triggers.py", line 135, in __await__
    return (yield self)
  File "/****/venv/lib/python3.9/site-packages/cocotb/task.py", line 289, in __await__
    return (yield self)
  File "/****/demos/amba/axil/test.py", line 17, in test_single
    slv = AxiLiteRam(AxiLiteBus.from_prefix(dut, "axil32_t"), dut.xclk)
  File "/****/venv/lib/python3.9/site-packages/cocotbext/axi/axil_ram.py", line 50, in __init__
    super().__init__(size, mem, **kwargs)
  File "/****/venv/lib/python3.9/site-packages/cocotbext/axi/memory.py", line 35, in __init__
    self.size = len(self.mem)
OverflowError: cannot fit 'int' into an index-sized integer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant