赛灵思
直播中

王峥

7年用户 204经验值
私信 关注
[问答]

请问是否有其他VDMA参数需要从默认值更改?

大家好,
我开发了一个基于VDMA的系统,可以将图像从DDR输出到视频输出。
流是1280x720 @ 60fps。
然后,我复制VDMA有两个视频输出流,它工作正常。
需要扩展此系统以达到4个视频流,我复制了更多,但没有正常工作。
如果我启用3或4个VDMA,我只在相机3和4上获得30帧,相机1和2仍能正常工作。
如果我单独启用3和4,它们就可以工作。
总视频要求= 1280 x 720 x 3B x 60 fps x 4相机= 663.5 MB / s
我的DDR提供16位x 800 Mbps = 1600 MB / s,这已足够了
我的AXI也是128位x 100 MHz = 1600 MB / s
我有很多疑问重新调整我的参数,我认为他们需要微调:
v_axi4s_vid_out PARAMETER RAM_ADDR_BITS = 11
vdma PARAMETER C_MM2S_MAX_BURST_LENGTH = 128
vdma PARAMETER C_MM2S_LINEBUFFER_THRESH = 32
这些值是否合适?
是否有其他VDMA参数需要从默认值更改?
提前致谢,
塔里克

以上来自于谷歌翻译


以下为原文

Hello All,

I developed a VDMA-based system that can stream out an image from DDR to Video out. The stream is 1280x720 @60 fps. I then duplicated the VDMA to have two video out streams, it was working fine.

It's required to extend this system to reach 4 video streams, I duplicated more but did not work fine.

If I enable 3 or 4 VDMAs, I get 30 frames per socond only on camera 3 and 4, Camera 1 and 2 still work fine.
If I enable 3 and 4 alone, they work.

Total video requirements = 1280 x 720 x 3B x 60 fps x 4 Cameras = 663.5 MB/s
My DDR provides 16bit x 800 Mbps = 1600 MB/s which is quite enough
My AXI is 128-bit x 100 MHz = 1600 MB/s as well

I have many doubts regrding my parameters, I think they need fine tuning:
  • v_axi4s_vid_out  PARAMETER RAM_ADDR_BITS = 11
  • vdma PARAMETER C_MM2S_MAX_BURST_LENGTH = 128
  • vdma PARAMETER C_MM2S_LINEBUFFER_THRESH = 32
Are these appropriate values? Ar there other VDMA PARAMETERS that needs to be changed from their defaults?

Thanks in advance,
Tarek

回帖(1)

张娟

2019-7-11 14:05:16
@ bwiec,你有什么提示吗?

以上来自于谷歌翻译


以下为原文

@bwiec, do you have any tips?
举报

更多回帖

发帖
×
20
完善资料,
赚取积分