当前位置: 首页 > news >正文

【FPGA/D6】

2023年7月25日

  • VGA控制器 视频23
    • note
    • code
    • tb
  • 条件编译
  • error
  • 时序图保存与读取??
  • RGBTFT显示屏 视频24
    • PPI
    • 未分配的引脚或电平的解决方法

VGA控制器 视频23

note

MCU单片机
VGA显示实时采集图像
行消隐/行同步/场同步/场消隐
CRT:阴极射线管
640x480:25MHz(刷新率为60帧80052560=25.2M≈25M)
行扫描时序图
在这里插入图片描述
场扫描时序图
在这里插入图片描述
行同步脉冲的开始位置HS_begin0
行同步脉冲的结束位置HS_end96(pclk)
行数据开始输出的位置Hdat_begin96+40+8=144
行数据开始输出的位置Hdat_end96+40+8+640=784
行同步信号的结束位置Hsync_end96+40+8+640+8+8=800
场同步脉冲的开始位置VS_begin0
场同步脉冲的结束位置VS_end2(line)
场数据开始输出的位置Vdat_begin2+25+8=35
场数据开始输出的位置Vdat_end2+25+8+480=515
场同步信号的结束位置Vsync_endVdat_end2+25+8+480+2+8=525

code


tb


条件编译

条件编译:根据不同的条件来选择对应的HDL文件进行编译以得到对应的逻辑电路

//`define resolution_480x272 1
`define resolution_640x480 1
`ifdef resolution_480x272 `define H_Right_Border `define…........................
`elseif resolution_640x480.......
`endif

源文件里加入`include “vga_pameter.v”
不需要的注释掉

error

输出RGB存在zzzz,时序图光标到zzz,vivado就卡住(data赋给RBG,后者没定义前者相同的位宽)

时序图保存与读取??

vivado一个项目里不能同时打开两个时序图

RGBTFT显示屏 视频24

PPI

PPI:每英寸屏幕所拥有的像素数,相同分辨率的显示屏越小越清晰

未分配的引脚或电平的解决方法

问题:[DRC NSTD-1] Unspecified I/O Standard: 4 out of 4 logical ports use I/O standard (IOSTANDARD) value ‘DEFAULT’, instead of a user assigned specific value. This may cause I/O contention or incompatibility with the board power or connectivity affecting performance, signal integrity or in extreme cases cause damage to the device or the components to which it is connected. To correct this violation, specify all I/O standards. This design will fail to generate a bitstream unless all logical ports have a user specified I/O standard value defined. To
allow bitstream creation with unspecified I/O standard values (not recommended), use this command: set_property SEVERITY {Warning} [get_drc_checks NSTD-1]. NOTE: When using the Vivado Runs infrastructure (e.g. launch_runs Tcl command), add this command to a .tcl file and add that file as a pre-hook for write_bitstream step for the implementation run. Problem ports: a, b, out, and sel.
[DRC UCIO-1] Unconstrained Logical Port: 4 out of 4 logical ports have no user assigned specific location constraint (LOC). This may cause I/O contention or incompatibility with the board power or connectivity affecting performance, signal integrity or in extreme cases cause damage to the device or the components to which it is connected. To correct this violation, specify all pin locations. This design will fail to generate a bitstream unless all logical ports have a user specified site LOC constraint defined. To allow bitstream creation with unspecified pin locations (not recommended), use this command: set_property SEVERITY {Warning} [get_drc_checks UCIO-1]. NOTE: When using the Vivado Runs infrastructure (e.g. launch_runs Tcl command), add this command to a .tcl file and add that file as a pre-hook for write_bitstream step for the implementation run. Problem ports: a, b, out, and sel.
xdc文件开头加入:
set_property SEVERITY {Warning} [get_drc_checks NSTD-1]
set_property SEVERITY {Warning} [get_drc_checks RTSTAT-1]
set_property SEVERITY {Warning} [get_drc_checks UCIO-1]

http://www.lryc.cn/news/100672.html

相关文章:

  • 【WebGIS实例】(10)Cesium开场效果(场景、相机旋转,自定义图片底图)
  • 【Spring】IOC的原理
  • AI加速游戏开发 亚马逊云科技适配3大场景,打造下一代游戏体验
  • C++ | 继承(基类,父类,超类),(派生类,子类)
  • Commands Of Hadoop
  • SQL-每日一题【620.有趣的电影】
  • linux 精华总结
  • Eureka 学习笔记2:客户端 DiscoveryClient
  • okhttp原理分析
  • freeswitch的mod_xml_curl模块
  • 高速数据采集专家-FMC140【产品手册】
  • 【SSM】知识集锦
  • Flowable-中间事件-信号中间抛出事件
  • 【算法基础:动态规划】5.3 计数类DP(整数拆分、分拆数)
  • 封装(Encapsulation)
  • php 原型模式
  • LiveGBS流媒体平台GB/T28181功能-支持轮巡播放分屏轮巡值守播放监控视频轮播大屏轮询播放
  • 6、Nginx实现反向代理
  • Leetcode——404 左叶子之和
  • R并行计算-parallel例子1
  • JavaSE复盘2
  • 如何在3ds max中创建可用于真人场景的巨型机器人:第 3 部分
  • Android性能优化之游戏引擎初始化ANR
  • Jmap-JVM(十六)
  • 【分布式能源的选址与定容】基于多目标粒子群算法分布式电源选址定容规划研究(Matlab代码实现)
  • flink源码分析-获取JVM最大堆内存
  • 第17节 R语言分析:生物统计数据集 R 编码分析和绘图
  • 一文了解什么是Selenium自动化测试?
  • java接口实现
  • 数据结构入门指南:链表(新手避坑指南)