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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? service_module.vhd

?? AVR IP CORE 可以直接用于工程的開發(fā)和 已經(jīng)通過編譯和仿真
?? VHD
字號:
--**********************************************************************************************--  Some additional control registers for the AVR Core--  Version 0.7 20.05.2003--  Designed by Ruslan Lepetenok--**********************************************************************************************library IEEE;use IEEE.std_logic_1164.all;use WORK.AVRuCPackage.all;entity Service_Module is port(	                   -- AVR Control               ireset         : in  std_logic;               cp2	          : in  std_logic;               adr            : in  std_logic_vector(5 downto 0);               dbus_in        : in  std_logic_vector(7 downto 0);               dbus_out       : out std_logic_vector(7 downto 0);               iore           : in  std_logic;               iowe           : in  std_logic;               out_en         : out std_logic; 			        -- SLEEP mode signals			   sleep_en       : out std_logic;		   	        -- SRAM control signals			   ESRAM_en       : out std_logic;			   ESRAM_WS       : out std_logic;			   	    --IRQ               ExtInt_IRQ     : out std_logic_vector(7 downto 0);			   ExtInt_IRQ_Ack : in  std_logic_vector(3 downto 0);			   			   -- External interrupts (inputs)			   Ext_Int_In     : in  std_logic_vector(7 downto 0));end Service_Module;architecture rtl of Service_Module is-- Registerssignal MCUCR  : std_logic_vector(7 downto 0) := (others => '0');signal EIMSK  : std_logic_vector(7 downto 0) := (others => '0');signal EIFR   : std_logic_vector(7 downto 0) := (others => '0');signal EICR   : std_logic_vector(7 downto 0) := (others => '0');signal MCUSR  : std_logic_vector(7 downto 0) := (others => '0');signal XDIV   : std_logic_vector(7 downto 0) := (others => '0');signal MCUCR_Sel : std_logic := '0';signal EIMSK_Sel : std_logic := '0';signal EIFR_Sel  : std_logic := '0';signal EICR_Sel  : std_logic := '0';signal MCUSR_Sel : std_logic := '0';signal XDIV_Sel  : std_logic := '0';  -- MCUCR Bitsalias SM0   : std_logic is MCUCR(3);alias SM1   : std_logic is MCUCR(4);alias SE    : std_logic is MCUCR(5);alias SRW   : std_logic is MCUCR(6);alias SRE   : std_logic is MCUCR(7);  -- EIMSK Bitsalias INT0  : std_logic is EIMSK(0);alias INT1  : std_logic is EIMSK(1);alias INT2  : std_logic is EIMSK(2);alias INT3  : std_logic is EIMSK(3);alias INT4  : std_logic is EIMSK(4);alias INT5  : std_logic is EIMSK(5);alias INT6  : std_logic is EIMSK(6);alias INT7  : std_logic is EIMSK(7);  -- EIFR Bitsalias INTF4 : std_logic is EIFR(4);alias INTF5 : std_logic is EIFR(5);alias INTF6 : std_logic is EIFR(6);alias INTF7 : std_logic is EIFR(7);  -- EICR Bitsalias ISC40  : std_logic is EICR(0);alias ISC41  : std_logic is EICR(1);alias ISC50  : std_logic is EICR(2);alias ISC51  : std_logic is EICR(3);alias ISC60  : std_logic is EICR(4);alias ISC61  : std_logic is EICR(5);alias ISC70  : std_logic is EICR(6);alias ISC71  : std_logic is EICR(7);  -- MCUSR Bitsalias PORF   : std_logic is MCUSR(0);alias EXTRF  : std_logic is MCUSR(1);  -- XDIV Bitsalias XDIV0  : std_logic is XDIV(0);alias XDIV1  : std_logic is XDIV(1);alias XDIV2  : std_logic is XDIV(2);alias XDIV3  : std_logic is XDIV(3);alias XDIV4  : std_logic is XDIV(4);alias XDIV5  : std_logic is XDIV(5);alias XDIV6  : std_logic is XDIV(6);alias XDIVEN : std_logic is XDIV(7);-- Edge detector signals for the external interrupt inputssignal Ext_Int_Del  : std_logic_vector(3 downto 0) := (others=> '0'); -- Register for edge detectingsignal Edge_Det_Out : std_logic_vector(3 downto 0) := (others=> '0'); -- Output of the edge detector-- Resynchronization signals for the external interrupt inputssignal Ext_Int_Resync : std_logic_vector(Ext_Int_In'range) := (others => '0');signal Ext_Int_InReg  : std_logic_vector(Ext_Int_In'range) := (others => '0');-- Constants for conditional synthesis controlconstant CImlXDIV : boolean := FALSE; -- XDIV register	beginMCUCR_Sel <= '1' when adr=MCUCR_Address else '0';	EIMSK_Sel <= '1' when adr=EIMSK_Address else '0';	EIFR_Sel  <= '1' when adr=EIFR_Address else '0';	EICR_Sel  <= '1' when adr=EICR_Address else '0';		MCUSR_Sel <= '1' when adr=MCUSR_Address else '0';		XDIV_Sel  <= '1' when adr=XDIV_Address else '0';		ExternalIntSynchronizer:process(cp2,ireset)beginif (ireset='0') then                   -- Reset Ext_Int_Resync <= (others => '0');   elsif (cp2='0' and cp2'event) then   -- Clock (falling edge)	 Ext_Int_Resync <= Ext_Int_In;	   end if;end process;							ExternalIntReg:process(cp2,ireset)beginif (ireset='0') then                   -- Reset Ext_Int_InReg <= (others => '0');   elsif (cp2='1' and cp2'event) then   -- Clock	 Ext_Int_InReg <= Ext_Int_Resync;	   end if;end process;						MCUCR_Reg:process(cp2,ireset)beginif (ireset='0') then                   -- Reset MCUCR <= (others => '0');   elsif (cp2='1' and cp2'event) then   -- Clock    if (MCUCR_Sel and iowe)='1' then   -- Clock enable	 MCUCR(7 downto 3) <= dbus_in(7 downto 3);	end if;	   end if;end process;					sleep_en <= SE;EIMSK_Reg:process(cp2,ireset)beginif (ireset='0') then                   -- Reset EIMSK <= (others => '0');   elsif (cp2='1' and cp2'event) then   -- Clock    if (EIMSK_Sel and iowe)='1' then   -- Clock enable	 EIMSK <= dbus_in;	end if;	   end if;end process;				EICR_Reg:process(cp2,ireset)beginif (ireset='0') then                   -- Reset EICR <= (others => '0');   elsif (cp2='1' and cp2'event) then   -- Clock    if (EICR_Sel and iowe)='1' then   -- Clock enable	 EICR <= dbus_in;	end if;	   end if;end process;				MCUSR_Reg:process(cp2,ireset)beginif (ireset='0') then                   -- Reset MCUSR <= (others => '0');   elsif (cp2='1' and cp2'event) then   -- Clock    if (MCUSR_Sel and iowe)='1' then   -- Clock enable	 MCUSR(1 downto 0) <= dbus_in(1 downto 0);	end if;	   end if;end process;				XDIVImplementation :if CImlXDIV generateXDIV_Reg:process(cp2,ireset)beginif (ireset='0') then                   -- Reset XDIV <= (others => '0');   elsif (cp2='1' and cp2'event) then   -- Clock    if (XDIV_Sel and iowe)='1' then    -- Clock enable	 XDIV <= dbus_in;	end if;	   end if;end process;				end generate;EIFR_Reg:process(cp2,ireset)beginif ireset='0' then 				       -- Reset EIFR <= (others => '0'); Ext_Int_Del <= (others => '0');  elsif (cp2='1' and cp2'event) then   -- Clock   -- External interrupts 4 to 7   for i in 3 downto 0 loop   EIFR(i+4) <= (not EIFR(i+4) and Edge_Det_Out(i)) or     (EIFR(i+4) and not ((EIFR_Sel and iowe and dbus_in(i+4))or(ExtInt_IRQ_Ack(i) and not Edge_Det_Out(i)))); -- ?? Edge_Det_Out(i) ??   end loop;   Ext_Int_Del <= Ext_Int_InReg(3 downto 0);    end if;	end process;Edge_Detector_Logic: for i in 3 downto 0 generateEdge_Det_Out(i) <= ((not Ext_Int_InReg(i+4) and Ext_Int_Del(i)) and (EICR(2*i+1) and not EICR(2*i))) or -- Falling edge				   ((Ext_Int_InReg(i+4) and not Ext_Int_Del(i)) and (EICR(2*i+1) and EICR(2*i)));       -- Rising edgeend generate;ExtInt_IRQ(3 downto 0) <= not Ext_Int_InReg(3 downto 0) and EIMSK(3 downto 0);HighIRQs:for i in 3 downto 0 generateExtInt_IRQ(i+4) <= (EIFR(i+4) and EIMSK(i+4)) when EICR(2*i+1)='1' else  -- Edge control                    (not Ext_Int_InReg(i+4) and EIMSK(i+4)) when  EICR(2*i+1)='0' and EICR(2*i)='0' else -- Level(low) control                   '0';end generate;-- External SRAM controlESRAM_en <= SRE;ESRAM_WS <= SRW;out_en <= (MCUCR_Sel or EIMSK_Sel or EIFR_Sel or EICR_Sel or MCUSR_Sel or XDIV_Sel) and iore;Output_Data_Mux:for i in dbus_out'range generatedbus_out(i) <= 	(MCUCR(i) and MCUCR_Sel)or(EIMSK(i) and EIMSK_Sel)or(EIFR(i) and EIFR_Sel)or                (EICR(i) and EICR_Sel)or(MCUSR(i) and MCUSR_Sel)or(XDIV(i) and XDIV_Sel);end generate;end rtl;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩成人免费看| 久久久久高清精品| 91在线porny国产在线看| 国产在线视频精品一区| 日韩电影在线观看电影| 日本成人在线网站| 免费人成在线不卡| 国产麻豆精品theporn| 国产精品原创巨作av| 国产精品12区| 岛国一区二区三区| 91啪九色porn原创视频在线观看| 国产黄色精品网站| av一二三不卡影片| 在线观看亚洲成人| 欧美日韩精品一区二区三区四区| 欧美性高清videossexo| 欧美色男人天堂| 精品国产乱码久久久久久夜甘婷婷| 日韩一区和二区| 国产精品第一页第二页第三页| 亚洲欧美综合网| 一区二区久久久久久| 青椒成人免费视频| 成人sese在线| 欧美日韩午夜影院| 欧美tickle裸体挠脚心vk| 国产精品美女一区二区| 亚洲第一精品在线| 成人午夜免费视频| 欧美午夜精品一区二区蜜桃| 日韩美女一区二区三区| 国产精品萝li| 天天综合天天综合色| 丁香婷婷综合网| 欧美理论电影在线| 国产精品国产三级国产aⅴ中文| 一区二区三区久久| 国产乱对白刺激视频不卡 | 欧美一区二区在线不卡| 久久久噜噜噜久久中文字幕色伊伊| 亚洲乱码国产乱码精品精可以看| 日韩国产欧美在线观看| 99re亚洲国产精品| 久久夜色精品国产欧美乱极品| 亚洲欧美国产三级| 国产成人精品影视| 欧美一区二区久久久| 亚洲欧美一区二区三区久本道91| 麻豆国产欧美一区二区三区| 在线看日韩精品电影| 国产亚洲va综合人人澡精品 | 国模一区二区三区白浆| 欧美性一级生活| 中文字幕av资源一区| 欧美aaaaaa午夜精品| 日本高清视频一区二区| 欧美国产欧美综合| 狠狠色丁香婷综合久久| 91麻豆精品国产91久久久使用方法 | 色综合久久久久久久久| 久久久不卡网国产精品一区| 丝袜美腿亚洲一区| 欧美日韩久久一区| 亚洲永久精品大片| 色av一区二区| 中文字幕在线一区| 成人国产亚洲欧美成人综合网| 久久久不卡影院| 高清国产一区二区三区| 国产婷婷色一区二区三区在线| 麻豆高清免费国产一区| 欧美一区二区三区四区高清| 五月婷婷久久丁香| 精品国产91九色蝌蚪| 亚洲成av人片一区二区三区| 欧美性色黄大片| 亚洲18影院在线观看| 欧美日韩一级二级| 日本强好片久久久久久aaa| 在线播放91灌醉迷j高跟美女| 亚洲午夜三级在线| 在线播放视频一区| 蜜臀av国产精品久久久久| 91精品久久久久久久91蜜桃| 日韩二区三区四区| 欧美videos中文字幕| 极品少妇一区二区| 国产欧美日韩综合| 99久久精品国产一区| 亚洲美女屁股眼交| 欧美日韩在线观看一区二区 | 91精品婷婷国产综合久久竹菊| 亚洲成av人片在www色猫咪| 91精品久久久久久久久99蜜臂 | 久久精品亚洲国产奇米99| 狠狠色2019综合网| 中文字幕av一区二区三区| 91亚洲国产成人精品一区二区三 | 国产精品欧美久久久久无广告| 国产成人午夜高潮毛片| 亚洲男人的天堂网| 91麻豆精品国产91久久久资源速度| 美女在线一区二区| 欧美国产成人精品| 欧美日韩一区高清| 国产美女视频91| 亚洲一区二区欧美日韩| 欧美成人a视频| 99re这里只有精品首页| 午夜国产精品影院在线观看| 久久综合九色综合欧美亚洲| 99久久婷婷国产精品综合| 香港成人在线视频| 亚洲国产精品精华液2区45| 欧美亚洲愉拍一区二区| 激情久久久久久久久久久久久久久久| 中文字幕不卡在线| 日韩免费高清av| 色综合天天综合在线视频| 另类综合日韩欧美亚洲| 又紧又大又爽精品一区二区| 91精品在线一区二区| 91视频com| 国产美女视频91| 美女免费视频一区二区| 亚洲欧洲日韩在线| 精品国产精品网麻豆系列| 欧美性猛交xxxx乱大交退制版 | 欧美日韩五月天| 不卡一二三区首页| 国产综合久久久久久鬼色| 日韩高清在线观看| 日本中文字幕一区二区视频| 亚洲免费视频成人| 国产精品女人毛片| 精品美女在线播放| 欧美一级电影网站| 欧美日韩一区二区三区四区五区| av成人动漫在线观看| 国产91在线看| 国产盗摄女厕一区二区三区 | 亚洲国产欧美一区二区三区丁香婷| 久久久久久久国产精品影院| 日韩免费观看高清完整版在线观看| 欧美日韩视频专区在线播放| 91搞黄在线观看| 日本道免费精品一区二区三区| 国产成人午夜精品5599| 国产电影一区二区三区| 国产成人夜色高潮福利影视| 国产在线不卡一区| 国产精品亚洲第一| 高清国产一区二区| 99国产精品久久久久| 91香蕉视频在线| 色就色 综合激情| 欧洲另类一二三四区| 欧美亚男人的天堂| 欧美一区二区精品| 26uuu欧美日本| 国产农村妇女精品| 亚洲欧洲日韩一区二区三区| 国产精品美女久久久久久久久 | 欧美日精品一区视频| 欧美日韩国产系列| 日韩欧美在线网站| 久久久www成人免费无遮挡大片 | 亚洲国产精品久久一线不卡| 亚洲国产成人va在线观看天堂| 亚洲成人av免费| 精品影视av免费| 国产91精品久久久久久久网曝门 | 国产成人免费高清| 一本大道久久a久久精品综合| 色欲综合视频天天天| 欧美日韩aaaaa| 欧美tickling挠脚心丨vk| 欧美极品另类videosde| 亚洲国产视频一区二区| 国产揄拍国内精品对白| 91亚洲精品久久久蜜桃网站 | 精品国产免费一区二区三区香蕉| 国产视频一区在线播放| 一区二区三区欧美视频| 蜜桃久久久久久久| 成人av在线影院| 欧美一区二区三区免费| 亚洲色图视频免费播放| 蜜桃一区二区三区在线| 91视频免费播放| 精品国产网站在线观看| 亚洲一区二区视频| 成人一区二区三区在线观看 | 国产日本亚洲高清| 日韩专区一卡二卡| www.爱久久.com| 日韩一区二区在线观看| 亚洲视频小说图片| 国产在线观看免费一区|