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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? can_acf.vhd

?? 一個(gè)基于can_bus的虛擬程序
?? VHD
字號(hào):
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all; 


entity can_acf is
 port ( 
       clk:                    in std_logic;
       rst:                    in std_logic;
       id:                     in std_logic_vector(28 downto 0);
       reset_mode:             in std_logic;
       acceptance_filter_mode: in std_logic;
       extended_mode:          in std_logic;

       acceptance_code_0: in std_logic_vector(7 downto 0);
       acceptance_code_1: in std_logic_vector(7 downto 0);
       acceptance_code_2: in std_logic_vector(7 downto 0);
       acceptance_code_3: in std_logic_vector(7 downto 0);
       acceptance_mask_0: in std_logic_vector(7 downto 0);
       acceptance_mask_1: in std_logic_vector(7 downto 0);
       acceptance_mask_2: in std_logic_vector(7 downto 0);
       acceptance_mask_3: in std_logic_vector(7 downto 0);
      
       go_rx_crc_lim:     in std_logic;
       go_rx_inter:       in std_logic;
       go_error_frame:    in std_logic;
       data0:             in std_logic_vector(7 downto 0);
       data1:             in std_logic_vector(7 downto 0);
       rtr1:              in std_logic;
       rtr2:              in std_logic;
       ide:               in std_logic;
       no_byte0:          in std_logic;
       no_byte1:          in std_logic;

       id_ok:             out std_logic);
end can_acf;

architecture RTL of can_acf is

signal   match:        std_logic;
signal   match_sf_std: std_logic;
signal   match_sf_ext: std_logic;
signal   match_df_std: std_logic;
signal   match_df_ext: std_logic;       

type   fifo is array(7 downto 0) of std_logic_vector(7 downto 0);
signal FIF: fifo;
constant Tp: time := 1 ns;

begin

match  <= '1' when ((id(3)  = (acceptance_code_0(0) or acceptance_mask_0(0)) ) and
                    (id(4)  = (acceptance_code_0(1) or acceptance_mask_0(1)) ) and
                    (id(5)  = (acceptance_code_0(2) or acceptance_mask_0(2)) ) and
                    (id(6)  = (acceptance_code_0(3) or acceptance_mask_0(3)) ) and
                    (id(7)  = (acceptance_code_0(4) or acceptance_mask_0(4)) ) and
                    (id(8)  = (acceptance_code_0(5) or acceptance_mask_0(5)) ) and
                    (id(9)  = (acceptance_code_0(6) or acceptance_mask_0(6)) ) and
                    (id(10) = (acceptance_code_0(7) or acceptance_mask_0(7)) ))else '0';


match_sf_std <=  '1' when ( (id(3)  = (acceptance_code_0(0) or acceptance_mask_0(0)) ) and
                            (id(4)  = (acceptance_code_0(1) or acceptance_mask_0(1)) ) and
                            (id(5)  = (acceptance_code_0(2) or acceptance_mask_0(2)) ) and
                            (id(6)  = (acceptance_code_0(3) or acceptance_mask_0(3)) ) and
                            (id(7)  = (acceptance_code_0(4) or acceptance_mask_0(4)) ) and
                            (id(8)  = (acceptance_code_0(5) or acceptance_mask_0(5)) ) and
                            (id(9)  = (acceptance_code_0(6) or acceptance_mask_0(6)) ) and
                            (id(10) = (acceptance_code_0(7) or acceptance_mask_0(7)) ) and

                            (rtr1   = (acceptance_code_1(4) or acceptance_mask_1(4)) ) and
                            (id(0)  = (acceptance_code_1(5) or acceptance_mask_1(5)) ) and
                            (id(1)  = (acceptance_code_1(6) or acceptance_mask_1(6)) ) and
                            (id(2)  = (acceptance_code_1(7) or acceptance_mask_1(7)) ) and

                            (data0(0)  = (acceptance_code_2(0) or acceptance_mask_2(0) or no_byte0)) and
                            (data0(1)  = (acceptance_code_2(1) or acceptance_mask_2(1) or no_byte0)) and
                            (data0(2)  = (acceptance_code_2(2) or acceptance_mask_2(2) or no_byte0)) and
                            (data0(3)  = (acceptance_code_2(3) or acceptance_mask_2(3) or no_byte0)) and
                            (data0(4)  = (acceptance_code_2(4) or acceptance_mask_2(4) or no_byte0)) and
                            (data0(5)  = (acceptance_code_2(5) or acceptance_mask_2(5) or no_byte0)) and
                            (data0(6)  = (acceptance_code_2(6) or acceptance_mask_2(6) or no_byte0)) and
                            (data0(7)  = (acceptance_code_2(7) or acceptance_mask_2(7) or no_byte0)) and

                            (data1(0)  = (acceptance_code_3(0) or acceptance_mask_3(0) or no_byte1)) and 
                            (data1(1)  = (acceptance_code_3(1) or acceptance_mask_3(1) or no_byte1)) and
                            (data1(2)  = (acceptance_code_3(2) or acceptance_mask_3(2) or no_byte1)) and
                            (data1(3)  = (acceptance_code_3(3) or acceptance_mask_3(3) or no_byte1)) and
                            (data1(4)  = (acceptance_code_3(4) or acceptance_mask_3(4) or no_byte1)) and
                            (data1(5)  = (acceptance_code_3(5) or acceptance_mask_3(5) or no_byte1)) and
                            (data1(6)  = (acceptance_code_3(6) or acceptance_mask_3(6) or no_byte1)) and
                            (data1(7)  = (acceptance_code_3(7) or acceptance_mask_3(7) or no_byte1))
                           )else '0';

