VGA显示一个小方块移动 FPGA(EP4CE6)实验Verilog逻辑源码Quartus工程文件+文档资料.rar

上传者: GZXGYZ | 上传时间: 2021-08-09 18:03:35 | 文件大小: 3.59MB | 文件类型: RAR
VGA显示一个小方块,FPGA(EP4CE6)实验Verilog逻辑源码Quartus工程文件+文档资料,FPGA为CYCLONE4系列中的EP4CE6E22C8. 完整的工程文件,可以做为你的学习设计参考。 ********************************************************************************************************/ //上电后,VGA显示一个移动的小块,碰到边框的时候被弹开。 module VGA_Moving_Block ( input sys_clk , input sys_rst_n , output wire Hs , output wire Vs , output wire VGA_G , output wire VGA_B , output wire VGA_R ); //Reg define reg sys_clk_pixel ; reg [9:0] x_count ; reg [9:0] y_count ; reg hsync ; reg vsync ; reg [17:0] clk_cnt ; reg clkout ; reg up_down_x; reg up_down_y; //上升和下降信号 reg [9:0] x_pos ; //小方块左上角坐标 reg [9:0] y_pos ; //小方块左上角坐标 //Wire define wire valid_mov; wire valid_1 ; wire valid_2 ; wire valid_3 ; wire valid_4 ; wire valid_s ; //************************************************************************************ //** Main Program //** //************************************************************************************ //像素时钟 分频产生 25Mhz 时钟 always @ (posedge sys_clk or negedge sys_rst_n) begin if (!sys_rst_n) sys_clk_pixel <= 1'b0; else sys_clk_pixel <= ~sys_clk_pixel; end //行坐标和纵坐标 always @ (posedge sys_clk_pixel) begin if (!sys_rst_n) begin x_count <= 0; y_count <= 0; end else if (x_count == 10'd799) begin x_count <= 10'd0; if (y_count == 10'd519) y_count <= 10'd0; else y_count <= y_count+1'b1; end else x_count <= x_count+1'b1; end //同步信号 always @ (posedge sys_clk_pixel) begin if (x_count <= 10'd95) hsync <= 1'b0; else hsync <= 1'b1; end always @ (posedge sys_clk_pixel) begin if (y_count <= 1'd1) vsync <= 1'b0; else vsync <= 1'b1; end assign Hs = hsync; assign

文件下载

资源详情

