Forum Discussion

JLee25's avatar
JLee25
Icon for Contributor rankContributor
22 hours ago

VVP Protocol Converter Not work

Hello,

  I am looking for how to use the VVP protocol converter, by converting Altera Stream Video Lite to Avalon Streaming Video.

  I generate a simple pipeline with Protocol Converter to Frame Buffer on Cyclone 10 GX...

Here's the settings of the converter,

And the Register settings for this IP,

 

For unknown reason, I am unable able to see the protocol converter ready to work by setting rx ready signal goes "high" on STP.

Even when the tx side ready signal is OK.

Readback the register, the mode is fine and the CTRL is bit 0 is set already..

What would be wrong on my settings?

  Please help.

Thank you.

2 Replies

  • JLee25's avatar
    JLee25
    Icon for Contributor rankContributor

    Hi Wincent_Altera​ ,

      I checked the point you mentioned about the missing MM control interface on GUI using the "UDX 3D LUT" example.

      And quite confirmed that this is what you will see on the platform designer.

    Below is the capture of the UDX design

     

    And I am quite sure that I can access the settings even the MM interface is not enabled...

    And I expect to see the TREADY signal after IP core reset and write proper configuration values per VVP UG chap 3.

    But I don't know this is not happened for components like frame buffer, 1D LUT...

    Regards,

  • Wincent_Altera's avatar
    Wincent_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi JLee25 ,

    From your screenshots, the selected conversion direction looks correct for Altera Streaming Video Lite to Avalon Streaming Video, and your software is writing width, height, interlace, color settings, and the start bit.


    The biggest thing that stands out is that the GUI screenshot shows Memory mapped control interface not enabled, while your software is writing Protocol Converter registers through the base address. In the user guide Document: Video and Vision Processing Suite IP User Guide (UG-20344 | 2026.03.03) Section: 7.5 Protocol Converter IP Registers , access to the register map requires the Avalon memory-mapped control interface to be turned on. If the screenshot matches the actual compiled instance, that is the first thing I would check.


    Also, for the Lite-to-Avalon direction, the converter needs CPU-side frame information because AXI4-Stream video does not carry the geometry metadata needed on that side. The documented registers for Lite input are width, height, and interlace, which is consistent with what you are trying to program.

    From the waveform, av_st_vid_out_ready is high and axi4s_vid_in_tvalid is high, but av_st_vid_out_valid remains low and axi4s_vid_in_tready remains low. That suggests the downstream side is ready, but the converter itself is not accepting the incoming stream yet.


    I would suggest checking the following:

    • Confirm the compiled IP really has the Avalon-MM control interface enabled. If not, the register writes may not actually control the core.
    • Read back the status/debug registers and confirm the core reports running, has received a field, and whether the last field was marked broken.
    • Verify the programmed frame info exactly matches the incoming stream: 3840 x 2160 and the correct interlace value.
    • Verify the color-format settings. Your GUI shows YCbCr 4:4:4 color swap enabled, and the guide notes that the converter may swap Y and Cr planes for YCbCr 4:4:4 depending on the selected color-space/chroma settings. If your actual source is RGB or a different YCbCr format, the settings may not match the stream.
    • Check that the AXI4-S Lite source is producing correct frame-boundary signaling consistently, since the converter should not keep tready low once configuration and format are valid.

    My first suspicion is the control-interface setting mismatch between the GUI and the software access path. 

    My second suspicion is a stream-format mismatch, especially around the YCbCr 4:4:4 swap and color-format assumptions.

    So in short, this does not look like downstream backpressure. It looks more like the converter is not becoming operational because either the control interface is not really enabled in the compiled IP, or the programmed input format does not match the actual AXI4-S Lite video.


    I would strongly suggest you to try out our example design if you haven't, it will give you some tips where to start on.

    Regards,

    Wincent_Altera