明德扬兰老师 发表于 2023-1-10 09:43:13

HDMI1.4/2.0 Subsystem官方例程的建立

HDMI1.4/2.0 Subsystem官方例程的建立1、 项目背景明德扬(MDY)为某研究所研制的视频接口转换模块,该模块将HDMI视频转成LVDS7:1视频。视频输入接口采用的是HDMI 4K输入,基于Xilinx K7325t的高速收发器,特点是无需外围HDMI接收芯片,大大简化了硬件设计。该视频接口转换模块如图1所示,其中k7核心板型号为MP5650,底板和核心板均为明德扬自研产品。本文简单介绍了Xilinx官方的HDMI例程的建立步骤。https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/dccd5ac8ab9c41fb90d637adf49c25af~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=aY%2BbH8SuDZOf7AsnL3DpY3c9Gko%3D

图1视频接口转换模块https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/640cc866fb294ab9b6f0c7a29181f57c~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=ogwOkVrhujogITOTylXA%2BHaJyZA%3D

图2 MP5650核心板2、工具Vivado 2022.1;Vitis 2022.1;HDMI License。3、操作步骤(1)新建一个vivado工程,平台选择KC705。https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/e9cd2975306f44bfaf313826493b6f07~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=QJTQUai1n3%2BlsiL0IdFzu3bq0oY%3D

(2)选择HDMI 1.4/2.0 Receiver Subsystem IP核,按下图进行IP核的配置。https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/91a0376aef57407882211554bef55ea5~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=LiHJrJlbfVZ%2Fi8Pj2D5jPrgVMKo%3D

https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/fa8e2526858f4c69a12b4141e14e2d89~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=snO7UPwLGLxFSPaf%2BNzGBltRO90%3D

https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/28f16f28c7c24077bc00ba80aca76794~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=RCwPiRRxmpJnzsx9pWgEXk51DAg%3D

(3)配置完后,并自动产生IP相关文件,在IP核上右键选择Open IP Example Design,选择例程的存储路径,点击OK。https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/683b4dbc11b649ce855f3be427c8e095~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=Bhn6jOjpQyiC147Da7U3EalMnrE%3D

(4)软件会自动生成一个例程,待例程生成结束,进行Synthesis、 Implementation和 GenerateBitstream流程生成bit文件。https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/a4c5bad7fcc34bc6818212c8a29ee846~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=mnywiH5VIDIJzlYYY7j6mKf2nsM%3D

(5)导出硬件底层,建立vitis工程,选择File → Export → Export Hardware。https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/bc8821fdf73743cba7d2977b17ff5dba~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=Q5l6%2BnxmXtZyGPEqvsRXyGV%2F4uo%3D

(6)建立一个文件夹,用来存放Vitis工程,启动Vitis,选择Tools → Launch Vitis IDE。(7)打开Vitis环境,建立平台工程,选择File → New → Platform Project。https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/596862061cf6426bbba4913d5dced767~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=31Mtfa1SxXjh%2B5L3KOS1ar6PGfM%3D

(8)选择vivado生成的exdes_wrapper.xsa文件,点击Finish。https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/4696f6c823954a29b5ed5fbe03dd93f0~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=9Emr3HVEsrHoZbaD%2BKllYQ%2FuAZI%3D

(9)右键生成的硬件平台,选择Build Project。https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/9943e6d10647449e9461deaae5c7c785~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=vTW2%2BJ0ZabzzX8D5j%2FRxKltM6Is%3D

(10)在platform.spr页面,选择Board Support Package,展开Peripheral Drivers。https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/6c31d0db66b846c1b0cb33c75ca83d14~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=%2BDZFgkMvvfDqVlhBxtmNTITbjlI%3D

(11)在Peripheral Drivers下,找到v_hdmi_rx_ss或者v_hdmi_tx_ss,点击Import Examples。https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/eb87fdb851744574b39b58bc5805ec1b~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=GGtqrhBmJ9qXbnGEVYsozkTUdSw%3D

(12)在Import Examples选项中,选择一个应用工程,Microblaze对应的工程有Passthrough_Microblaze、Rxonly_Microblaze,Txonly_Microblaze。https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/0142c3dc509e4848bcc426dca0960df6~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=hVwa7P%2BWJjS4jUY4ch22%2B9N9jas%3D

(13)Build当前应用工程,得到.elf文件。https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/0fb9ff95bb8e41518d61b393172e7d14~noop.image?_iz=58558&from=article.pc_detail&x-expires=1673919721&x-signature=TVXPePi%2FUiu28Tzd9I9zhi%2Fc8CQ%3D

温馨提示:明德扬擅长的项目主要包括的方向有以下几个方面:1. MIPI视频拼接
2. SLVS-EC转MIPI接口(IMX472 IMX492)
3. PCIE采集系统
4. 图像项目
5. 高速多通道ADDA系统
6. 基于FPGA板卡研发
7. 前端模拟采集、射频、电荷灵敏前置放大器感兴趣的同学可以加兰老师微信了解


页: [1]
查看完整版本: HDMI1.4/2.0 Subsystem官方例程的建立