基于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 ...
随机推荐
- Linux远程登录ssh免密码配置方法(仅供参考)
这篇文章主要介绍了linux远程登录ssh免密码配置方法,需要的朋友可以参考下(http://www.0834-3659999.com) 一.情景 公司刚上几台Linux,现在要把主机之间都能远程ss ...
- 程序猿最浪漫的表白,肯定会得到你的她——Jason niu 原文来自GitHub,本人已部分修改
程序猿最浪漫的表白,肯定会得到你的她——Jason niu 原文来自GitHub,主页本人已部分修改,感谢程序猿大神wuxia2001和hackerzhou的开源,感谢这两位大神! 视频结果展示 ...
- SA:利用SA算法解决TSP(数据是14个虚拟城市的横纵坐标)问题——Jason niu
%SA:利用SA算法解决TSP(数据是14个虚拟城市的横纵坐标)问题——Jason niu X = [16.4700 96.1000 16.4700 94.4400 20.0900 92.5400 2 ...
- String painter HDU - 2476 -区间DP
HDU - 2476 思路:分解问题,先考虑从一个空串染色成 B串的最小花费 ,区间DP可以解决这个问题 具体的就是,当 str [ l ] = = str [ r ]时 dp [ L ] [ R ] ...
- 2019-2-14sql server数据库模糊查询语句
sql server数据库模糊查询语句 确切匹配: select * from hs_user where ID=123 模糊查询 select * from hs_user where ID l ...
- Linux系统(和mac系统)chmod修改权限总结
在 Mac 系统的终端上修改文件权限使用的是 Linux 中的 chmod 命令. chmod 用户+操作+权限+文件 用户部分:使用字母 u 表示文件拥有者(user),g 表示拥有者所在群组(gr ...
- centos6.5安装ganglia-gmond
安装过程借鉴许多博客,最后得出没有出错的流程. 一.安装依赖包: yum -y install gccglibc glibc-common rrdtool rrdtool-devel apr apr- ...
- 6.6 Pandora 实操 - API/SDK
创建实时仓库 连接日志仓库 点击到工作流查看 通过 Java sdk 打数据 通过 java sdk 对应字段打数据,先打到实时仓库(消息队列),对应再会打到日志仓库(做存储). 代码见 Sequen ...
- 24 GISer必备知识(一) 坐标系
对于经常使用ArcMap的童鞋,肯定用过属性表中的计算几何的功能,但是有时候会提示面积计算与长度计算禁用 但是选择的明明是 Xian 1980坐标系,这是为什么呢?下面就来讲一讲这些个经常让人“头大” ...
- Magic Pen 6
Problem Description In HIT, many people have a magic pen. Lilu0355 has a magic pen, darkgt has a mag ...