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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? vga.vhd

?? VHDL實現的示波器-完整的文檔和源代碼
?? VHD
字號:
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_unsigned.all;
entity vgacore is
port
(
reset: in std_logic; -- reset
clock: in std_logic; -- VGA dot clock
hsyncb: buffer std_logic; -- horizontal (line) sync
vsyncb: out std_logic; -- vertical (frame) sync
rgb: out std_logic_vector(5 downto 0); -- red,green,blue colors
addr: out std_logic_vector(14 downto 0); -- address to video RAM
data: in std_logic_vector(7 downto 0); -- data from video RAM
csb: out std_logic; -- video RAM chip enable
oeb: out std_logic; -- video RAM output enable
web: out std_logic; -- video RAM write enable
vdone : out std_logic
);
end vgacore;
architecture vgacore_arch of vgacore is
signal hcnt: std_logic_vector(8 downto 0); -- horizontal pixel counter
signal vcnt: std_logic_vector(9 downto 0); -- vertical line counter
signal pixrg: std_logic_vector(7 downto 0); -- byte register for 4 pixels
signal blank: std_logic; -- video blanking signal
signal pblank: std_logic; -- pipelined video blanking signal
----------------------------
signal frm: std_logic_vector(11 downto 0);
----------------------------------
begin
A: process(clock,reset)
begin
-- reset asynchronously clears pixel counter
if reset='1' then
hcnt <= "000000000";
-- horiz. pixel counter increments on rising edge of dot clock
elsif (clock'event and clock='1') then
-- horiz. pixel counter rolls-over after 381 pixels
if hcnt<380 then
hcnt <= hcnt + 1;
else
hcnt <= "000000000";
end if;
end if;
end process;
B: process(hsyncb,reset)
begin
-- reset asynchronously clears line counter
if reset='1' then
vcnt <= "0000000000";
---------------
frm<="000000000000";
vdone<='0';
----------------
-- vert. line counter increments after every horiz. line
elsif (hsyncb'event and hsyncb='1') then
-- vert. line counter rolls-over after 528 lines
if vcnt<527 then
vcnt <= vcnt + 1;
else
vcnt <= "0000000000";
end if;
--------------
if (vcnt=526)then
frm<=frm+1;
if(frm>200)then
	vdone<='1';
end if;
----------------	
end if;
end if;
end process;
C: process(clock,reset)
begin
-- reset asynchronously sets horizontal sync to inactive
if reset='1' then
hsyncb <= '1';
-- horizontal sync is recomputed on the rising edge of every dot clock
elsif (clock'event and clock='1') then
-- horiz. sync low in this interval to signal start of new line
if (hcnt>=291 and hcnt<337) then
hsyncb <= '0';
else
hsyncb <= '1';
end if;
end if;
end process;
D: process(hsyncb,reset)
begin
-- reset asynchronously sets vertical sync to inactive
if reset='1' then
vsyncb <= '1';
-- vertical sync is recomputed at the end of every line of pixels
elsif (hsyncb'event and hsyncb='1') then
-- vert. sync low in this interval to signal start of a new frame
if (vcnt>=490 and vcnt<492) then
vsyncb <= '0';
else
vsyncb <= '1';
end if;
end if;
end process;
-- blank video outside of visible region: (0,0) -> (255,479)
E: blank <= '1' when (hcnt>=256 or vcnt>=480) else '0';
-- store the blanking signal for use in the next pipeline stage
F: process(clock,reset)
begin
if reset='1' then
pblank <= '0';
elsif (clock'event and clock='1') then
pblank <= blank;
end if;
end process;
-- video RAM control signals
G:
csb <= '0'; -- enable the RAM
web <= '1'; -- disable writing to the RAM
oeb <= blank; -- enable the RAM outputs when video is not blanked
-- The video RAM address is built from the lower 9 bits of the vertical
-- line counter and bits 7-2 of the horizontal pixel counter.
-- Each byte of the RAM contains four 2-bit pixels. As an example,
-- the byte at address ^h1234=^b0001,0010,0011,0100 contains the pixels
-- at (row,col) of (^h048,^hD0),(^h048,^hD1),(^h048,^hD2),(^h048,^hD3).
H: addr <= vcnt(8 downto 0) & hcnt(7 downto 2);
I: process(clock,reset)
begin
-- clear the pixel register on reset
if reset='1' then
pixrg <= "00000000";
-- pixel clock controls changes in pixel register
elsif (clock'event and clock='1') then
-- the pixel register is loaded with the contents of the video
-- RAM location when the lower two bits of the horiz. counter
-- are both zero. The active pixel is in the lower two bits
-- of the pixel register. For the next 3 clocks, the pixel
-- register is right-shifted by two bits to bring the other
-- pixels in the register into the active position.
if hcnt(1 downto 0)="00" then
pixrg <= data; -- load 4 pixels from RAM
else
pixrg <= "00" & pixrg(7 downto 2); -- right-shift pixel register
end if;
end if;
end process;
-- the color mapper translates each 2-bit pixel into a 6-bit
-- color value. When the video signal is blanked, the color
-- is forced to zero (black).
J: process(clock,reset)
begin
-- blank the video on reset
if reset='1' then
rgb <= "000000";
-- update the color outputs on every dot clock
elsif (clock'event and clock='1') then
-- map the pixel to a color if the video is not blanked
if pblank='0' then
case pixrg(1 downto 0) is
when "00" => rgb <= "110000"; -- red
when "01" => rgb <= "001100"; -- green
when "10" => rgb <= "000011"; -- blue
when others => rgb <= "111111"; -- white
end case;
--otherwise, output black if the video is blanked
else
rgb <= "000000"; -- black
end if;
end if;
end process;
end vgacore_arch;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜视频在线观看一区| 欧美美女直播网站| 国产精品12区| 国产精品99久久久久久似苏梦涵| 麻豆国产精品视频| 久久不见久久见免费视频7| 日本特黄久久久高潮| 美国毛片一区二区| 国产在线播放一区三区四| 精品一区二区三区免费毛片爱| 秋霞电影网一区二区| 另类综合日韩欧美亚洲| 看电视剧不卡顿的网站| 国产精品影视在线观看| 成人免费黄色大片| 99视频热这里只有精品免费| 99综合影院在线| 在线观看一区不卡| 69久久夜色精品国产69蝌蚪网| 日韩欧美成人一区| 国产欧美精品国产国产专区| 国产精品国产自产拍高清av | 亚洲色图在线看| 亚洲永久免费av| 日韩不卡手机在线v区| 狠狠色综合播放一区二区| 国产a久久麻豆| 色琪琪一区二区三区亚洲区| 欧美精品日韩综合在线| 欧美sm极限捆绑bd| 亚洲欧美在线视频| 丝袜a∨在线一区二区三区不卡 | 91精品国产一区二区人妖| 精品乱码亚洲一区二区不卡| 国产精品日韩精品欧美在线| 一级日本不卡的影视| 久久成人久久鬼色| 不卡一二三区首页| 欧美精品色综合| 欧美国产精品久久| 亚洲亚洲精品在线观看| 久久99久久精品| 色综合久久中文字幕综合网| 欧美一区中文字幕| 国产精品视频一二三区| 日韩精品一级二级| 成人黄色在线看| 欧美一级理论性理论a| 国产精品久久毛片av大全日韩| 亚洲成人黄色影院| 丁香六月综合激情| 91精品国产91热久久久做人人| 久久精品人人做人人综合| 亚洲动漫第一页| 国产盗摄精品一区二区三区在线| 欧美专区亚洲专区| 日本一区二区三区国色天香| 丝袜美腿一区二区三区| av资源站一区| www激情久久| 天堂成人国产精品一区| 91在线无精精品入口| 欧美电视剧在线观看完整版| 亚洲精品一卡二卡| 国产成人免费视频一区| 在线播放日韩导航| 亚洲男人的天堂在线观看| 国产一区999| 欧美妇女性影城| 亚洲久草在线视频| 丁香桃色午夜亚洲一区二区三区| 51精品国自产在线| 亚洲午夜精品一区二区三区他趣| 成人美女在线观看| 久久久精品免费网站| 男女激情视频一区| 欧美精品一二三区| 亚洲国产日韩a在线播放性色| 成人晚上爱看视频| 久久综合色天天久久综合图片| 亚洲国产sm捆绑调教视频 | 国产精品国产成人国产三级| 黄一区二区三区| 日韩视频一区二区三区| 偷拍自拍另类欧美| 欧美三级乱人伦电影| 亚洲欧美国产毛片在线| 99在线精品观看| 中文字幕制服丝袜成人av| 国产成人夜色高潮福利影视| 欧美大胆一级视频| 麻豆国产一区二区| 日韩视频不卡中文| 天天色综合天天| 欧美日韩一区不卡| 亚洲图片一区二区| 欧美制服丝袜第一页| 亚洲欧洲制服丝袜| 色综合网站在线| 一区二区三区国产| 欧美在线免费观看亚洲| 悠悠色在线精品| 欧美日韩中文字幕一区| 亚洲一区影音先锋| 欧美日韩中字一区| 免费在线看成人av| 精品国产乱码久久久久久老虎| 久久精品久久99精品久久| 欧美一区日韩一区| 极品美女销魂一区二区三区免费| 日韩欧美国产综合在线一区二区三区| 免费精品视频最新在线| www激情久久| 成人综合在线网站| 亚洲天堂a在线| 欧美日韩在线播放三区四区| 香蕉久久一区二区不卡无毒影院 | 国产精品色哟哟| 99久久精品国产导航| 一片黄亚洲嫩模| 91精品国产91热久久久做人人| 久久爱www久久做| 国产亚洲欧美中文| 成人精品视频一区二区三区| 最新成人av在线| 欧美三级视频在线播放| 麻豆成人综合网| 国产情人综合久久777777| 成人18精品视频| 性做久久久久久免费观看| 欧美草草影院在线视频| 成人免费高清视频| 亚洲成人av电影| 久久亚洲精华国产精华液 | 精品久久久久一区| a在线欧美一区| 五月天激情综合网| 国产日韩一级二级三级| 一本久久a久久免费精品不卡| 丝袜美腿亚洲一区| 国产亚洲一本大道中文在线| 色欧美88888久久久久久影院| 日本亚洲视频在线| 中文字幕日韩一区二区| 这里是久久伊人| 成人激情免费网站| 日韩精品一区第一页| 国产精品天美传媒沈樵| 欧美日韩国产小视频| 国产精品综合视频| 一区二区久久久久久| 久久久精品黄色| 欧美日韩一区高清| 懂色中文一区二区在线播放| 亚洲二区在线视频| 国产精品久久久一本精品| 91精品国产综合久久久久久久久久| 国产精品99久久久久久宅男| 亚洲午夜在线视频| 国产精品免费久久| 日韩一卡二卡三卡四卡| 91在线云播放| 国产精品亚洲专一区二区三区| 亚洲二区视频在线| 亚洲视频每日更新| 久久久www免费人成精品| 欧美日韩一区二区在线视频| 成人天堂资源www在线| 久久99精品国产麻豆不卡| 亚洲综合视频在线观看| 中文字幕免费不卡| 精品粉嫩超白一线天av| 欧美日本一区二区三区四区| 99riav久久精品riav| 国产福利电影一区二区三区| 日韩精品成人一区二区在线| 亚洲乱码精品一二三四区日韩在线| 亚洲精品在线三区| 欧美一卡二卡在线| 精品视频全国免费看| 色丁香久综合在线久综合在线观看| 国产一区二区美女| 秋霞影院一区二区| 婷婷国产在线综合| 亚洲一区中文日韩| 亚洲精品一卡二卡| 亚洲欧洲日产国产综合网| 中文字幕乱码日本亚洲一区二区| 欧美电影免费观看高清完整版在线观看 | 久久精品久久久精品美女| 五月天精品一区二区三区| 亚洲高清在线视频| 亚洲美女在线一区| 国产精品久久99| 中文字幕成人av| 欧美激情一区二区在线| 国产日韩一级二级三级| 久久久久久一级片| 久久精品视频一区| 欧美国产日韩a欧美在线观看|