match_sf_ext <= '1' when ( (id(21)  = (acceptance_code_0(0) or acceptance_mask_0(0)) ) and
                           (id(22)  = (acceptance_code_0(1) or acceptance_mask_0(1)) ) and
                           (id(23)  = (acceptance_code_0(2) or acceptance_mask_0(2)) ) and
                           (id(24)  = (acceptance_code_0(3) or acceptance_mask_0(3)) ) and
                           (id(25)  = (acceptance_code_0(4) or acceptance_mask_0(4)) ) and
                           (id(26)  = (acceptance_code_0(5) or acceptance_mask_0(5)) ) and
                           (id(27)  = (acceptance_code_0(6) or acceptance_mask_0(6)) ) and
                           (id(28)  = (acceptance_code_0(7) or acceptance_mask_0(7)) ) and

                           (id(13)  = (acceptance_code_1(0) or acceptance_mask_1(0)) ) and
                           (id(14)  = (acceptance_code_1(1) or acceptance_mask_1(1)) ) and
                           (id(15)  = (acceptance_code_1(2) or acceptance_mask_1(2)) ) and
                           (id(16)  = (acceptance_code_1(3) or acceptance_mask_1(3)) ) and
                           (id(17)  = (acceptance_code_1(4) or acceptance_mask_1(4)) ) and
                           (id(18)  = (acceptance_code_1(5) or acceptance_mask_1(5)) ) and
                           (id(19)  = (acceptance_code_1(6) or acceptance_mask_1(6)) ) and
                           (id(20)  = (acceptance_code_1(7) or acceptance_mask_1(7)) ) and

                           (id(5)  = (acceptance_code_2(0) or acceptance_mask_2(0)) ) and
                           (id(6)  = (acceptance_code_2(1) or acceptance_mask_2(1)) ) and
                           (id(7)  = (acceptance_code_2(2) or acceptance_mask_2(2)) ) and
                           (id(8)  = (acceptance_code_2(3) or acceptance_mask_2(3)) ) and
                           (id(9)  = (acceptance_code_2(4) or acceptance_mask_2(4)) ) and
                           (id(10) = (acceptance_code_2(5) or acceptance_mask_2(5)) ) and
                           (id(11) = (acceptance_code_2(6) or acceptance_mask_2(6)) ) and
                           (id(12) = (acceptance_code_2(7) or acceptance_mask_2(7)) ) and
 
                           (rtr2   = (acceptance_code_3(2) or acceptance_mask_3(2)) ) and
                           (id(0)  = (acceptance_code_3(3) or acceptance_mask_3(3)) ) and
                           (id(1)  = (acceptance_code_3(4) or acceptance_mask_3(4)) ) and
                           (id(2)  = (acceptance_code_3(5) or acceptance_mask_3(5)) ) and
                           (id(3)  = (acceptance_code_3(6) or acceptance_mask_3(6)) ) and
                           (id(4)  = (acceptance_code_3(7) or acceptance_mask_3(7)) )

                         )else '0';


