Tutorial on Using AXI Stream Interfaces for Verification #77
Unanswered
mohannithin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Alex,
I have installed and used your coctb extension for AXI Streams. However, I'm unsure if i'm using it properly. I'm trying to verify a block which provides a result after some calculation is performed. During the calculation the DUT outputs a stream of vectors. In this scenario i have leveraged your libraries and wrote a sample cocotb test as follows (Pseudocode):
while bin_index < len(list_read):
if (calculation complete) and (bin_index <= len(list_read)-1):
frame = AxiStreamFrame(list_read[bin_index], tuser=1)
await axis_source.send(frame)
await axis_source.wait()
The problem that i'm facing is that the only a single element from list_read list is being sent repetitively instead of going through the whole list. Please let me know your thoughts. Any suggestion on this highly appreciated.
Thank you for your time and consideration.
Best,
NM
Beta Was this translation helpful? Give feedback.
All reactions