Giter Club home page Giter Club logo

Comments (4)

alexforencich avatar alexforencich commented on May 28, 2024

tlast is for framing. So, send your samples as a "block" of 8 samples with a single call to send, and tlast will get set on the last sample.

from cocotbext-axi.

thenameisT avatar thenameisT commented on May 28, 2024

I have a list containing around 5000 values. The following is how I am writing.
for i in range (0,len(data_list)-1,1)
write_data=data_list[i]
await axi_source.write(write_data)
In here after 8 samples tlast goes high, but I want it to be high after at 4999th data. How can I do that?

from cocotbext-axi.

alexforencich avatar alexforencich commented on May 28, 2024

What about await axi_source.send(data_list)? If you want to use tlast for framing, don't use read() and write(), instead use send() and recv().

from cocotbext-axi.

thenameisT avatar thenameisT commented on May 28, 2024

It’s still the same. tlast goes high as soon as the first sample is sent and goes low only after last sample

from cocotbext-axi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.