match_df_std <= '1' when (((id(3)  = (acceptance_code_0(0) or acceptance_mask_0(0)) ) and
                           (id(4)  = (acceptance_code_0(1) or acceptance_mask_0(1)) ) and
                           (id(5)  = (acceptance_code_0(2) or acceptance_mask_0(2)) ) and
                           (id(6)  = (acceptance_code_0(3) or acceptance_mask_0(3)) ) and
                           (id(7)  = (acceptance_code_0(4) or acceptance_mask_0(4)) ) and
                           (id(8)  = (acceptance_code_0(5) or acceptance_mask_0(5)) ) and
                           (id(9)  = (acceptance_code_0(6) or acceptance_mask_0(6)) ) and
                           (id(10) = (acceptance_code_0(7) or acceptance_mask_0(7)) ) and

                           (rtr1   = (acceptance_code_1(4) or acceptance_mask_1(4)) ) and
                           (id(0)  = (acceptance_code_1(5) or acceptance_mask_1(5)) ) and
                           (id(1)  = (acceptance_code_1(6) or acceptance_mask_1(6)) ) and
                           (id(2)  = (acceptance_code_1(7) or acceptance_mask_1(7)) ) and

                           (data0(0) = (acceptance_code_3(0) or acceptance_mask_3(0) or no_byte0)) and
                           (data0(1) = (acceptance_code_3(1) or acceptance_mask_3(1) or no_byte0)) and
                           (data0(2) = (acceptance_code_3(2) or acceptance_mask_3(2) or no_byte0)) and
                           (data0(3) = (acceptance_code_3(3) or acceptance_mask_3(3) or no_byte0)) and
                           (data0(4) = (acceptance_code_1(4) or acceptance_mask_1(4) or no_byte0)) and
                           (data0(5) = (acceptance_code_1(5) or acceptance_mask_1(5) or no_byte0)) and
                           (data0(6) = (acceptance_code_1(6) or acceptance_mask_1(6) or no_byte0)) and
                           (data0(7) = (acceptance_code_1(7) or acceptance_mask_1(7) or no_byte0)) )
                        
                       or

                          ((id(3)  = (acceptance_code_2(0) or acceptance_mask_2(0)) ) and
                           (id(4)  = (acceptance_code_2(1) or acceptance_mask_2(1)) ) and
                           (id(5)  = (acceptance_code_2(2) or acceptance_mask_2(2)) ) and
                           (id(6)  = (acceptance_code_2(3) or acceptance_mask_2(3)) ) and
                           (id(7)  = (acceptance_code_2(4) or acceptance_mask_2(4)) ) and
                           (id(8)  = (acceptance_code_2(5) or acceptance_mask_2(5)) ) and
                           (id(9)  = (acceptance_code_2(6) or acceptance_mask_2(6)) ) and
                           (id(10) = (acceptance_code_2(7) or acceptance_mask_2(7)) ) and
 
                           (rtr1   = (acceptance_code_3(4) or acceptance_mask_3(4)) ) and
                           (id(0)  = (acceptance_code_3(5) or acceptance_mask_3(5)) ) and
                           (id(1)  = (acceptance_code_3(6) or acceptance_mask_3(6)) ) and
                           (id(2)  = (acceptance_code_3(7) or acceptance_mask_3(7)) ) )

                          )else '0';



match_df_ext <= '1' when (((id(21)  = (acceptance_code_0(0) or acceptance_mask_0(0)) ) and
                           (id(22)  = (acceptance_code_0(1) or acceptance_mask_0(1)) ) and
                           (id(23)  = (acceptance_code_0(2) or acceptance_mask_0(2)) ) and
                           (id(24)  = (acceptance_code_0(3) or acceptance_mask_0(3)) ) and
                           (id(25)  = (acceptance_code_0(4) or acceptance_mask_0(4)) ) and
                           (id(26)  = (acceptance_code_0(5) or acceptance_mask_0(5)) ) and
                           (id(27)  = (acceptance_code_0(6) or acceptance_mask_0(6)) ) and
                           (id(28)  = (acceptance_code_0(7) or acceptance_mask_0(7)) ) and

                           (id(13)  = (acceptance_code_1(0) or acceptance_mask_1(0)) ) and
                           (id(14)  = (acceptance_code_1(1) or acceptance_mask_1(1)) ) and
                           (id(15)  = (acceptance_code_1(2) or acceptance_mask_1(2)) ) and
                           (id(16)  = (acceptance_code_1(3) or acceptance_mask_1(3)) ) and
                           (id(17)  = (acceptance_code_1(4) or acceptance_mask_1(4)) ) and
                           (id(18)  = (acceptance_code_1(5) or acceptance_mask_1(5)) ) and
                           (id(19)  = (acceptance_code_1(6) or acceptance_mask_1(6)) ) and
                           (id(20)  = (acceptance_code_1(7) or acceptance_mask_1(7)) ) )
                        
                       or
                        
                          ((id(21)  = (acceptance_code_2(0) or acceptance_mask_2(0)) ) and
                           (id(22)  = (acceptance_code_2(1) or acceptance_mask_2(1)) ) and
                           (id(23)  = (acceptance_code_2(2) or acceptance_mask_2(2)) ) and
                           (id(24)  = (acceptance_code_2(3) or acceptance_mask_2(3)) ) and
                           (id(25)  = (acceptance_code_2(4) or acceptance_mask_2(4)) ) and
                           (id(26)  = (acceptance_code_2(5) or acceptance_mask_2(5)) ) and
                           (id(27)  = (acceptance_code_2(6) or acceptance_mask_2(6)) ) and
                           (id(28)  = (acceptance_code_2(7) or acceptance_mask_2(7)) ) and

                           (id(13)  = (acceptance_code_3(0) or acceptance_mask_3(0)) ) and
                           (id(14)  = (acceptance_code_3(1) or acceptance_mask_3(1)) ) and
                           (id(15)  = (acceptance_code_3(2) or acceptance_mask_3(2)) ) and
                           (id(16)  = (acceptance_code_3(3) or acceptance_mask_3(3)) ) and
                           (id(17)  = (acceptance_code_3(4) or acceptance_mask_3(4)) ) and
                           (id(18)  = (acceptance_code_3(5) or acceptance_mask_3(5)) ) and
                           (id(19)  = (acceptance_code_3(6) or acceptance_mask_3(6)) ) and
                           (id(20)  = (acceptance_code_3(7) or acceptance_mask_3(7)) ) )
                      )else '0';
                      
