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

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

?? mc8051_tmrctr_rtl.vhd

?? mc8051內核,VHDL程序,內有說明,超詳細.
?? VHD
?? 第 1 頁 / 共 2 頁
字號:
-- operating mode 2 (8 bit timer/counter, autoreloaded from high byte register)-------------------------------------------------------------------------------      when "10" =>                       -- This section generates the timer/counter overflow flag0        if s_tmr_ctr0_en = '1' then          if s_count_enable = '1' then               if s_c_t0 = '0' or (s_ext_edge0 = '1' and s_c_t0 = '1')  then              if s_count0(7 downto 0) = conv_unsigned(255,16) then                s_tf0 <= '1';              else                s_tf0 <= '0';              end if;            end if;          end if;        end if;                -- This section generates the low byte register of tmr/ctr0        if wt_i = "00" and wt_en_i = '1' then          s_countl0 <= unsigned(reload_i);          else          if s_tmr_ctr0_en = '1' then            if s_count_enable = '1' then                 if s_c_t0 = '0' then                if s_countl0 = conv_unsigned(255,8) then                  s_countl0 <= s_counth0;                else                  s_countl0 <= s_countl0 + conv_unsigned(1,1);                end if;              else                if s_ext_edge0 = '1' then                  if s_countl0 = conv_unsigned(255,8) then                    s_countl0 <= s_counth0;                  else                    s_countl0 <= s_countl0 + conv_unsigned(1,1);                  end if;                end if;                                end if;            end if;           end if;        end if;                -- This section generates the high byte register of tmr/ctr0        if wt_i = "10" and wt_en_i = '1' then          s_counth0 <= unsigned(reload_i);        end if;        --------------------------------------------------------------------------------- operating mode 3 (One 8 bit timer/counter and one 8 bit timer)-------------------------------------------------------------------------------      when "11" =>                   -- This section generates the timer/counter overflow flag0        if s_tmr_ctr0_en = '1' then          if s_count_enable = '1' then               if s_c_t0 = '0' or (s_ext_edge0 = '1' and s_c_t0 = '1')  then              if s_count0(7 downto 0) = conv_unsigned(255,16) then                s_tf0 <= '1';              else                s_tf0 <= '0';              end if;            end if;          end if;        end if;                -- This section generates the low byte register of tmr/ctr0        if wt_i = "00" and wt_en_i = '1' then          s_countl0 <= unsigned(reload_i);          else          if s_tmr_ctr0_en = '1' then            if s_count_enable = '1' then                 if s_c_t0 = '0' then                if s_countl0 = conv_unsigned(255,8) then                  s_countl0 <= conv_unsigned(0,8);                else                  s_countl0 <= s_countl0 + conv_unsigned(1,1);                end if;              else                if s_ext_edge0 = '1' then                  if s_countl0 = conv_unsigned(255,8) then                    s_countl0 <= conv_unsigned(0,8);                  else                    s_countl0 <= s_countl0 + conv_unsigned(1,1);                  end if;                end if;                                end if;            end if;           end if;        end if;                           -- This section generates the timer/counter overflow flag1        if tcon_tr1_i = '1' then          if s_count_enable = '1' then               if s_count0(15 downto 8) = conv_unsigned(255,8) then              s_tf1 <= '1';            else              s_tf1 <= '0';            end if;          end if;        end if;                -- This section generates the high byte register of tmr/ctr0        if wt_i = "10" and wt_en_i = '1' then          s_counth0 <= unsigned(reload_i);          else          if tcon_tr1_i = '1' then            if s_count_enable = '1' then                 if s_counth0 = conv_unsigned(255,8) then                s_counth0 <= conv_unsigned(0,8);              else                s_counth0 <= s_counth0 + conv_unsigned(1,1);              end if;            end if;           end if;        end if;              when others => null;    end case;  --------------------------------------------------------------------------------+++++++++++++++++   END OF TIMER / COUNTER 0   +++++++++++++++++++++++++++--------------------------------------------------------------------------------  --------------------------------------------------------------------------------+++++++++++++++++++++   TIMER / COUNTER 1   ++++++++++++++++++++++++++++++---------------------------------------------------------------------------------- This is timer/counter1. It is built around the 16 bit count register-- s_count1 and realises its four operating modes--------------------------------------------------------------------------------------------------------------------------------------------------------------- operating mode 0 (13 bit timer/counter)-------------------------------------------------------------------------------      case s_mode1 is        when "00" =>        -- This section generates the timer/counter overflow flag1        if s_tmr_ctr1_en = '1' then          if s_count_enable = '1' then            if s_mode0 = conv_unsigned(1,2) or               s_mode0 = conv_unsigned(0,2) or               s_mode0 = conv_unsigned(2,2) then              if s_c_t1 = '0' or (s_ext_edge1 = '1' and s_c_t1 = '1')  then                if s_count1 = conv_unsigned(8191,16) then                  s_tf1 <= '1';                else                  s_tf1 <= '0';                end if;              end if;            else              null;            end if;          end if;        end if;                -- This section generates the low byte register of tmr/ctr1        if wt_i = "01" and wt_en_i = '1' then          s_countl1 <= unsigned(reload_i);          else          if s_tmr_ctr1_en = '1' then            if s_count_enable = '1' then                 if s_c_t1 = '0' then                if s_count1 = conv_unsigned(8191,16) then                  s_countl1 <= conv_unsigned(0,8);                else                  s_countl1 <= s_countl1 + conv_unsigned(1,1);                end if;              else                if s_ext_edge1 = '1' then                  if s_count1 = conv_unsigned(8191,16) then                    s_countl1 <= conv_unsigned(0,8);                  else                    s_countl1 <= s_countl1 + conv_unsigned(1,1);                  end if;                end if;                                end if;            end if;           end if;        end if;                -- This section generates the high byte register of tmr/ctr1        if wt_i = "11" and wt_en_i = '1' then          s_counth1 <= unsigned(reload_i);          else          if s_tmr_ctr1_en = '1' then            if s_count_enable = '1' then                 if s_c_t1 = '0' then                if s_count1 = conv_unsigned(8191,16) then                  s_counth1 <= conv_unsigned(0,8);                else                  if s_countl1 = conv_unsigned(255,8) then                    s_counth1 <= s_counth1 + conv_unsigned(1,1);                  end if;                end if;              else                if s_ext_edge1 = '1' then                  if s_count1 = conv_unsigned(8191,16) then                    s_counth1 <= conv_unsigned(0,8);                  else                    if s_countl1 = conv_unsigned(255,8) then                      s_counth1 <= s_counth1 + conv_unsigned(1,1);                    end if;                  end if;                end if;                                end if;            end if;          end if;        end if;--------------------------------------------------------------------------------- operating mode 1 (16 bit timer/counter)-------------------------------------------------------------------------------        when "01" =>        -- This section generates the timer/counter overflow flag1        if s_tmr_ctr1_en = '1' then          if s_count_enable = '1' then            if s_mode0 = conv_unsigned(1,2) or               s_mode0 = conv_unsigned(0,2) or               s_mode0 = conv_unsigned(2,2) then              if s_c_t1 = '0' or (s_ext_edge1 = '1' and s_c_t1 = '1')  then                if s_count1 = conv_unsigned(65535,16) then                  s_tf1 <= '1';                else                  s_tf1 <= '0';                end if;              end if;            else              null;            end if;          end if;        end if;                -- This section generates the low byte register of tmr/ctr1        if wt_i = "01" and wt_en_i = '1' then          s_countl1 <= unsigned(reload_i);          else          if s_tmr_ctr1_en = '1' then            if s_count_enable = '1' then                 if s_c_t1 = '0' then                if s_count1 = conv_unsigned(65535,16) then                  s_countl1 <= conv_unsigned(0,8);                else                  s_countl1 <= s_countl1 + conv_unsigned(1,1);                end if;              else                if s_ext_edge1 = '1' then                  if s_count1 = conv_unsigned(65535,16) then                    s_countl1 <= conv_unsigned(0,8);                  else                    s_countl1 <= s_countl1 + conv_unsigned(1,1);                  end if;                end if;                                end if;            end if;           end if;        end if;                -- This section generates the high byte register of tmr/ctr1        if wt_i = "11" and wt_en_i = '1' then          s_counth1 <= unsigned(reload_i);          else          if s_tmr_ctr1_en = '1' then            if s_count_enable = '1' then                 if s_c_t1 = '0' then                if s_count1 = conv_unsigned(65535,16) then                  s_counth1 <= conv_unsigned(0,8);                else                  if s_countl1 = conv_unsigned(255,8) then                    s_counth1 <= s_counth1 + conv_unsigned(1,1);                  end if;                end if;              else                if s_ext_edge1 = '1' then                  if s_count1 = conv_unsigned(65535,16) then                    s_counth1 <= conv_unsigned(0,8);                  else                    if s_countl1 = conv_unsigned(255,8) then                      s_counth1 <= s_counth1 + conv_unsigned(1,1);                    end if;                  end if;                end if;                                end if;            end if;          end if;        end if;        --------------------------------------------------------------------------------- operating mode 2 (8 bit timer/counter, auto reloaded)-------------------------------------------------------------------------------        when "10" =>                       -- This section generates the timer/counter overflow flag1        if s_tmr_ctr1_en = '1' then          if s_count_enable = '1' then               if s_mode0 = conv_unsigned(1,2) or               s_mode0 = conv_unsigned(0,2) or               s_mode0 = conv_unsigned(2,2) then              if s_c_t1 = '0' or (s_ext_edge1 = '1' and s_c_t1 = '1')  then                if s_count1(7 downto 0) = conv_unsigned(255,16) then                  s_tf1 <= '1';                else                  s_tf1 <= '0';                end if;              end if;            else              null;            end if;          end if;        end if;                -- This section generates the low byte register of tmr/ctr1        if wt_i = "01" and wt_en_i = '1' then          s_countl1 <= unsigned(reload_i);          else          if s_tmr_ctr1_en = '1' then            if s_count_enable = '1' then                 if s_c_t1 = '0' then                if s_countl1 = conv_unsigned(255,8) then                  s_countl1 <= s_counth1;                else                  s_countl1 <= s_countl1 + conv_unsigned(1,1);                end if;              else                if s_ext_edge1 = '1' then                  if s_countl1 = conv_unsigned(255,8) then                    s_countl1 <= s_counth1;                  else                    s_countl1 <= s_countl1 + conv_unsigned(1,1);                  end if;                end if;                                end if;            end if;           end if;        end if;                -- This section generates the high byte register of tmr/ctr1        if wt_i = "11" and wt_en_i = '1' then          s_counth1 <= unsigned(reload_i);        end if;        --------------------------------------------------------------------------------- operating mode 3 (One 8 bit timer/counter and one 8 bit timer)-------------------------------------------------------------------------------      when "11" =>                -- This section generates the low byte register of tmr/ctr1        if wt_i = "01" and wt_en_i = '1' then          s_countl1 <= unsigned(reload_i);          end if;                -- This section generates the high byte register of tmr/ctr1        if wt_i = "11" and wt_en_i = '1' then          s_counth1 <= unsigned(reload_i);        end if;                when others => null;    end case;--------------------------------------------------------------------------------+++++++++++++++++   END OF TIMER / COUNTER 1   +++++++++++++++++++++++++++--------------------------------------------------------------------------------          end if;    end if;    end process p_tmr_ctr;  end rtl;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
视频一区二区中文字幕| 精品理论电影在线观看| 亚洲天堂精品视频| 成人av电影观看| 亚洲欧美日韩国产另类专区| 色哟哟一区二区| 亚洲香肠在线观看| 日韩一区二区免费在线电影| 黄页视频在线91| 国产精品第五页| 欧美日韩在线精品一区二区三区激情| 亚洲一区二区av在线| 日韩一区二区不卡| 粉嫩在线一区二区三区视频| 亚洲日本在线a| 在线成人午夜影院| 国产成人久久精品77777最新版本| 国产精品伦理在线| 欧美日韩色一区| 国产精品自拍在线| 亚洲精品国产无天堂网2021| 3d成人h动漫网站入口| 国产一区二区三区黄视频| 国产精品看片你懂得| 欧美日韩三级一区二区| 国产一区二区三区免费播放| 自拍偷拍国产精品| 日韩欧美在线综合网| 成人激情校园春色| 日韩精品每日更新| 中文成人综合网| 欧美精品乱码久久久久久| 国产成人在线免费观看| 亚洲国产日韩综合久久精品| 国产亚洲1区2区3区| 欧美性xxxxxxxx| 国产高清亚洲一区| 午夜精品福利久久久| 国产精品看片你懂得| 日韩情涩欧美日韩视频| 色天天综合色天天久久| 国产精品99久久不卡二区| 午夜精品一区在线观看| 最近日韩中文字幕| 精品va天堂亚洲国产| 日本韩国一区二区三区| 国产一区二区久久| 亚洲国产成人va在线观看天堂 | 在线亚洲一区观看| 黄色资源网久久资源365| 午夜精品福利久久久| 亚洲天堂久久久久久久| 国产欧美一区二区三区网站 | 国产激情精品久久久第一区二区| 亚洲成人免费看| 亚洲品质自拍视频| 亚洲国产成人自拍| 久久网站热最新地址| 欧美精品在线一区二区三区| 日本电影欧美片| 粉嫩一区二区三区在线看| 久久99精品久久久久久久久久久久 | 亚洲午夜电影在线观看| 亚洲同性同志一二三专区| 国产欧美一区二区精品婷婷| 欧美mv日韩mv| 欧美成人女星排行榜| 欧美二区乱c少妇| 欧美日韩三级视频| 欧美亚洲高清一区二区三区不卡| av动漫一区二区| 成人深夜视频在线观看| 国产不卡高清在线观看视频| 久久成人免费日本黄色| 另类小说图片综合网| 免费精品视频在线| 日本欧美韩国一区三区| 天堂影院一区二区| 日韩黄色免费电影| 日韩福利电影在线| 欧美aⅴ一区二区三区视频| 丝袜脚交一区二区| 日本不卡视频一二三区| 美女爽到高潮91| 精品一区二区三区欧美| 国产精品羞羞答答xxdd| 成人免费av资源| 色综合久久综合网| 欧美日韩亚洲另类| 欧美一区二区三区在线电影| 欧美xxxxx裸体时装秀| 久久久精品中文字幕麻豆发布| 国产欧美一区视频| 国产精品麻豆99久久久久久| 一区二区三区四区视频精品免费 | 欧美美女视频在线观看| 日韩欧美高清dvd碟片| 久久精品人人做人人爽人人| 国产精品成人在线观看| 亚洲一区在线看| 另类小说欧美激情| 成人午夜av电影| 欧美午夜在线观看| 日韩欧美亚洲国产另类| 国产精品美女久久久久久久| 一区二区三区精品| 久久电影网站中文字幕| 99re热视频精品| 91精品免费在线| 国产欧美日韩另类视频免费观看| 亚洲人精品午夜| 蜜臀久久99精品久久久久久9| 国产激情精品久久久第一区二区 | 国产.欧美.日韩| 欧日韩精品视频| 久久久另类综合| 亚洲一区二区三区自拍| 韩国女主播成人在线| 97成人超碰视| 精品国精品自拍自在线| 亚洲视频一二三| 蜜桃精品在线观看| 91在线观看美女| 欧美本精品男人aⅴ天堂| 亚洲美女区一区| 国产麻豆视频一区| 欧美三级中文字| 国产精品久久午夜| 久久成人免费电影| 日本道免费精品一区二区三区| 日韩欧美一级在线播放| 亚洲色图欧美在线| 国产综合久久久久久鬼色| 欧美日韩精品一区二区在线播放| 国产三级一区二区| 视频一区视频二区中文字幕| 成人ar影院免费观看视频| 日韩女优电影在线观看| 亚洲亚洲精品在线观看| 不卡电影免费在线播放一区| 欧美大片在线观看一区二区| 亚洲自拍偷拍图区| 91免费看片在线观看| 欧美激情一区二区| 国内精品免费**视频| 欧美一区三区二区| 天天综合色天天| 欧美三区在线观看| 亚洲精品国产精华液| 成人综合激情网| 久久亚洲影视婷婷| 捆绑调教一区二区三区| 欧美三级日韩三级国产三级| 亚洲美女少妇撒尿| 色综合久久久久综合| 中文字幕一区二区在线播放| 成人av免费在线观看| 中文字幕av在线一区二区三区| 国产精品一区在线| 国产亚洲一区二区三区在线观看| 久久狠狠亚洲综合| 欧美一区二区人人喊爽| 青青草视频一区| 欧美丰满少妇xxxxx高潮对白| 午夜久久福利影院| 在线不卡中文字幕播放| 午夜a成v人精品| 欧美日韩久久久一区| 香蕉影视欧美成人| 欧美日韩国产天堂| 日韩高清一级片| 欧美刺激脚交jootjob| 激情深爱一区二区| 国产午夜三级一区二区三| 国产精品一级黄| 欧美国产日本韩| 色悠悠亚洲一区二区| 亚洲永久免费av| 宅男在线国产精品| 奇米影视一区二区三区| 日韩精品一区二区三区在线观看 | 水野朝阳av一区二区三区| 91精品国产综合久久久久久久久久| 视频一区二区三区入口| 日韩一区二区三区四区| 黑人巨大精品欧美黑白配亚洲| 国产日韩欧美综合在线| 北岛玲一区二区三区四区| 亚洲激情中文1区| 欧美肥大bbwbbw高潮| 国产麻豆日韩欧美久久| 亚洲人午夜精品天堂一二香蕉| 欧美探花视频资源| 蜜桃视频第一区免费观看| 欧美极品少妇xxxxⅹ高跟鞋| 91亚洲精品久久久蜜桃网站| 亚洲成a人片在线不卡一二三区| 欧美成人一区二区三区在线观看| 国产成人亚洲综合色影视| 亚洲美女偷拍久久|