[{"title":"( 93 个子文件 3.59MB ) VGA显示一个小方块移动 FPGA(EP4CE6)实验Verilog逻辑源码Quartus工程文件+文档资料.rar","children":[{"title":"VGA_Moving_Block(EP4CE6)","children":[{"title":"VGA_Moving_Block","children":[{"title":"VGA_Moving_Block.cdf <span style='color:#111;'> 350B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.qsf.bak <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.fit.rpt <span style='color:#111;'> 125.02KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.fit.summary <span style='color:#111;'> 620B </span>","children":null,"spread":false},{"title":"db","children":[{"title":"VGA_Moving_Block.amm.cdb <span style='color:#111;'> 425B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.rtlv_sg.cdb <span style='color:#111;'> 9.17KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.tiscmp.slow_1200mv_0c.ddb <span style='color:#111;'> 202.38KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.tiscmp.slow_1200mv_85c.ddb <span style='color:#111;'> 202.00KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.tmw_info <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.rtlv.hdb <span style='color:#111;'> 9.86KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.map_bb.hdb <span style='color:#111;'> 7.95KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.sta_cmp.8_slow_1200mv_85c.tdb <span style='color:#111;'> 36.32KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.map_bb.cdb <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.map.kpt <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.cmp_merge.kpt <span style='color:#111;'> 216B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.sta.rdb <span style='color:#111;'> 29.94KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.map.cdb <span style='color:#111;'> 10.49KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.cmp.cdb <span style='color:#111;'> 34.23KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.cmp.rdb <span style='color:#111;'> 16.48KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.pre_map.cdb <span style='color:#111;'> 9.59KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.syn_hier_info <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.map.qmsg <span style='color:#111;'> 5.47KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.asm_labs.ddb <span style='color:#111;'> 9.21KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.tis_db_list.ddb <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.cbx.xml <span style='color:#111;'> 98B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.cmp.bpm <span style='color:#111;'> 635B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.map.hdb <span style='color:#111;'> 12.43KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.map.logdb <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.tiscmp.fastest_slow_1200mv_0c.ddb <span style='color:#111;'> 120.10KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.lpc.rdb <span style='color:#111;'> 388B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.cmp.logdb <span style='color:#111;'> 9.40KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.asm.rdb <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.tiscmp.fast_1200mv_0c.ddb <span style='color:#111;'> 200.27KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.fit.qmsg <span style='color:#111;'> 25.41KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.cmp.hdb <span style='color:#111;'> 13.10KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.sgdiff.cdb <span style='color:#111;'> 10.37KB </span>","children":null,"spread":false},{"title":"logic_util_heursitic.dat <span style='color:#111;'> 11.52KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.idb.cdb <span style='color:#111;'> 4.54KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.hif <span style='color:#111;'> 805B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.asm.qmsg <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.hier_info <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.map.bpm <span style='color:#111;'> 603B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.cmp.kpt <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.sgdiff.hdb <span style='color:#111;'> 10.55KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.cycloneive_io_sim_cache.45um_ss_1200mv_0c_slow.hsd <span style='color:#111;'> 726.50KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.(0).cnf.hdb <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.cycloneive_io_sim_cache.45um_ss_1200mv_85c_slow.hsd <span style='color:#111;'> 723.28KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.cycloneive_io_sim_cache.45um_ff_1200mv_0c_fast.hsd <span style='color:#111;'> 727.76KB </span>","children":null,"spread":false},{"title":"prev_cmp_VGA_Moving_Block.qmsg <span style='color:#111;'> 87.49KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.tiscmp.fastest_slow_1200mv_85c.ddb <span style='color:#111;'> 120.12KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.lpc.txt <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.rtlv_sg_swap.cdb <span style='color:#111;'> 177B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.map_bb.logdb <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.db_info <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.sta.qmsg <span style='color:#111;'> 53.91KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.smart_action.txt <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.pre_map.hdb <span style='color:#111;'> 9.86KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.sld_design_entry_dsc.sci <span style='color:#111;'> 196B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.(0).cnf.cdb <span style='color:#111;'> 8.64KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.lpc.html <span style='color:#111;'> 430B </span>","children":null,"spread":false}],"spread":false},{"title":"incremental_db","children":[{"title":"compiled_partitions","children":[{"title":"VGA_Moving_Block.root_partition.cmp.rcfdb <span style='color:#111;'> 15.88KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.root_partition.map.kpt <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.root_partition.cmp.kpt <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.root_partition.map.hbdb.hdb <span style='color:#111;'> 12.13KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.root_partition.map.dpi <span style='color:#111;'> 675B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.root_partition.cmp.hdb <span style='color:#111;'> 12.86KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.root_partition.map.hbdb.hb_info <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.root_partition.map.hbdb.sig <span style='color:#111;'> 31B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.root_partition.cmp.cdb <span style='color:#111;'> 14.36KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.root_partition.map.hbdb.cdb <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.root_partition.cmp.dfp <span style='color:#111;'> 33B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.root_partition.map.hdb <span style='color:#111;'> 12.33KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.db_info <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.root_partition.cmp.logdb <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.root_partition.map.cdb <span style='color:#111;'> 10.35KB </span>","children":null,"spread":false}],"spread":false},{"title":"README <span style='color:#111;'> 653B </span>","children":null,"spread":false}],"spread":true},{"title":"VGA_Moving_Block.flow.rpt <span style='color:#111;'> 7.42KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.fit.smsg <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.asm.rpt <span style='color:#111;'> 7.20KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.sta.rpt <span style='color:#111;'> 293.66KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.sta.summary <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.pin <span style='color:#111;'> 20.01KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.sof <span style='color:#111;'> 349.93KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.qpf <span style='color:#111;'> 919B </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.map.rpt <span style='color:#111;'> 23.41KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.qsf <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.map.summary <span style='color:#111;'> 485B </span>","children":null,"spread":false},{"title":"详细设计方案","children":[{"title":"基于FPGA的VGA时序彩条信号实现方法及其应用.pdf <span style='color:#111;'> 144.90KB </span>","children":null,"spread":false},{"title":"方案说明.doc <span style='color:#111;'> 27.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"VGA_Moving_Block.done <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"RTL","children":[{"title":"VGA_Moving_Block.v.bak <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.v <span style='color:#111;'> 4.84KB </span>","children":null,"spread":false},{"title":"VGA_Moving_Block.jpg <span style='color:#111;'> 573.40KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • weixin_51035462 :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-12-02

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明