保存桌面快捷方式 - - 设为首页 - 手机版
凹丫丫旗下网站:四字成语大全 - 故事大全 - 范文大全
您现在的位置: 范文大全 >> 理工论文 >> 电子通信论文 >> 正文

简易通用型PCI接口的VHDL-CPLD设计


te<=s0;
  
  ELSIFfalling-edge(clk)THEN
  
  CASEstateIS
  
  WHENs0=>
  
  IFframe='1'ANDirdy='1'THENstate<=s0;
  
  ELSIFframe='0'ANDirdy='1'THENstate<=s1;
  
  ENDIF;
  
  WHENs1=>
  
  IFcs_map='1'OR(read='1'ANDwrite='1')
  
  THENstate<=s0;
  
  ELSIFirdy='1'ANDread='0'THENstate<=s2;
  
  ELSIFframe='0'ANDirdy='0'ANDwrite='0'
  
  THENstate<=s3;
  
  ELSIFframe='1'ANDirdy='0'ANDwrite='0'
  
  THENstate<=s4;
  
  ENDIF;
  
  WHENs2=>
  
  IFframe='1'ANDirdy='1'THENstate<=s0;
  
  ELSIFframe='0'ANDirdy='0'ANDread='0'
  
  THENstate<=s3;
  
  ELSIFframe='1'ANDirdy='0'ANDread='0'
  
  THENstate<=s4;
  
  ENDIF;
  
  WHENs3=>
  
  IFframe='1'ANDirdy='1'THENstate<=s0;
  
  ELSIFframe='0'ANDirdy='1'THENsta
  
  
  
  te<=s5;
  
  ELSIFframe='1'ANDirdy='0'THENstate<=s4;
  
  ELSIFframe='0'ANDirdy='1'THENstate<=s3;
  
  ENDIF;
  
  WHENs4=>
  
  ELSIFframe='1'ANDirdy='0'THENstate<=s4;
  
  ENDIF;
  
  WHENs5=>
  
  IFframe='1'ANDirdy='1'THENstate<=s0;
  
  ELSIFframe='0'ANDirdy='0'THENstate<=s3;
  
  ELSIFframe='1'ANDirdy='0'THENstate<=s4;
  
  ELSEstate<=s5;
  
  ENDIF;
  
  WHENOTHERS=>state<=s0;
  
  ENDCASE;
  
  ENDIF;
  
  ENDPROCESSstate_ch

《简易通用型PCI接口的VHDL-CPLD设计(第4页)》
本文链接地址:http://www.oyaya.net/fanwen/view/169506.html

★温馨提示:你可以返回到 电子通信论文 也可以利用本站页顶的站内搜索功能查找你想要的文章。