码迷,mamicode.com
首页 > 其他好文 > 详细

Video Test Pattern Generator(7.0)软件调试记录

时间:2017-09-14 20:04:25      阅读:446      评论:0      收藏:0      [点我收藏+]

标签:gen   enter   iter   str   sea   es2017   gui   技术   ==   

Video Test Pattern Generator(7.0)软件调试记录

 

 1 1.
 2 XVidC_VideoMode
 3 XVIDC_VM_576_50_I = XVIDC_VM_720x576_50_I
 4 
 5 2.
 6 typedef struct {
 7     u16 HActive;
 8     u16 HFrontPorch;
 9     u16 HSyncWidth;
10     u16 HBackPorch;
11     u16 HTotal;
12     u8 HSyncPolarity;
13     u16 VActive;
14     u16 F0PVFrontPorch;
15     u16 F0PVSyncWidth;
16     u16 F0PVBackPorch;
17     u16 F0PVTotal;
18     u16 F1VFrontPorch;
19     u16 F1VSyncWidth;
20     u16 F1VBackPorch;
21     u16 F1VTotal;
22     u8 VSyncPolarity;
23 } XVidC_VideoTiming;
24 
25 3.
26 void XV_tpg_Set_height(XV_tpg *InstancePtr, u32 Data) {
27     Xil_AssertVoid(InstancePtr != NULL);
28     Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
29 
30     XV_tpg_WriteReg(InstancePtr->Config.BaseAddress, XV_TPG_CTRL_ADDR_HEIGHT_DATA, Data);
31 }
32 
33 4.
34 void XV_tpg_Set_width(XV_tpg *InstancePtr, u32 Data) {
35     Xil_AssertVoid(InstancePtr != NULL);
36     Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
37 
38     XV_tpg_WriteReg(InstancePtr->Config.BaseAddress, XV_TPG_CTRL_ADDR_WIDTH_DATA, Data);
39 }

 

5.

GUI配置:

技术分享

ila抓取波形:

技术分享

 6.

GUI配置:

技术分享

 ila抓取波形:

技术分享

技术分享

修改软件配置为:

XVIDC_VM_1080_50_I;

ila抓取波形:

技术分享

修改软件配置为:

XVIDC_VM_480_60_I

ila抓取波形:

技术分享

技术分享

 软件调试:

TestMode = XVIDC_VM_576_50_I;

技术分享

技术分享

TestMode = XVIDC_VM_480_60_I;

技术分享

技术分享

 

Video Test Pattern Generator(7.0)软件调试记录

标签:gen   enter   iter   str   sea   es2017   gui   技术   ==   

原文地址:http://www.cnblogs.com/chensimin1990/p/7522309.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!