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


    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;

  • 相关阅读:
    PHP环境搭建-修改密码
    先挖个坑....
    usaco 1.2.1(指针技巧)
    warfare(最大生成树裸题)
    最大生成树(最小生成树同理)
    快排
    简单邻接表代码实现
    并查集模板题
    并查集
    get 新技能
  • 原文地址:https://www.cnblogs.com/chensimin1990/p/7522309.html
Copyright © 2020-2023  润新知