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

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

?? control_mem_rtl.vhd

?? mc8051內(nèi)核,VHDL程序,內(nèi)有說明,超詳細(xì).
?? VHD
?? 第 1 頁 / 共 4 頁
字號:
  s_inthigh_en <= inthigh_en_i;    s_intlow_en <=  intlow_en_i;     s_intpre2_en <= intpre2_en_i;    s_inthigh_d <=  inthigh_d_i;     s_intlow_d <=   intlow_d_i;      s_intpre2_d <=  intpre2_d_i;     s_tsel <= conv_integer(tsel) when tsel < C_IMPL_N_TMR         else conv_integer(0);      -- selected timer unit is (not) implemented  s_ssel <= conv_integer(ssel) when ssel < C_IMPL_N_SIU         else conv_integer(0);      -- selected siu unit is (not) implemented      for_tmr:  for i in 0 to C_IMPL_N_TMR-1 generate    all_tcon_tr0_o(i) <= tcon(i)(4);     all_tcon_tr1_o(i) <= tcon(i)(6);       all_tmod_o((i*8)+7 downto i*8) <= std_logic_vector(tmod(i));     s_tl0(i) <= unsigned(all_tl0_i((i*8)+7 downto i*8));    s_tl1(i) <= unsigned(all_tl1_i((i*8)+7 downto i*8));    s_th0(i) <= unsigned(all_th0_i((i*8)+7 downto i*8));    s_th1(i) <= unsigned(all_th1_i((i*8)+7 downto i*8));    all_reload_o((i*8)+7 downto i*8) <= std_logic_vector(s_reload(i));    all_wt_o((i*2)+1 downto i*2) <= std_logic_vector(s_wt(i));  end generate for_tmr;  s_tf1 <= tcon(s_tsel)(7);  s_tf0 <= tcon(s_tsel)(5);  s_ie1 <= tcon(s_tsel)(3);  s_it1 <= tcon(s_tsel)(2);  s_ie0 <= tcon(s_tsel)(1);  s_it0 <= tcon(s_tsel)(0);    for_siu:  for i in 0 to C_IMPL_N_SIU-1 generate    all_scon_o((6*i)+5) <= scon(i)(0);          -- RI    all_scon_o((6*i)+4) <= scon(i)(7);          -- SM0    all_scon_o((6*i)+3) <= scon(i)(6);          -- SM1    all_scon_o((6*i)+2) <= scon(i)(5);          -- SM2    all_scon_o((6*i)+1) <= scon(i)(4);          -- REN    all_scon_o(6*i) <= scon(i)(3);              -- TB8    all_smod_o(i) <= s_smodreg(i);              -- SMOD    all_sbuf_o((8*i)+7 downto 8*i) <= std_logic_vector(sbuf(i));     s_sbufi(i) <= unsigned(all_sbuf_i((i*8)+7 downto i*8));  end generate for_siu;  s_sm0 <= scon(s_ssel)(7);  s_sm1 <= scon(s_ssel)(6);  s_sm2 <= scon(s_ssel)(5);  s_ren <= scon(s_ssel)(4);  s_tb8 <= scon(s_ssel)(3);  s_rb8 <= all_scon_i((s_ssel*3)+2);  s_ti  <= scon(s_ssel)(1);  s_ri  <= scon(s_ssel)(0);  s_smod<= s_smodreg(s_ssel);       p0_o <= std_logic_vector(p0);   p1_o <= std_logic_vector(p1);   p2_o <= std_logic_vector(p2);   p3_o <= std_logic_vector(p3);   s_p <= acc(7) xor acc(6) xor acc(5) xor acc(4) xor          acc(3) xor acc(2) xor acc(1) xor acc(0);                                     -- P should be set, if the count                                     -- of 1 in the acc is even      s_command <= rom_data_i when state=FETCH          else conv_std_logic_vector(s_ir,8);   s_rr_adr <= unsigned((psw and "00011000") or (rom_data_i                and "00000111"));     -- calculate registerdirect-adress               s_ri_adr <= ((psw and "00011000") or (s_command(7 downto 0) and "00000001"));          datax_o <= std_logic_vector(acc);  wrx_o <= wrx_mux_i;        ------------------------------------------------------------------------------ -- purpose: process to read SFR, bitadressable or normal RAM-- inputs:  s_adr,s_preadr,sp,dpl,dph,pcon,tcon,tmod,all_tl0_i,--          all_tl1_i,all_th0_i,all_th1_i,s_p0,s_p1,all_scon_i,all_sbuf_i,--          s_p2,ie,s_p3,ip,psw,acc,b,gprbit,ram_data_i-- outputs: s_reg_data, s_bit_data------------------------------------------------------------------------------    p_readram : process (s_preadr,s_p0,sp,dpl,dph,pcon,tcon,tmod,s_p1,scon,s_p2,                       ie,s_p3,ip,psw,acc,b,gprbit,ram_data_i,s_r0_b0,s_r1_b0,                       s_r0_b1,s_r1_b1,s_r0_b2,s_r1_b2,s_r0_b3,s_r1_b3,                       s_smod,s_sm0,s_sm1,s_sm2,s_ren,s_tb8,s_rb8,s_ti,s_ri,                       s_sbufi,s_th1,s_th0,s_ssel,s_tsel,s_tl1,s_tl0,		       ssel,tsel)   begin      if s_preadr(7)='1' then       case conv_integer(s_preadr) is         -- read one byte of a SFR              when 16#80# => s_reg_data <= unsigned(s_p0);              when 16#81# => s_reg_data <= sp;             when 16#82# => s_reg_data <= dpl;             when 16#83# => s_reg_data <= dph;             when 16#87# =>               s_reg_data(7) <= s_smod;              s_reg_data(6 downto 4) <= "000";              s_reg_data(3 downto 0) <= pcon;            when 16#88# => s_reg_data <= unsigned(tcon(s_tsel));            when 16#89# => s_reg_data <= unsigned(tmod(s_tsel));            when 16#8A# => s_reg_data <= s_tl0(s_tsel);            when 16#8B# => s_reg_data <= s_tl1(s_tsel);            when 16#8C# => s_reg_data <= s_th0(s_tsel);            when 16#8D# => s_reg_data <= s_th1(s_tsel);            when 16#8E# => s_reg_data <= tsel;                         when 16#90# => s_reg_data <= unsigned(s_p1);             when 16#98# =>               s_reg_data(0) <= s_ri;    -- from SCON register               s_reg_data(1) <= s_ti;    -- from SCON register                              s_reg_data(2) <= s_rb8;   -- read extern input!!!               s_reg_data(3) <= s_tb8;                 s_reg_data(4) <= s_ren;                 s_reg_data(5) <= s_sm2;                 s_reg_data(6) <= s_sm1;                 s_reg_data(7) <= s_sm0;               when 16#99# => s_reg_data <= s_sbufi(s_ssel);            when 16#9A# => s_reg_data <= ssel;             when 16#A0# => s_reg_data <= unsigned(s_p2);             when 16#A8# => s_reg_data <= unsigned(ie);            when 16#B0# => s_reg_data <= unsigned(s_p3);             when 16#B8# => s_reg_data <= unsigned(ip);            when 16#D0# => s_reg_data <= unsigned(psw);            when 16#E0# => s_reg_data <= acc;             when 16#F0# => s_reg_data <= b;                 when others => s_reg_data <= conv_unsigned(0,8);           end case;                                  -- read one byte to bitadressable GPR     elsif conv_std_logic_vector(s_preadr(7 downto 4),4)="0010" then               s_reg_data <= gprbit(conv_integer(s_preadr(3 downto 0)));                   elsif conv_std_logic_vector(s_preadr,8)="00000000" then            s_reg_data <= s_r0_b0;     -- read R0 / Bank 0    elsif conv_std_logic_vector(s_preadr,8)="00000001" then            s_reg_data <= s_r1_b0;     -- read R1 / Bank 0    elsif conv_std_logic_vector(s_preadr,8)="00001000" then            s_reg_data <= s_r0_b1;     -- read R0 / Bank 1    elsif conv_std_logic_vector(s_preadr,8)="00001001" then            s_reg_data <= s_r1_b1;     -- read R1 / Bank 1    elsif conv_std_logic_vector(s_preadr,8)="00010000" then            s_reg_data <= s_r0_b2;     -- read R0 / Bank 2    elsif conv_std_logic_vector(s_preadr,8)="00010001" then            s_reg_data <= s_r1_b2;     -- read R1 / Bank 2    elsif conv_std_logic_vector(s_preadr,8)="00011000" then            s_reg_data <= s_r0_b3;     -- read R0 / Bank 3    elsif conv_std_logic_vector(s_preadr,8)="00011001" then            s_reg_data <= s_r1_b3;     -- read R1 / Bank 3         else                               -- read on general purpose RAM             s_reg_data <= unsigned(ram_data_i);     end if;     if s_preadr(7)='1' then       case s_preadr(6 downto 3) is    -- read only one bit from a SFR         when "0000" => s_bit_data <= s_p0(conv_integer(s_preadr(2 downto 0)));         when "0001" =>           s_bit_data <= tcon(s_tsel)(conv_integer(s_preadr(2 downto 0)));         when "0010" => s_bit_data <= s_p1(conv_integer(s_preadr(2 downto 0)));         when "0011" =>           if conv_integer(s_preadr(2 downto 0))=2 then             s_bit_data <= s_rb8;           else             s_bit_data <= scon(s_ssel)(conv_integer(s_preadr(2 downto 0)));           end if;         when "0100" => s_bit_data <= s_p2(conv_integer(s_preadr(2 downto 0)));         when "0101" => s_bit_data <= ie(conv_integer(s_preadr(2 downto 0)));         when "0110" => s_bit_data <= s_p3(conv_integer(s_preadr(2 downto 0)));         when "0111" => s_bit_data <= ip(conv_integer(s_preadr(2 downto 0)));         when "1010" => s_bit_data <= psw(conv_integer(s_preadr(2 downto 0)));         when "1100" => s_bit_data <= acc(conv_integer(s_preadr(2 downto 0)));         when "1110" => s_bit_data <= b(conv_integer(s_preadr(2 downto 0)));         when others => s_bit_data <= '0';       end case;     else                               -- read one bit from bitadressable GP             s_bit_data <= gprbit(conv_integer(s_preadr(6 downto 3)))                           (conv_integer(s_preadr(2 downto 0)));      end if;             end process p_readram; ------------------------------------------------------------------------------ -- detect the rising/falling edge of interupt-sources------------------------------------------------------------------------------ for_intext_edge:  for i in 0 to C_IMPL_N_EXT-1 generate    -- falling edge of int0_i    s_int0_edge(i) <= not s_int0_h2(i) and s_int0_h3(i);    -- falling edge of int1_i    s_int1_edge(i) <= not s_int1_h2(i) and s_int1_h3(i);  end generate for_intext_edge;    for_tf_edge:         for i in 0 to C_IMPL_N_TMR-1 generate    -- on rising edge of tf0_i    s_tf0_edge(i) <= s_tf0_h1(i) and not s_tf0_h2(i);    -- on rising edge of tf1_i    s_tf1_edge(i) <= s_tf1_h1(i) and not s_tf1_h2(i);  end generate for_tf_edge;    for_siu_edge:         for i in 0 to C_IMPL_N_SIU-1 generate    -- on rising edge of RI    s_ri_edge(i) <= s_ri_h1(i) and not s_ri_h2(i);    -- on rising edge of TI    s_ti_edge(i) <= s_ti_h1(i) and not s_ti_h2(i);  end generate for_siu_edge;    ------------------------------------------------------------------------------ -- purpose: write some help-regs for detecting the falling/rising edge--          of interupt-sources-- inputs:  clk,reset,int0_i,int1_i,all_tf0_i,all_tf1_i,all_scon_i,--          s_tf0_h1,s_tf1_h1,s_ri_h1,s_ti_h1 -- outputs: s_int0_h1,s_int0_h2,s_int0_h3,s_int1_h1,s_int1_h2,s_int1_h3,--          s_tf0_h1,s_tf0_h2--          s_tf1_h1,s_tf1_h2,s_ri_h1,s_ri_h2,s_ti_h1,s_ti_h2------------------------------------------------------------------------------       iep: process (clk,reset)    begin  -- process iep         -- activities triggered by asynchronous reset     if reset = '1' then       s_int0_h1 <= (others => '1');       s_int0_h2 <= (others => '1');       s_int0_h3 <= (others => '1');       s_int1_h1 <= (others => '1');       s_int1_h2 <= (others => '1');       s_int1_h3 <= (others => '1');       s_tf0_h1 <= (others => '0');       s_tf0_h2 <= (others => '0');       s_tf1_h1 <= (others => '0');       s_tf1_h2 <= (others => '0');       s_ri_h1 <= (others => '0');       s_ri_h2 <= (others => '0');       s_ti_h1 <= (others => '0');       s_ti_h2 <= (others => '0');     -- activities triggered by rising edge of clock     elsif clk'event and clk = '1' then       for i in 0 to C_IMPL_N_EXT-1 loop        s_int0_h1(i) <= int0_i(i);              -- external INT0         s_int0_h2(i) <= s_int0_h1(i);         s_int0_h3(i) <= s_int0_h2(i);         s_int1_h1(i) <= int1_i(i);              -- external INT1         s_int1_h2(i) <= s_int1_h1(i);        s_int1_h3(i) <= s_int1_h2(i);      end loop;       for i in 0 to C_IMPL_N_TMR-1 loop        s_tf0_h1(i) <= all_tf0_i(i);          -- TF0 flags         s_tf0_h2(i) <= s_tf0_h1(i);         s_tf1_h1(i) <= all_tf1_i(i);          -- TF1 flags         s_tf1_h2(i) <= s_tf1_h1(i);              -- all_xxx is a std_logic_vector, s_xxx is a array of std_logic !!!      end loop;      for i in 0 to C_IMPL_N_SIU-1 loop        s_ri_h1(i) <= all_scon_i(i*3);        -- RI flag        s_ri_h2(i) <= s_ri_h1(i);         s_ti_h1(i) <= all_scon_i((i*3)+1);    -- TI flag         s_ti_h2(i) <= s_ti_h1(i);              -- all_xxx is a std_logic_vector, s_xxx is a array of std_logic !!!      end loop;    end if;   end process iep;  

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆精品视频在线观看免费 | 波多野结衣精品在线| 国产清纯在线一区二区www| 69久久99精品久久久久婷婷 | 日本不卡一区二区三区| 国产精品视频线看| 日韩你懂的在线播放| 欧美综合久久久| 91毛片在线观看| 欧美亚洲自拍偷拍| 免费在线观看视频一区| 三级一区在线视频先锋| 亚洲美女在线国产| 亚洲男同性恋视频| 夜夜精品浪潮av一区二区三区| 亚洲视频免费看| 亚洲愉拍自拍另类高清精品| 国产精品高潮呻吟| 国产精品美日韩| 亚洲一区二区三区小说| 亚洲va韩国va欧美va| 亚洲一区二区三区免费视频| 亚洲h在线观看| 婷婷国产在线综合| 免费观看日韩电影| 国产成人精品三级麻豆| 91片黄在线观看| 91免费视频网址| 欧美顶级少妇做爰| 欧美国产欧美亚州国产日韩mv天天看完整| 欧美国产综合色视频| 亚洲国产精品成人综合色在线婷婷 | 91麻豆精品国产91| 欧美日韩精品专区| 日韩免费观看高清完整版| 久久免费视频一区| 亚洲一区二区在线免费观看视频| 免费观看久久久4p| 成人av片在线观看| 欧美成人猛片aaaaaaa| 亚洲啪啪综合av一区二区三区| 粉嫩蜜臀av国产精品网站| av日韩在线网站| 欧美岛国在线观看| 亚洲人成伊人成综合网小说| 久草中文综合在线| 欧美性猛交一区二区三区精品| 久久日一线二线三线suv| 肉丝袜脚交视频一区二区| 国产不卡免费视频| 精品动漫一区二区三区在线观看| 一区二区三区中文免费| 国产尤物一区二区| 欧美一区二区三区喷汁尤物| 亚洲综合丝袜美腿| 99精品热视频| 亚洲欧美日韩中文字幕一区二区三区 | 久久精品久久久精品美女| 色999日韩国产欧美一区二区| 国产色一区二区| 国精产品一区一区三区mba视频 | 国产精品天美传媒| 美女视频网站久久| 日韩欧美国产午夜精品| 天堂在线一区二区| 日韩片之四级片| 国产在线精品国自产拍免费| 国产日韩精品一区二区浪潮av| 国产.精品.日韩.另类.中文.在线.播放 | 国产欧美日韩亚州综合| 日韩av电影免费观看高清完整版 | 美腿丝袜一区二区三区| 精品国精品国产| 国产精品88888| 精品国免费一区二区三区| 国产麻豆视频精品| 亚洲少妇30p| 69久久夜色精品国产69蝌蚪网| 日韩精品电影在线| 久久婷婷成人综合色| 91麻豆精品视频| 日韩av中文字幕一区二区三区| 精品卡一卡二卡三卡四在线| 日本va欧美va精品发布| 久久久久久免费毛片精品| gogo大胆日本视频一区| 午夜影视日本亚洲欧洲精品| 久久夜色精品国产欧美乱极品| 不卡av在线网| 久久99精品国产麻豆婷婷洗澡| 国产精品视频一区二区三区不卡| 欧美日韩成人激情| 成人精品免费看| 久久99久国产精品黄毛片色诱| 国产精品美女久久久久久| 91女人视频在线观看| 精品亚洲成a人在线观看| 亚洲人123区| 国产精品网站一区| 欧美一级理论性理论a| 不卡av在线免费观看| 麻豆专区一区二区三区四区五区| 中文字幕永久在线不卡| 久久婷婷色综合| 91精品福利在线一区二区三区| 91首页免费视频| 国产成人aaaa| 国产一区不卡精品| 免费成人美女在线观看.| 一区二区三区视频在线看| 久久先锋影音av| 日韩一级在线观看| 欧美一区二区在线视频| 欧洲亚洲国产日韩| 色94色欧美sute亚洲线路一ni| 国产成人自拍网| 高清不卡一区二区在线| 国产成人精品网址| 国产很黄免费观看久久| 激情av综合网| 国产在线视频一区二区| 国产美女主播视频一区| 粉嫩av一区二区三区在线播放| 国产盗摄一区二区三区| 丰满白嫩尤物一区二区| 一本到三区不卡视频| 久国产精品韩国三级视频| 国产91精品在线观看| 成人黄色一级视频| 欧美日韩精品欧美日韩精品一综合| 欧美三级三级三级| 日韩免费福利电影在线观看| 国产婷婷色一区二区三区在线| 欧美不卡视频一区| 国产精品乱人伦| 亚洲福利视频三区| 喷水一区二区三区| 成人黄色软件下载| 宅男在线国产精品| 最近日韩中文字幕| 麻豆国产精品一区二区三区| 成人av免费在线观看| 日韩欧美国产三级| 日韩一区欧美一区| 激情成人午夜视频| 欧美精品久久99| 国产精品久久免费看| 日韩va亚洲va欧美va久久| 99在线视频精品| 国产调教视频一区| 另类小说欧美激情| 欧美精品18+| 亚洲国产cao| 99re成人精品视频| 久久女同精品一区二区| 日韩国产欧美在线视频| 一本大道久久精品懂色aⅴ| 久久久精品日韩欧美| 麻豆专区一区二区三区四区五区| 欧美视频三区在线播放| av在线不卡免费看| 在线观看一区二区视频| 亚洲色图欧美偷拍| 欧美一区三区四区| 国产精品69毛片高清亚洲| 亚洲欧美另类久久久精品2019| 成人综合日日夜夜| 综合激情成人伊人| 欧美无砖专区一中文字| 亚洲夂夂婷婷色拍ww47| 欧美伊人久久大香线蕉综合69| 一区二区三区高清不卡| 日本福利一区二区| 午夜欧美视频在线观看| 91精品啪在线观看国产60岁| 精久久久久久久久久久| 日韩久久久精品| 国产成人av一区二区| 一区二区三区四区精品在线视频 | 亚洲欧美激情插| 日韩一二三四区| 9色porny自拍视频一区二区| 亚洲成a天堂v人片| 国产亚洲女人久久久久毛片| 91美女在线看| 美美哒免费高清在线观看视频一区二区 | 91精品国产综合久久精品性色| 国产激情91久久精品导航| 亚洲欧美视频在线观看视频| 91精品综合久久久久久| 国产成人精品亚洲午夜麻豆| 午夜不卡av在线| 夜夜嗨av一区二区三区中文字幕| 精品美女一区二区| 欧美一区二区三区免费大片| 国产在线一区观看| 亚洲大片精品永久免费| 国产欧美一区二区精品性色| 色av一区二区| 91精品91久久久中77777|