Sending an array between processes

Why OSVVM™? Forums OSVVM Sending an array between processes

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2950
    jon
    Member

    I have a DUT with an AXI stream input interface that accepts an Ethernet packet. I want to be able to create a testbench to generate packets and input them into the DUT. I have a procedure that accepts some input parameters and then outputs an array of values containing the packet. What would be the best way to pass this array from the generate process to the transmit process? I have use the FIFOs to send individual values, but can I just send an array between processes?

    #2951
    Jim Lewis
    Member

    Hi Jon,
    The generate process/procedure can be passed the ID of the FIFO and then the information pushed into the FIFO.

    The ID of the FIFO is much like a constant. It is being used as a reference into the data structure. The information is then pushed into the data structure. No pesky driver issues at all.

    Looking forward the long term plan is to migrate to the DynamicArrayGenericPkg. This will allow there to be multiple consumers of the information. The beta of this package was released with 2026.05. The intent is for packet/burst information passed into the VC to be passed as a Dynamic Array into the VC and pushed into a scoreboard for the checker. The plan is to integrate the package into AxiStream some time before the end of 2026 – but also see my upcoming post about funding (that can accelerate tasks such as this).

    Best Regards,
    Jim

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.