赛灵思
直播中

徐歌

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

在显示器上显示图像出现问题

你好,
我有一个关于从ddr2读取数据并在带有DVI端口的监视器上显示的问题。
我的atlys端口的hdmi输出端口连接到监视器的dvi端口。
现在,在显示器上显示640 * 480图像并且分辨率为VGA(640 * 480)时出现问题。
第一个图像是用ddr2写的一般图像,第二个图像是我附加的图像,我可以在监视器上看到的图像。
如您所见,图像向右移动。
监视器输入端口为DVI,因此监视器无法自动调整。
图像写在ddr2的bank0中,列和行将对应。
你能指导一下我有什么问题吗?
对于thehdmi部分,我正在使用XAPP495中的代码。
谢谢。

以上来自于谷歌翻译


以下为原文

Hello,
I have a problem about reading data from ddr2 and show on monitor with DVI port.
hdmi output port of my atlys port was connected to dvi port of monitor.
Now for displaying an 640*480 image and also with resolution VGA(640*480) on monitor there is a problem.
The first image is the general image that was written in ddr2 and the second imagethat i've attached  is the image that I can see on monitor.
as you can see , the image is shifted to right.
input port of monitor is DVI , So, auto adjust isn't availabe on monitor.

The image was written in bank0 of ddr2, and column and rows will address.

Could you please guide me what is the problem? for thehdmi part I'm using of codes in XAPP495.




Thanks.

回帖(2)

张奥

2019-3-6 14:21:58
嗨,
这通常发生在未正确调整Front porche或源和目标监视器具有不同分辨率时。
我不认为从DDR2写入和读取会导致转变。
请在.chipscope中捕获一行图像,并注意前像素是零还是具有非常低的值,以查看写入DDR2本身的图像是否具有移位。
如果是,则调整源图像参数。
此外,您可以确保相对于DE而不是Hsync捕获图像。
同样检查目标图像的正面和背面值。
我还怀疑在端到端设置或时间安排是否有问题。
请检查相关讨论是否有帮助。
http://www.tomshardware.com/forum/233088-33-hdmi-picture
问候,
Vanitha。
--------------------------------------------------
-------------------------------------------请在发布前进行谷歌搜索,
您可能会找到相关信息。请留下帖子 - “接受为解决方案”,如果提供的信息有用且回复,请给予赞誉

以上来自于谷歌翻译


以下为原文

Hi,
 
This generally happens when Front porche is not adjusted properly or when source and destination monitors have different resolutions.
 
I do not think writing and reading from DDR2 can cause the shift.
Please capture a line of image in .chipscope and notice if the front pixels are zeros or have very low values to see see if the image written into DDR2 itself has the shift.
If yes tune the source image parameters.
Also you can make sure that image is captured with respect to DE and not Hsync.
Similarly check the destination image front and back porche values.
I also suspect if somthing is wrong in the end to end setup or timing.
Please check if  relavant discussions help.
 
http://www.tomshardware.com/forum/233088-33-hdmi-picture
 
  
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
举报

张红

2019-3-6 14:34:45
感谢您的回复,
关于我正在检查的第一个指南。
但是要改变在tomshardware网站上写的分辨率。
这是正确的。当我将分辨率更改为800 * 600或1024 * 768图像是正确的,没有移位但充满噪音。
噪声部分与读写状态机相关。
在640 * 480的照片中,我可以看到噪点非常低的图像。
另一个问题是,当我尝试发送64 * 64或每个尺寸小于640 * 480时它向我显示这样的图像(这是第一行的例子,因为图像是64 * 64,所以10个汉堡应该在
每条线的分辨率为640 * 480,但它显示我这样,第一个和最后一个汉堡被分割)当我开始写像素到像素我可以看到每个图像的起点是用红色圆圈标记的地方。
我认为这是因为读状态机的错误。
我对吗?
我在这里附上了read statemeachine

以上来自于谷歌翻译


以下为原文

Thanks for your reply,
about your first guides I'm checking.
but about change the resolution that was written in tomshardware website. that's right.
when I change the resolution to 800*600 or 1024*768 image is correct without shift but full of noise. noise part is relevant to read and write statemachines.  In 640*480resloution I can see the image with very low noise.
Another issue is when I try to send a 64*64 or each size less than 640*480 it shows me the image like this (it's the example of first line of that, because image is 64*64,so 10 burger should be in each line in resolution 640*480 but it shows me like this, the first and last burger are splited) when I start to write pixel to pixel I can see the start point of each image is place that marked with red circle. I think this is because of error in read state machine. Am I right? I've attached read statemeachine here
 

 
举报

更多回帖

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