2011年8月16日

[笔记]VGA建模之三(Display a color photo pika.bmp)

摘要: 一、RTL视图二、sync_modulemodule sync_module(input VGA_CLK, //800x600input RST_N,output VGA_HS,VGA_VS,valid,output[10:0] X,Y //column and row addr signal);reg[10:0] Count_H;always@(posedge VGA_CLK or negedge RST_N) if(!RST_N) Count_H<=11'd0; else if(Count_H==11'd1056) Count_H<=11'd0; els 阅读全文

posted @ 2011-08-16 22:07 LiangXuan 阅读(1763) 评论(1) 推荐(3)

[笔记]VGA建模之二(Display a photo pika.bmp)

摘要: 一、RTL视图二、sync_modulemodule vga_module(input CLOCK_50,input[3:0] KEY,output VGA_CLK,output[7:0] VGA_R,VGA_G,VGA_B,output VGA_HS,VGA_VS,output VGA_BLANK_N,output VGA_SYNC_N);assign VGA_SYNC_N=1'b0; //If not SOG,Sync input should be tied to 0;assign VGA_BLANK_N=VGA_HS&&VGA_VS;pll_module u1( 阅读全文

posted @ 2011-08-16 20:57 LiangXuan 阅读(1777) 评论(1) 推荐(1)

[笔记]VGA建模之一(Display a rectangle)

摘要: 一、RTL视图:二、sync_modulemodule sync_module(input VGA_CLK, //800x600input RST_N,output VGA_HS,VGA_VS,valid,output[10:0] X,Y //column and row addr signal);reg[10:0] Count_H;always@(posedge VGA_CLK or negedge RST_N) if(!RST_N) Count_H<=11'd0; else if(Count_H==11'd1056) Count_H<=11'd0; el 阅读全文

posted @ 2011-08-16 20:34 LiangXuan 阅读(3354) 评论(4) 推荐(1)

[笔记]VGA时序及其原理

摘要: 显示器扫描方式分为逐行扫描和隔行扫描:逐行扫描是扫描从屏幕左上角一点开始,从左像右逐点扫描,每扫描完一行,电子束回到屏幕的左边下一行的起始位置,在这期间,CRT对电子束进行消隐,每行结束时,用行同步信号进行同步;当扫描完所有的行,形成一帧,用场同步信号进行场同步,并使扫描回到屏幕左上方,同时进行场消隐,开始下一帧。隔行扫描是指电子束扫描时每隔一行扫一线,完成一屏后在返回来扫描剩下的线,隔行扫描的显示器闪烁的厉害,会让使用者的眼睛疲劳。 完成一行扫描的时间称为水平扫描时间,其倒数称为行频率;完成一帧(整屏)扫描的时间称为垂直扫描时间,其倒数称为场频率,即刷新一屏的频率,常见的有60Hz,75H. 阅读全文

posted @ 2011-08-16 13:59 LiangXuan 阅读(72133) 评论(5) 推荐(12)

导航