什么是1921年?
我不认为Vsync不会长时间保持高位,要达到1921年它需要很多帧。
您应该有两个计数器,一个用于行,另一个用于像素。
线和像素计数器应使用vysnc重置,像素计数器应以hsync ='1'递增。
行计数器应在每个hsync下降沿或1080像素的末尾递增。
应该有类似的条件
当line_counter = 0且pixel_counter = 0时,Pxel_data 以下为原文
Hi,
What is 1921 here?
I do not think Vsync will not stay high that long, and to reach 1921 it needs many frames.
You should have two counters one for line and the other for pixel.
Line and pixel counters should reset with vysnc and pixel counter should increment with hsync = '1'.
Line counter should be incremented at every hsync falling edge or at the end of 1080 pixels.
Should have a condition something like
Pxel_data <= x"0000000" when line_counter = 0 and pixel_counter = 0
( I use VHDL)
Hope this helps.
Regards,
Vanitha.
---------------------------------------------------------------------------------------------
Please do google search before posting, you may find relavant information.
Mark the post - "Accept as solution" and give kudos if information provided is helpful and reply oriented