Reading *.ppm Image Files in OSVVM for Test Stimulus

Why OSVVM™? Forums OSVVM Reading *.ppm Image Files in OSVVM for Test Stimulus

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1912
    Gianico
    Member

    Hello Everyone!

    I just would like to inquire if it’s possible for an OSVVM Testbench to read an image file in ppm format and convert it to a test stimulus?

    If it’s possible, is the OSVVM’s TranscriptPkg related for this?

    We are currently involved in creating an OSVVM Testbench for an image processor DUT.

    Thank you very much!
    Nico

    #1913
    Jim Lewis
    Member

    Hi Nico,
    We don’t currently have anything to read that format, however, if I understood it right, it does not look too difficult to read.

    What you want too look at with this sort of thing is how does the system interact with the image. For example, does the system receive the image via an AXI Stream interface? In this case you can have the file reader in your test code and then pass that as a burst transaction to the interface. The AXI stream burst interface uses a FIFO and data can read and then immediately be pushed into the FIFO.

    If you need more help, I would need to know more details of the system.

    Best Regards,
    Jim

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