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

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

?? timer_counter.vhd

?? AVR IP CORE 可以直接用于工程的開發和 已經通過編譯和仿真
?? VHD
?? 第 1 頁 / 共 3 頁
字號:
--**********************************************************************************************-- Timers/Counters Block Peripheral for the AVR Core-- Version 1.01 -- Modified 20.05.2003-- Synchronizer for EXT1/EXT2/Tosc1 inputs was added-- Designed by Ruslan Lepetenok--**********************************************************************************************library IEEE;use IEEE.std_logic_1164.all;use IEEE.std_logic_unsigned.all;use WORK.AVRuCPackage.all;entity Timer_Counter 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;                        --Timer/Counters               EXT1           : in std_logic;               EXT2           : in std_logic;			   Tosc1	      : in std_logic;			   OC0_PWM0       : out std_logic;			   OC1A_PWM1A     : out std_logic;			   OC1B_PWM1B     : out std_logic;			   OC2_PWM2       : out std_logic;			   		   			           --IRQ               TC0OvfIRQ      : out std_logic;			   TC0OvfIRQ_Ack  : in std_logic;			   TC0CmpIRQ      : out std_logic;			   TC0CmpIRQ_Ack  : in std_logic;			   TC2OvfIRQ      : out std_logic;			   TC2OvfIRQ_Ack  : in std_logic;			   TC2CmpIRQ      : out std_logic;			   TC2CmpIRQ_Ack  : in std_logic;			   TC1OvfIRQ      : out std_logic;			   TC1OvfIRQ_Ack  : in std_logic;			   TC1CmpAIRQ     : out std_logic;			   TC1CmpAIRQ_Ack : in std_logic;			   TC1CmpBIRQ     : out std_logic;			   TC1CmpBIRQ_Ack : in std_logic;			   			   TC1ICIRQ       : out std_logic;			   TC1ICIRQ_Ack   : in std_logic);end Timer_Counter;architecture rtl of Timer_Counter is-- Copies of the external signalssignal OC0_PWM0_Int   :	std_logic := '0';signal OC2_PWM2_Int   :	std_logic := '0';-- Registerssignal TCCR0  : std_logic_vector(7 downto 0) := (others => '0');signal TCCR1A : std_logic_vector(7 downto 0) := (others => '0');signal TCCR1B : std_logic_vector(7 downto 0) := (others => '0');signal TCCR2  : std_logic_vector(7 downto 0) := (others => '0');signal ASSR   : std_logic_vector(7 downto 0) := (others => '0'); -- Asynchronous status register (for TCNT0)signal TIMSK  : std_logic_vector(7 downto 0) := (others => '0');signal TIFR   : std_logic_vector(7 downto 0) := (others => '0');signal TCNT0  : std_logic_vector(7 downto 0) := (others => '0');signal TCNT2  : std_logic_vector(7 downto 0) := (others => '0');signal OCR0   : std_logic_vector(7 downto 0) := (others => '0');signal OCR2   : std_logic_vector(7 downto 0) := (others => '0');signal TCNT1H : std_logic_vector(7 downto 0) := (others => '0');signal TCNT1L : std_logic_vector(7 downto 0) := (others => '0');signal OCR1AH : std_logic_vector(7 downto 0) := (others => '0');signal OCR1AL : std_logic_vector(7 downto 0) := (others => '0');signal OCR1BH : std_logic_vector(7 downto 0) := (others => '0');signal OCR1BL : std_logic_vector(7 downto 0) := (others => '0');signal ICR1AH : std_logic_vector(7 downto 0) := (others => '0');signal ICR1AL : std_logic_vector(7 downto 0) := (others => '0');signal TCCR0_Sel  : std_logic := '0';signal TCCR1A_Sel : std_logic := '0';signal TCCR1B_Sel : std_logic := '0';signal TCCR2_Sel  : std_logic := '0';signal ASSR_Sel   : std_logic := '0';signal TIMSK_Sel  : std_logic := '0';signal TIFR_Sel   : std_logic := '0';signal TCNT0_Sel  : std_logic := '0';signal TCNT2_Sel  : std_logic := '0';signal OCR0_Sel   : std_logic := '0';signal OCR2_Sel   : std_logic := '0';signal TCNT1H_Sel : std_logic := '0';signal TCNT1L_Sel : std_logic := '0';signal OCR1AH_Sel : std_logic := '0';signal OCR1AL_Sel : std_logic := '0';signal OCR1BH_Sel : std_logic := '0';signal OCR1BL_Sel : std_logic := '0';signal ICR1AH_Sel : std_logic := '0';signal ICR1AL_Sel : std_logic := '0';  -- TCCR0 Bitsalias CS00  : std_logic is TCCR0(0);alias CS01  : std_logic is TCCR0(1);alias CS02  : std_logic is TCCR0(2);alias CTC0  : std_logic is TCCR0(3);alias COM00 : std_logic is TCCR0(4);alias COM01 : std_logic is TCCR0(5);alias PWM0  : std_logic is TCCR0(6);  -- TCCR1A Bitsalias PWM10  : std_logic is TCCR1A(0);alias PWM11  : std_logic is TCCR1A(1);alias COM1B0 : std_logic is TCCR1A(4);alias COM1B1 : std_logic is TCCR1A(5);alias COM1A0 : std_logic is TCCR1A(4);alias COM1A1 : std_logic is TCCR1A(5);  -- TCCR1B Bitsalias CS10  : std_logic is TCCR1A(0);alias CS11  : std_logic is TCCR1A(1);alias CS12  : std_logic is TCCR1A(2);alias CTC1  : std_logic is TCCR1A(3);alias ICES1 : std_logic is TCCR1A(6);alias ICNC1 : std_logic is TCCR1A(7);  -- TCCR2 Bitsalias CS20  : std_logic is TCCR2(0);alias CS21  : std_logic is TCCR2(1);alias CS22  : std_logic is TCCR2(2);alias CTC2  : std_logic is TCCR2(3);alias COM20 : std_logic is TCCR2(4);alias COM21 : std_logic is TCCR2(5);alias PWM2  : std_logic is TCCR2(6);-- ASSR bitsalias TCR0UB  : std_logic is ASSR(0);alias OCR0UB  : std_logic is ASSR(1);alias TCN0UB  : std_logic is ASSR(2);alias AS0     : std_logic is ASSR(3);-- TIMSK bitsalias TOIE0     : std_logic is TIMSK(0);alias OCIE0     : std_logic is TIMSK(1);alias TOIE1     : std_logic is TIMSK(2);alias OCIE1B    : std_logic is TIMSK(3);alias OCIE1A    : std_logic is TIMSK(4);alias TICIE1    : std_logic is TIMSK(5);alias TOIE2     : std_logic is TIMSK(6);alias OCIE2     : std_logic is TIMSK(7);-- TIFR bitsalias TOV0     : std_logic is TIFR(0);alias OCF0     : std_logic is TIFR(1);alias TOV1     : std_logic is TIFR(2);alias OCF1B    : std_logic is TIFR(3);alias OCF1A    : std_logic is TIFR(4);alias ICF1     : std_logic is TIFR(5);alias TOV2     : std_logic is TIFR(6);alias OCF2     : std_logic is TIFR(7);-- Prescaler1 signalssignal CK8    : std_logic := '0';signal CK64   : std_logic := '0';signal CK256  : std_logic := '0';signal CK1024 : std_logic := '0';signal Pre1Cnt : std_logic_vector(9 downto 0) := (others => '0'); -- Prescaler 1 counter (10-bit)signal EXT1RE : std_logic := '0'; -- Rising edge of external input EXT1 (for TCNT1 only)signal EXT1FE : std_logic := '0'; -- Falling edge of external input EXT1 (for TCNT1 only)signal EXT2RE : std_logic := '0'; -- Rising edge of external input EXT2	(for TCNT2 only)signal EXT2FE : std_logic := '0'; -- Falling edge of external input EXT2 (for TCNT2 only)-- Risign/falling edge detectors	signal EXT1Latched : std_logic := '0';	signal EXT2Latched : std_logic := '0';	-- Prescalers outputs signal TCNT0_En : std_logic := '0'; -- Output of the prescaler 0signal TCNT1_En : std_logic := '0';	-- Output of the prescaler 1signal TCNT2_En : std_logic := '0';	-- Output of the prescaler 1-- Prescaler0 signals	signal PCK0     : std_logic := '0';signal PCK08    : std_logic := '0';signal PCK032   : std_logic := '0';signal PCK064   : std_logic := '0';signal PCK0128  : std_logic := '0';signal PCK0256  : std_logic := '0';signal PCK01024 : std_logic := '0';signal Tosc1RE      : std_logic := '0'; -- Rising edge detector for TOSC1 inputsignal Tosc1Latched : std_logic := '0';signal Pre0Cnt      : std_logic_vector(9 downto 0) := (others => '0'); -- Prescaler 0 counter (10-bit)signal PCK0_Del     : std_logic := '0';-- Timer/counter 0 signalssignal TCNT0_Tmp     : std_logic_vector(7 downto 0) := (others => '0');signal TCNT0_In      : std_logic_vector(7 downto 0) := (others => '0');signal TCNT0_Imm_In  : std_logic_vector(7 downto 0) := (others => '0'); -- Immediate data input signal TCCR0_Tmp     : std_logic_vector(7 downto 0) := (others => '0');signal TCCR0_In      : std_logic_vector(7 downto 0) := (others => '0');signal OCR0_Tmp      : std_logic_vector(7 downto 0) := (others => '0');signal OCR0_In       : std_logic_vector(7 downto 0) := (others => '0');signal TCNT0_Cnt_Dir : std_logic := '0'; -- Count up(0) down (1)signal TCNT0_Clr     : std_logic := '0'; -- Clear (syncronously) TCNT0signal TCNT0_Ld_Imm  : std_logic := '0'; -- Load immediate value (syncronously) TCNT0signal TCNT0_Cmp_Out : std_logic := '0'; -- Output of the comparatorsignal TCNT0_Inc     : std_logic := '0'; -- Increment (not load) took place-- For asynchronous mode onlysignal TCR0UB_Tmp     : std_logic := '0';signal OCR0UB_Tmp     : std_logic := '0';signal TCN0UB_Tmp     : std_logic := '0';-- Timer/counter 2 signalssignal TCNT2_In      : std_logic_vector(7 downto 0) := (others => '0');signal OCR2_Tmp      : std_logic_vector(7 downto 0) := (others => '0');signal TCNT2_Cnt_Dir : std_logic := '0'; -- Count up(0) down (1)signal TCNT2_Clr     : std_logic := '0'; -- Clear (syncronously) TCNT0signal TCNT2_Imm_In  : std_logic_vector(7 downto 0) := (others => '0'); -- Immediate data input signal TCCR2_Tmp     : std_logic_vector(7 downto 0) := (others => '0');signal OCR2_In       : std_logic_vector(7 downto 0) := (others => '0');signal TCNT2_Ld_Imm  : std_logic := '0'; -- Load immediate value (syncronously) TCNT2signal TCNT2_Cmp_Out : std_logic := '0'; -- Output of the comparatorsignal TCNT2_Inc     : std_logic := '0'; -- Increment (not load) took place-- Synchronizer signalssignal EXT1SA  : std_logic := '0';signal EXT1SB  : std_logic := '0'; -- Output of the synchronizer for EXT1signal EXT2SA  : std_logic := '0';signal EXT2SB  : std_logic := '0'; -- Output of the synchronizer for EXT1signal Tosc1SA : std_logic := '0';signal Tosc1SB : std_logic := '0'; -- Output of the synchronizer for Tosc1-- TBD-- Timer/counter 1 signals-- TBD-- Additonal signals (These signals are added in order to emulate the behaviour of the real chip )-- !!! TBD !!!--signal PORTB4_Out : std_logic := '0';--signal PORTB5_Out : std_logic := '0';--signal PORTB6_Out : std_logic := '0';--signal PORTB7_Out : std_logic := '0';begin	-- SynchronizersSyncDFFs:process(cp2,ireset)	begin	 if ireset='0' then      -- Reset  EXT1SA <= '0';    EXT1SB <= '0';     EXT2SA <= '0';     EXT2SB <= '0';     Tosc1SA <= '0';    Tosc1SB <= '0';     elsif cp2='1' and cp2'event then -- Clock    EXT1SA <= EXT1;      EXT1SB <= EXT1SA;       EXT2SA <= EXT2;       EXT2SB <= EXT2SA;       Tosc1SA <= Tosc1;      Tosc1SB <= Tosc1SA; end if;	 end process;	

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久一区二区三区国产精品| 视频精品一区二区| 日韩不卡在线观看日韩不卡视频| 国产乱码精品一区二区三区五月婷| 99国内精品久久| 久久综合九色综合欧美亚洲| 亚洲大片精品永久免费| 99精品视频中文字幕| www欧美成人18+| 日本美女一区二区| 欧美日韩亚洲综合| 一区二区三区四区在线| 国产成人亚洲综合色影视| 精品国精品国产| 午夜精品福利在线| 欧美日韩在线播放一区| 亚洲另类春色国产| 91视频一区二区| 1000部国产精品成人观看| 国产成人在线网站| 久久精品夜色噜噜亚洲a∨| 精品一区二区三区免费| 日韩欧美一区二区视频| 日日夜夜精品视频免费| 欧美老肥妇做.爰bbww| 一区二区三区视频在线观看| 91在线观看成人| 中文字幕一区二区日韩精品绯色| 国产成人午夜高潮毛片| 久久精品在线免费观看| 国产精品一级黄| 欧美激情资源网| av午夜一区麻豆| 综合欧美一区二区三区| 91浏览器在线视频| 亚洲精品第1页| 色噜噜狠狠成人中文综合| 亚洲日本护士毛茸茸| 91黄色免费版| 午夜av一区二区三区| 日韩一区二区在线看| 免费看日韩a级影片| 精品久久久久香蕉网| 国产成人一区二区精品非洲| 亚洲国产精品成人综合| aaa欧美色吧激情视频| 亚洲激情成人在线| 欧美一级日韩一级| 国产精品中文字幕欧美| 国产欧美一二三区| 欧洲一区二区av| 蜜桃视频在线一区| 欧美激情在线一区二区| 色嗨嗨av一区二区三区| 婷婷中文字幕综合| 2023国产精品| 色噜噜狠狠成人中文综合| 亚洲1区2区3区视频| 欧美精品一区二区三区四区 | 日韩国产在线观看一区| 精品久久国产字幕高潮| voyeur盗摄精品| 午夜欧美一区二区三区在线播放 | 色94色欧美sute亚洲线路一久| 亚洲成a人v欧美综合天堂| 久久免费的精品国产v∧| 色网综合在线观看| 捆绑调教美女网站视频一区| 中文字幕乱码一区二区免费| 777欧美精品| 99国产精品99久久久久久| 日本成人在线网站| 国产精品欧美一级免费| 日韩一区二区电影| 色婷婷av一区二区三区软件 | 一区二区在线观看免费| 日韩天堂在线观看| 91麻豆国产福利精品| 狠狠狠色丁香婷婷综合久久五月| 亚洲免费观看在线观看| 久久久久久久精| 91精品欧美久久久久久动漫| av电影一区二区| 国产一区二区三区不卡在线观看 | 欧美日本一区二区在线观看| 成人app软件下载大全免费| 久久成人av少妇免费| 亚洲天堂福利av| 国产婷婷色一区二区三区| 欧美日韩国产一级| 91成人免费电影| 99久久久无码国产精品| 国产成人免费高清| 精品一区二区久久| 免费观看日韩av| 亚洲国产视频在线| 亚洲男人的天堂av| 国产精品国产三级国产专播品爱网| 91麻豆精品国产91久久久| 一本到不卡精品视频在线观看| 国产suv一区二区三区88区| 老汉av免费一区二区三区 | 6080日韩午夜伦伦午夜伦| 91美女片黄在线观看91美女| 成人美女视频在线看| 国内精品写真在线观看| 日韩精品一级二级 | 国产91露脸合集magnet| 国产乱人伦偷精品视频不卡| 久久99国产精品麻豆| 日韩精品欧美精品| 亚洲va欧美va人人爽午夜| 亚洲国产一区视频| 亚洲成在线观看| 七七婷婷婷婷精品国产| 久久激情五月婷婷| 精品一区二区三区在线观看 | 日本视频在线一区| 日韩成人伦理电影在线观看| 日日夜夜精品视频天天综合网| 日韩不卡在线观看日韩不卡视频| 五月婷婷综合激情| 麻豆91免费观看| 精品一区二区三区久久久| 国产专区欧美精品| 东方欧美亚洲色图在线| 99re8在线精品视频免费播放| 91尤物视频在线观看| 欧美系列一区二区| 日韩丝袜美女视频| 中文字幕免费一区| 亚洲精品免费一二三区| 午夜激情久久久| 国产精品亚洲一区二区三区妖精| 国产成人av资源| 欧美色涩在线第一页| 日韩一级完整毛片| 国产欧美va欧美不卡在线| 亚洲精品日日夜夜| 日本中文字幕一区| 成人av网站在线观看| 欧美日本高清视频在线观看| 久久综合狠狠综合久久综合88 | 久久精品99国产精品日本| 国产成人精品一区二区三区网站观看| 成人国产精品视频| 欧美日本国产视频| 久久精品人人爽人人爽| 艳妇臀荡乳欲伦亚洲一区| 久久99久国产精品黄毛片色诱| 成人久久久精品乱码一区二区三区 | 激情文学综合网| 99精品在线观看视频| 欧美一级二级三级蜜桃| 中文字幕一区二区三区色视频| 丝袜诱惑制服诱惑色一区在线观看| 国产成人免费网站| 91精品国产一区二区三区香蕉| 国产精品久久久久三级| 日韩av一级片| 91丨国产丨九色丨pron| 日韩精品综合一本久道在线视频| 国产视频不卡一区| 伦理电影国产精品| 91久久线看在观草草青青| 久久―日本道色综合久久| 亚洲va国产天堂va久久en| 国产91丝袜在线观看| 日韩精品中文字幕一区 | 国产精品一二三四| 欧美一区二区三区思思人| 亚洲视频每日更新| 成人自拍视频在线| 日韩精品一区二区三区四区 | 欧美男男青年gay1069videost| 国产精品美女www爽爽爽| 久久精品国产免费| 在线成人免费视频| 亚洲最色的网站| 91在线精品一区二区三区| 国产精品色眯眯| 国产精品白丝av| 日韩精品自拍偷拍| 蜜乳av一区二区| 欧美一区中文字幕| 亚洲成人一区二区| 欧美日韩一区高清| 亚洲国产成人av网| 欧美日韩视频一区二区| 一区二区三区在线观看视频| 色综合视频一区二区三区高清| 中文字幕av不卡| 成人精品高清在线| 国产精品传媒入口麻豆| 99久久精品免费观看| 中文字幕在线不卡| 91麻豆.com| 亚洲电影一级黄| 91精品国产综合久久久久| 天天色天天操综合|