导航: 老古网老古论坛XMOS公共讨论区XMOS开源项目区单片机程序设计嵌入式系统广告区域
→大虾们帮忙看看 这个怎么编译不过 不知道错在哪里

* 103283: 大虾们帮忙看看 这个怎么编译不过 不知道错在哪里

   zimiqi 
zimiqi发表的帖子 

 大虾们帮忙看看 这个怎么编译不过 不知道错在哪里
library ieee;
use ieee.std_logic_1164.all;

entity cyregister is
    port 
          (  clk : in std_logic;
            datain : in std_logic_vector( 7 downto 0 );
            dataout : out std_logic_vector( 7 downto 0 ) );
end entity cyregister ;

architecture behave of cyregister is
begin  
    cyregister_inst process ( clk )
begin
     if ( clk='1' and clk'last_value='0' and clk'event ) then
         dataout   <= datain;
         end if;
      end cyregister_inst process ;

end architecture behave;

发表时间:2007年3月12日9:56:19

  
回复该帖

本主题共有 2 帖,分页:>>>>>该主题的所有内容[2]条

 *树形目录 只列出部分跟帖的标题以及简单的摘要信息 该主题的部分跟帖如下:

  103284.[详细]帮忙
摘要:library ieee; use ieee.std_logic_1164.all;  entity cyregister is   &nb......(530字)
- [zimiqi][713次] 2007年3月12日

[上一篇帖子]:帮忙library ieee; use ieee.std_logic_1
[下一篇帖子]:Max485在收发转换时产生误码的问题我用MAX485,在收发转换时产生误码的问题,对于单机通信,在