基于FPGA视频时序生成中的库文件
上一篇分享了一个视频时序生成代码,下面我根据之前项目中用到的时序,对各个参数做了库文件,方便调用。
--
-- Package File Template
--
-- Purpose: This package defines supplemental types, subtypes,
-- constants, and functions
--
-- To use any of the example code shown below, uncomment the lines and modify as necessary
-- library IEEE;
use IEEE.STD_LOGIC_1164.all;
use ieee.std_logic_unsigned.all;
use ieee.std_logic_arith.all;
use ieee.numeric_std.all; package timing_factor_pkg is
--------------------------------------------------------------------------------
-- Old data types retained for backwards compatibility
subtype factor_type is std_logic_vector( downto ); ----------------------1920x1200@60Hz--------------------------------
constant hsblnk_1920x1200 : factor_type :="";--
constant hssync_1920x1200 : factor_type :="";--
constant hesync_1920x1200 : factor_type :="";--
constant heblnk_1920x1200 : factor_type :="";--
constant vsblnk_1920x1200 : factor_type :="";--
constant vssync_1920x1200 : factor_type :="";--
constant vesync_1920x1200 : factor_type :="";--
constant veblnk_1920x1200 : factor_type :="";-- ----------------------*@60HZ-------------------------------
constant hsblnk_1920x1080 : factor_type :="";--
constant hssync_1920x1080 : factor_type :="";--
constant hesync_1920x1080 : factor_type :="";--
constant heblnk_1920x1080 : factor_type :="";--
constant vsblnk_1920x1080 : factor_type :="";--
constant vssync_1920x1080 : factor_type :="";--
constant vesync_1920x1080 : factor_type :="";--
constant veblnk_1920x1080 : factor_type :="";-- --------------------*@//50HZ----------------------------
constant hsblnk_1920x1080_50 : factor_type :="";--
constant hssync_1920x1080_50 : factor_type :="";--
constant hesync_1920x1080_50 : factor_type :="";--
constant heblnk_1920x1080_50 : factor_type :="";--
constant vsblnk_1920x1080_50 : factor_type :="";--
constant vssync_1920x1080_50 : factor_type :="";--
constant vesync_1920x1080_50 : factor_type :="";--
constant veblnk_1920x1080_50 : factor_type :="";-- --------------------*@60Hz I----------------------------
constant hsblnk_1920x1080_60I : factor_type :="";--
constant hssync_1920x1080_60I : factor_type :="";--
constant hesync_1920x1080_60I : factor_type :="";--
constant heblnk_1920x1080_60I : factor_type :="";--
constant vsblnk_1920x1080_60I : factor_type :="";--
constant vssync_1920x1080_60I : factor_type :="";--
constant vesync_1920x1080_60I : factor_type :="";--
constant veblnk_1920x1080_60I : factor_type :="";-- --------------------*@50Hz I----------------------------
constant hsblnk_1920x1080_50I : factor_type :="";--
constant hssync_1920x1080_50I : factor_type :="";--
constant hesync_1920x1080_50I : factor_type :="";--
constant heblnk_1920x1080_50I : factor_type :="";--
constant vsblnk_1920x1080_50I : factor_type :="";--
constant vssync_1920x1080_50I : factor_type :="";--
constant vesync_1920x1080_50I : factor_type :="";--
constant veblnk_1920x1080_50I : factor_type :="";-- --------------------*@24HZ----------------------------
constant hsblnk_1920x1080_24 : factor_type :="";--
constant hssync_1920x1080_24 : factor_type :="";--
constant hesync_1920x1080_24 : factor_type :="";--
constant heblnk_1920x1080_24 : factor_type :="";--
constant vsblnk_1920x1080_24 : factor_type :="";--
constant vssync_1920x1080_24 : factor_type :="";--
constant vesync_1920x1080_24 : factor_type :="";--
constant veblnk_1920x1080_24 : factor_type :="";-- ----------------------1600x1200@60Hz-----------------------------------
constant hsblnk_1600x1200 : factor_type :="";--
constant hssync_1600x1200 : factor_type :="";--
constant hesync_1600x1200 : factor_type :="";--
constant heblnk_1600x1200 : factor_type :="";--
constant vsblnk_1600x1200 : factor_type :="";--
constant vssync_1600x1200 : factor_type :="";--
constant vesync_1600x1200 : factor_type :="";--
constant veblnk_1600x1200 : factor_type :="";-- ----------------------1400x1050@60Hz-------------------------------
constant hsblnk_1400x1050 : factor_type :="";--
constant hssync_1400x1050 : factor_type :="";--
constant hesync_1400x1050 : factor_type :="";--
constant heblnk_1400x1050 : factor_type :="";--
constant vsblnk_1400x1050 : factor_type :="";--
constant vssync_1400x1050 : factor_type :="";--
constant vesync_1400x1050 : factor_type :="";--
constant veblnk_1400x1050 : factor_type :="";-- ----------------------1440x900@60Hz--------------------------------
constant hsblnk_1440x900 : factor_type :="";--
constant hssync_1440x900 : factor_type :="";--
constant hesync_1440x900 : factor_type :="";--
constant heblnk_1440x900 : factor_type :="";--
constant vsblnk_1440x900 : factor_type :="";--
constant vssync_1440x900 : factor_type :="";--
constant vesync_1440x900 : factor_type :="";--
constant veblnk_1440x900 : factor_type :="";-- ----------------------1440x480I@60Hz--------------------------------
constant hsblnk_1440x480I : factor_type :="";--
constant hssync_1440x480I : factor_type :="";--
constant hesync_1440x480I : factor_type :="";--
constant heblnk_1440x480I : factor_type :="";--
constant vsblnk_1440x480I : factor_type :="";--
constant vssync_1440x480I : factor_type :="";--
constant vesync_1440x480I : factor_type :="";--
constant veblnk_1440x480I : factor_type :="";-- ----------------------1440x576I@60Hz--------------------------------
constant hsblnk_1440x576I : factor_type :="";--
constant hssync_1440x576I : factor_type :="";--
constant hesync_1440x576I : factor_type :="";--
constant heblnk_1440x576I : factor_type :="";--
constant vsblnk_1440x576I : factor_type :="";--
constant vssync_1440x576I : factor_type :="";--
constant vesync_1440x576I : factor_type :="";--
constant veblnk_1440x576I : factor_type :="";-- ----------------------1280x800@60Hz----------------------------
constant hsblnk_1280x800 : factor_type :="";--
constant hssync_1280x800 : factor_type :="";--
constant hesync_1280x800 : factor_type :="";--
constant heblnk_1280x800 : factor_type :="";--
constant vsblnk_1280x800 : factor_type :="";--
constant vssync_1280x800 : factor_type :="";--
constant vesync_1280x800 : factor_type :="";--
constant veblnk_1280x800 : factor_type :="";-- ----------------------1280x800@75Hz----------------------------
constant hsblnk_1280x800_75 : factor_type :="";--
constant hssync_1280x800_75 : factor_type :="";--
constant hesync_1280x800_75 : factor_type :="";--
constant heblnk_1280x800_75 : factor_type :="";--
constant vsblnk_1280x800_75 : factor_type :="";--
constant vssync_1280x800_75 : factor_type :="";--
constant vesync_1280x800_75 : factor_type :="";--
constant veblnk_1280x800_75 : factor_type :="";-- ----------------------1280x768@60Hz----------------------------
constant hsblnk_1280x768 : factor_type :="";--
constant hssync_1280x768 : factor_type :="";--
constant hesync_1280x768 : factor_type :="";--
constant heblnk_1280x768 : factor_type :="";--
constant vsblnk_1280x768 : factor_type :="";--
constant vssync_1280x768 : factor_type :="";--
constant vesync_1280x768 : factor_type :="";--
constant veblnk_1280x768 : factor_type :="";-- ----------------------1280x768@75Hz----------------------------
constant hsblnk_1280x768_75 : factor_type :="";--
constant hssync_1280x768_75 : factor_type :="";--
constant hesync_1280x768_75 : factor_type :="";--
constant heblnk_1280x768_75 : factor_type :="";--
constant vsblnk_1280x768_75 : factor_type :="";--
constant vssync_1280x768_75 : factor_type :="";--
constant vesync_1280x768_75 : factor_type :="";--
constant veblnk_1280x768_75 : factor_type :="";-- ---------------------*@60HZ--------------------------------
constant hsblnk_1280x720 : factor_type :="";--
constant hssync_1280x720 : factor_type :="";--
constant hesync_1280x720 : factor_type :="";--
constant heblnk_1280x720 : factor_type :="";--
constant vsblnk_1280x720 : factor_type :="";--
constant vssync_1280x720 : factor_type :="";--
constant vesync_1280x720 : factor_type :="";--
constant veblnk_1280x720 : factor_type :="";-- ---------------------*@50HZ--------------------------------
constant hsblnk_1280x720_50 : factor_type :="";--
constant hssync_1280x720_50 : factor_type :="";--
constant hesync_1280x720_50 : factor_type :="";--
constant heblnk_1280x720_50 : factor_type :="";--
constant vsblnk_1280x720_50 : factor_type :="";--
constant vssync_1280x720_50 : factor_type :="";--
constant vesync_1280x720_50 : factor_type :="";--
constant veblnk_1280x720_50 : factor_type :="";-- ---------------------*@30HZ------------------------------------
constant hsblnk_1280x720_30 : factor_type :="";--
constant hssync_1280x720_30 : factor_type :="";--
constant hesync_1280x720_30 : factor_type :="";--
constant heblnk_1280x720_30 : factor_type :="";--
constant vsblnk_1280x720_30 : factor_type :="";--
constant vssync_1280x720_30 : factor_type :="";--
constant vesync_1280x720_30 : factor_type :="";--
constant veblnk_1280x720_30 : factor_type :="";-- ---------------------1280x1024@-------------------------------------
constant hsblnk_1280x1024 : factor_type :="";--
constant hssync_1280x1024 : factor_type :="";--
constant hesync_1280x1024 : factor_type :="";--
constant heblnk_1280x1024 : factor_type :="";--
constant vsblnk_1280x1024 : factor_type :="";--
constant vssync_1280x1024 : factor_type :="";--
constant vesync_1280x1024 : factor_type :="";--
constant veblnk_1280x1024 : factor_type :="";-- ---------------------1366x768@--------------------------------------
constant hsblnk_1366x768 : factor_type :="";--
constant hssync_1366x768 : factor_type :="";--
constant hesync_1366x768 : factor_type :="";--
constant heblnk_1366x768 : factor_type :="";--
constant vsblnk_1366x768 : factor_type :="";--
constant vssync_1366x768 : factor_type :="";--
constant vesync_1366x768 : factor_type :="";--
constant veblnk_1366x768 : factor_type :="";-- ---------------------1360x768@--------------------------------------
constant hsblnk_1360x768 : factor_type :="";--
constant hssync_1360x768 : factor_type :="";--
constant hesync_1360x768 : factor_type :="";--
constant heblnk_1360x768 : factor_type :="";--
constant vsblnk_1360x768 : factor_type :="";--
constant vssync_1360x768 : factor_type :="";--
constant vesync_1360x768 : factor_type :="";--
constant veblnk_1360x768 : factor_type :="";-- ---------------------*@60Hz------------------------------------
constant hsblnk_1024x768 : factor_type :="";--
constant hssync_1024x768 : factor_type :="";--
constant hesync_1024x768 : factor_type :="";--
constant heblnk_1024x768 : factor_type :="";--
constant vsblnk_1024x768 : factor_type :="";--
constant vssync_1024x768 : factor_type :="";--
constant vesync_1024x768 : factor_type :="";--
constant veblnk_1024x768 : factor_type :="";-- ---------------------*@75Hz------------------------------------
constant hsblnk_1024x768_75 : factor_type :="";--
constant hssync_1024x768_75 : factor_type :="";--
constant hesync_1024x768_75 : factor_type :="";--
constant heblnk_1024x768_75 : factor_type :="";--
constant vsblnk_1024x768_75 : factor_type :="";--
constant vssync_1024x768_75 : factor_type :="";--
constant vesync_1024x768_75 : factor_type :="";--
constant veblnk_1024x768_75 : factor_type :="";-- ---------------------*@85Hz------------------------------------
constant hsblnk_1024x768_85 : factor_type :="";--
constant hssync_1024x768_85 : factor_type :="";--
constant hesync_1024x768_85 : factor_type :="";--
constant heblnk_1024x768_85 : factor_type :="";--
constant vsblnk_1024x768_85 : factor_type :="";--
constant vssync_1024x768_85 : factor_type :="";--
constant vesync_1024x768_85 : factor_type :="";--
constant veblnk_1024x768_85 : factor_type :="";-- ---------------------*@60Hz------------------------------------
constant hsblnk_800x600 : factor_type :="";--
constant hssync_800x600 : factor_type :="";--
constant hesync_800x600 : factor_type :="";--
constant heblnk_800x600 : factor_type :="";--
constant vsblnk_800x600 : factor_type :="";--
constant vssync_800x600 : factor_type :="";--
constant vesync_800x600 : factor_type :="";--
constant veblnk_800x600 : factor_type :="";-- ---------------------*@75Hz------------------------------------
constant hsblnk_800x600_75 : factor_type :="";--
constant hssync_800x600_75 : factor_type :="";--
constant hesync_800x600_75 : factor_type :="";--
constant heblnk_800x600_75 : factor_type :="";--
constant vsblnk_800x600_75 : factor_type :="";--
constant vssync_800x600_75 : factor_type :="";--
constant vesync_800x600_75 : factor_type :="";--
constant veblnk_800x600_75 : factor_type :="";-- ---------------------*@85Hz------------------------------------
constant hsblnk_800x600_85 : factor_type :="";--
constant hssync_800x600_85 : factor_type :="";--
constant hesync_800x600_85 : factor_type :="";--
constant heblnk_800x600_85 : factor_type :="";--
constant vsblnk_800x600_85 : factor_type :="";--
constant vssync_800x600_85 : factor_type :="";--
constant vesync_800x600_85 : factor_type :="";--
constant veblnk_800x600_85 : factor_type :="";-- ---------------------720x576------------------------------------
constant hsblnk_720x576 : factor_type :="";--
constant hssync_720x576 : factor_type :="";--
constant hesync_720x576 : factor_type :="";--
constant heblnk_720x576 : factor_type :="";--
constant vsblnk_720x576 : factor_type :="";--
constant vssync_720x576 : factor_type :="";--
constant vesync_720x576 : factor_type :="";--
constant veblnk_720x576 : factor_type :="";-- ---------------------720x480------------------------------------
constant hsblnk_720x480 : factor_type :="";--
constant hssync_720x480 : factor_type :="";--
constant hesync_720x480 : factor_type :="";--
constant heblnk_720x480 : factor_type :="";--
constant vsblnk_720x480 : factor_type :="";--
constant vssync_720x480 : factor_type :="";--
constant vesync_720x480 : factor_type :="";--
constant veblnk_720x480 : factor_type :="";-- end;
基于FPGA视频时序生成中的库文件的更多相关文章
- 【DSP开发】DSP能用VS2010生成的链接库文件吗?
[DSP开发]DSP能用VS2010生成的链接库文件吗? 声明:引用请注明出处http://blog.csdn.net/lg1259156776/ 说明:可能这个问题让行家看上去就会莞尔一笑,但是很多 ...
- 基于FPGA的视频时序生成
之前用FPGA做过视频时序方面的设计,现将视频时序的设计方法分享给大家,希望对大家有所帮助. 时序部分可以参考CEA-861D,VESA时序标准. 1080P一帧视频中,一行有2200个像素,其中28 ...
- g++ 生成C++ .so库文件,并调用示例
Tags: g++ C++ so library 在Linux系统下用g++命令编译C++程序.也可以生成so,a链接库 示例一 编译时链接so库 Test.h 文件内容 Main.cpp ...
- VC++ 6.0中添加库文件和头文件
附加头文件包含 VC6.0中: VC6.0默认include包含路径:Tools>Options>Directories>Include files. 对于特定项目的头文件包含,在& ...
- 如何在Qt Creator中添加库文件和头文件目录
在使用QtCreator开发图像处理程序的时候想加入Opencv库来处理图形,添加头文件,需要编辑工程文件夹下的.pro文件在文件中添加以下内容,即可包含头文件的文件夹: INCLUDEPATH += ...
- VC6.0中添加库文件和头文件
附加头文件包含 VC6.0中: VC6.0默认include包含路径:Tools>Options>Directories>Include files. 对于特定项目的头文件包含,在“ ...
- Win10资源管理器中的库文件夹按照修改日期排序
win7之后添加的库十分的好用,可以将下载,音乐,文档设置在我的电脑(win10叫此电脑)首页,快速进入. 我对文件夹设置了按照时间排序,这样进去就可以直接看到最近下载了什么文件.但是win10用时间 ...
- VC 6.0中添加库文件和头文件 【转】
本文转载自:http://blog.sina.com.cn/s/blog_9d3971af0102wxjq.html 加头文件包含 VC6.0中: VC6.0默认include包含路径:Tools&g ...
- android 开发中 添加库文件 和so 文件的存放位置和添加依赖
so文件一般存储在 main 当中 jniLibs 当中 然后在build.gradle中添加 sourceSets { main { jniLibs.srcDirs = ['src/main/j ...
随机推荐
- SignalR 实时推送消息
业务场景 以前做过一个东西,就是当数据库有数据更新的时候,能够自动更新到前台,那时候signalr还没出现的时候,需要自己实现轮询读库,对于数据库和程序都是比较郁闷的事情.现在利用SignalR解决数 ...
- Andy's First Dictionary---set,stringstream
https://cn.vjudge.net/contest/177260#problem/C stringstream :https://blog.csdn.net/xw20084898/articl ...
- Linux终端复用神器-Tmux使用梳理
Tmux是一个优秀的终端复用软件,类似GNU Screen,但来自于OpenBSD,采用BSD授权.使用它最直观的好处就是,通过一个终端登录远程主机并运行tmux后,在其中可以开启多个控制台而无需再“ ...
- Beta(2/7)
鐵鍋燉腯鱻 项目:小鱼记账 团队成员 项目燃尽图 冲刺情况描述 站立式会议照片 各成员情况 团队成员 学号 姓名 git地址 博客地址 031602240 许郁杨 (组长) https://githu ...
- Spring Cloud微服务笔记(一)微服务概念
微服务概念 一.什么是微服务架构 微服务,是一个小的.松耦合的分布式服务. 为什么需要微服务: 1)单体系统部署在一个进程中,修改了一个小功能,为了部署上线就会影响其他功能. 2)单体应用各个功能模块 ...
- Angularjs判断页面是否已经渲染结束(动态给标签长度)
相信大家都会碰到这样的问题.页面循环li.但是因为个数不知道.没有办法给li设置固定宽度.那么这时就需要动态计算数据长度并动态改变li的宽度 <!--周边信息--> <div cla ...
- Codechef August Challenge 2018 : Modular GCD
传送门 一开始还手动拓欧找规律,发现好像玩不了. 然后想了想,A-B这个数比较小,枚举它的因子判断合不合法就行了. 需要特判A=B的情况. #include<cstdio> #includ ...
- React 简介及其基本使用
相关概念: 插件: 别人写好的第三方库 xxx 插件: jQuery 插件 / react 插件 全家桶: 核心库 + 相关插件 构建项目: 对项目源码 进行 编译.合并.压缩......处理,生 ...
- FJUT3260
不是啊..不是说双栈嘛,,怎么是个**题啊. 链接: http://120.78.128.11/Problem.jsp?pid=3260 从左到右扫一遍,把相交的区间扔到一起算,那么就变成了一 ...
- 使用Java程序读取JPG Tif等格式图片的exif信息
package com.util; import java.io.File;import java.util.Iterator; import com.drew.imaging.ImageProces ...