process(clk,rst)
begin
if(clk = '1' and clk'event) then
  if (rst = '1') then
    id_ok <= '0';
  elsif (go_rx_crc_lim = '1') then              
     if (extended_mode = '1') then
        if (acceptance_filter_mode = '1') then      
              if (ide = '1') then                      
                id_ok <= match_df_ext after Tp;
              else                          
                id_ok <= match_df_std after Tp;
              end if;           
        else                              
              if (ide = '1') then                     
                id_ok <= match_sf_ext after Tp;
              else                          
                id_ok <= match_sf_std after Tp;
              end if;
        end if;
      else      
        id_ok <= match after Tp;
     end if;
  elsif ((reset_mode = '1') or (go_rx_inter='1') or (go_error_frame='1')) then        
    id_ok <= '0' after Tp;
  end if;
end if;
end process;

end RTL;

                      




?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕乱码久久午夜不卡 | 最新欧美精品一区二区三区| 久久国产三级精品| 欧美一区二区三区免费观看视频| 亚洲狠狠爱一区二区三区| 99re热这里只有精品视频| 国产精品情趣视频| 在线精品亚洲一区二区不卡| 亚洲一区自拍偷拍| 日韩一区二区三区在线| 国产一区欧美一区| 国产精品女主播av| 欧美日韩一区二区三区在线看 | 午夜a成v人精品| 欧美一级高清大全免费观看| 麻豆一区二区三区| 国产午夜精品久久久久久免费视| 国产成人av资源| 亚洲精品你懂的| 91精品国产入口| 国产精品一区二区三区99| 国产精品区一区二区三区| 欧美三级韩国三级日本一级| 麻豆久久一区二区| 国产精品免费久久久久| 欧美日韩一区成人| 国产成人综合在线播放| 亚洲激情在线激情| 精品国产亚洲在线| 91同城在线观看| 香蕉影视欧美成人| 久久久久久久久久久黄色| 99精品视频在线观看| 日韩激情视频在线观看| 中国av一区二区三区| 欧美丰满高潮xxxx喷水动漫 | 国产999精品久久久久久| 亚洲一区二区三区小说| 国产视频亚洲色图| 欧美精品九九99久久| 国产98色在线|日韩| 青青草97国产精品免费观看 | 亚洲女与黑人做爰| 精品久久久久久久人人人人传媒| 97久久精品人人澡人人爽| 久久se这里有精品| 天天综合网天天综合色| 久久九九久久九九| 日韩一区二区免费视频| 日本高清无吗v一区| 国产 日韩 欧美大片| 日本91福利区| 亚洲综合精品自拍| 国产精品国产三级国产aⅴ原创| 7777精品伊人久久久大香线蕉经典版下载| 成人一区二区三区视频| 在线观看免费成人| av电影在线观看完整版一区二区| 老司机精品视频在线| 亚洲图片自拍偷拍| 亚洲最大成人综合| 亚洲视频一二区| 亚洲国产精品99久久久久久久久| 日韩欧美美女一区二区三区| 欧美区视频在线观看| 色综合久久66| 99国产一区二区三精品乱码| 国产精品69久久久久水密桃| 免费成人av资源网| 日本成人在线一区| 午夜精品久久久久久久久久久 | 亚洲成人av在线电影| 亚洲黄色小视频| 亚洲美女偷拍久久| 亚洲人成网站精品片在线观看| 中文字幕乱码亚洲精品一区| 国产免费久久精品| 国产欧美一区二区精品秋霞影院| 精品国产乱码久久久久久久久| 制服丝袜中文字幕亚洲| 91麻豆精品国产91久久久久久| 欧美丝袜丝交足nylons图片| 色久综合一二码| 欧美自拍偷拍一区| 欧美日韩精品一区视频| 欧美日韩视频专区在线播放| 欧美日韩国产成人在线免费| 欧美人妖巨大在线| 日韩视频中午一区| 2017欧美狠狠色| 中文字幕欧美区| 中文字幕亚洲在| 一区二区三区不卡在线观看| 一区二区三区精品| 日韩福利视频导航| 狠狠色狠狠色综合系列| 国产成人在线观看免费网站| 国产999精品久久| 在线免费av一区| 欧美一区二区三区白人 | 国产欧美精品在线观看| 国产精品毛片a∨一区二区三区| 国产精品视频第一区| 悠悠色在线精品| 七七婷婷婷婷精品国产| 国产精品一二三| 色8久久精品久久久久久蜜| 欧美日产国产精品| 久久青草国产手机看片福利盒子 | 欧美国产一区视频在线观看| 国产精品福利在线播放| 亚洲午夜久久久久久久久电影网 | 午夜视黄欧洲亚洲| 国内精品视频666| 色综合天天综合给合国产| 欧美日韩www| 国产人久久人人人人爽| 亚洲一区二区三区四区在线| 国产资源在线一区| 欧美性生活一区| 久久免费精品国产久精品久久久久| 成人免费在线视频| 麻豆精品一区二区综合av| 不卡一区二区在线| 91麻豆精品国产综合久久久久久 | 日韩精品五月天| 成人精品国产一区二区4080| 欧美日韩三级一区二区| 国产偷国产偷精品高清尤物| 亚洲成在人线在线播放| 国产成人免费在线观看不卡| 欧美日产国产精品| 最近日韩中文字幕| 国产乱人伦偷精品视频不卡| 在线视频欧美精品| 国产精品欧美一区二区三区| 男女激情视频一区| 欧美中文字幕一区二区三区亚洲| 国产亚洲人成网站| 日本欧美一区二区| 91传媒视频在线播放| 国产视频视频一区| 精品一区二区三区不卡| 欧美揉bbbbb揉bbbbb| 国产精品理论在线观看| 韩国毛片一区二区三区| 91精品福利在线一区二区三区| 亚洲欧美二区三区| 99久久久精品免费观看国产蜜| 26uuu亚洲| 麻豆精品久久精品色综合| 欧美嫩在线观看| 亚洲一区二区视频在线观看| 99久久99久久免费精品蜜臀| 国产午夜精品一区二区三区视频 | 午夜精品爽啪视频| 日本久久电影网| 国产精品久久久久久久久动漫| 经典三级一区二区| 欧美哺乳videos| 美女视频一区在线观看| 欧美少妇bbb| 亚洲一区二区三区四区不卡| 在线看不卡av| 亚洲国产精品久久不卡毛片 | 99国产欧美另类久久久精品| 国产欧美精品区一区二区三区| 久久99精品国产麻豆不卡| 日韩一级大片在线观看| 蜜桃久久久久久| 日韩精品一区二区三区视频播放| 日韩精品一二三| 欧美一级国产精品| 久久成人综合网| 26uuu亚洲综合色欧美| 国产一区二区伦理片| 久久久久久久免费视频了| 国产999精品久久久久久绿帽| 国产欧美视频在线观看| 成人免费福利片| 亚洲欧美综合另类在线卡通| 99久久免费精品| 亚洲超碰精品一区二区| 制服丝袜中文字幕亚洲| 国产原创一区二区| 国产精品久久综合| 在线一区二区三区四区| 亚洲成人福利片| 欧美成人精精品一区二区频| 国产老肥熟一区二区三区| 国产精品久久久久久久久动漫| 91久久奴性调教| 日韩 欧美一区二区三区| 久久新电视剧免费观看| 99久久综合精品| 天天影视涩香欲综合网| 日韩精品一区二区三区视频播放| 大胆亚洲人体视频| 亚洲一区二区美女| 精品国产一区二区三区久久影院|