亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

您現(xiàn)在的位置是:蟲蟲下載站 > 資源下載 > 技術資料 > 基于FPGA設計的字符VGA LCD顯示實驗Verilog邏輯源碼Quartus工程文件+文檔說明

基于FPGA設計的字符VGA LCD顯示實驗Verilog邏輯源碼Quartus工程文件+文檔說明

  • 資源大小:11508 K
  • 上傳時間: 2021-12-18
  • 上傳用戶:jimmy950583
  • 資源積分:2 下載積分
  • 標      簽: fpga vga lcd

資 源 簡 介

基于FPGA設計的字符VGA  LCD顯示實驗Verilog邏輯源碼Quartus工程文件+文檔說明,通過字符轉換工具將字符轉換為 8 進制 mif 文件存放到單端口的 ROM IP 核中,再從

ROM 中把轉換后的數(shù)據(jù)讀取出來顯示到 VGA 上,F(xiàn)PGA型號Cyclone4E系列中的EP4CE6F17C8,Quartus版本17.1。

module top(

input                       clk,

input                       rst_n,

//vga output        

output                      vga_out_hs, //vga horizontal synchronization         

output                      vga_out_vs, //vga vertical synchronization                  

output[4:0]                 vga_out_r,  //vga red

output[5:0]                 vga_out_g,  //vga green

output[4:0]                 vga_out_b   //vga blue

);


wire                            video_clk;

wire                            video_hs;

wire                            video_vs;

wire                            video_de;

wire[7:0]                       video_r;

wire[7:0]                       video_g;

wire[7:0]                       video_b;


wire                            osd_hs;

wire                            osd_vs;

wire                            osd_de;

wire[7:0]                       osd_r;

wire[7:0]                       osd_g;

wire[7:0]                       osd_b;



assign vga_out_hs = osd_hs;

assign vga_out_vs = osd_vs;

assign vga_out_r  = osd_r[7:3]; //discard low bit data

assign vga_out_g  = osd_g[7:2]; //discard low bit data

assign vga_out_b  = osd_b[7:3]; //discard low bit data


//generate video pixel clock

video_pll video_pll_m0(

.inclk0                (clk                        ),

.c0                    (video_clk                  )

);


color_bar color_bar_m0(

.clk                   (video_clk                  ),

.rst                   (~rst_n                     ),

.hs                    (video_hs                   ),

.vs                    (video_vs                   ),

.de                    (video_de                   ),

.rgb_r                 (video_r                    ),

.rgb_g                 (video_g                    ),

.rgb_b                 (video_b                    )

);

osd_display  osd_display_m0(

.rst_n                 (rst_n                      ),

.pclk                  (video_clk                  ),

.i_hs                  (video_hs                   ),

.i_vs                  (video_vs                   ),

.i_de                  (video_de                   ),

.i_data                ({video_r,video_g,video_b}  ),

.o_hs                  (osd_hs                     ),

.o_vs                  (osd_vs                     ),

.o_de                  (osd_de                     ),

.o_data                ({osd_r,osd_g,osd_b}        )

);


endmodule



基于FPGA設計的字符VGA  LCD顯示實驗Verilog邏輯源碼Quartus工程文件+文檔說明

相 關 資 源

主站蜘蛛池模板: 宁强县| 新疆| 正安县| 高台县| 乌海市| 仙居县| 千阳县| 嘉义市| 红安县| 安仁县| 泰州市| 永城市| 库车县| 新沂市| 莱西市| 朝阳区| 东明县| 合山市| 乐平市| 田林县| 吴江市| 宁远县| 卢湾区| 洪江市| 阜南县| 溧水县| 莆田市| 楚雄市| 金门县| 石阡县| 舞钢市| 横峰县| 星座| 册亨县| 金堂县| 黄陵县| 青冈县| 曲麻莱县| 库尔勒市| 溧水县| 大悟县|