在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 4121|回复: 4

请帮我看一看下面的并转串程序,编译不过

[复制链接]
发表于 2003-9-2 09:51:41 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
entity cuanb is
    Port ( d_in  : in std_logic_vector(7 downto 0);
           clk  : in std_logic;
           over  : inout std_logic;
           d_out : out std_logic);
end cuanb;
architecture Behavioral of cuanb is
signal  count : integer ;
signal reg : std_logic_vector ( 7  downto 0 );
signal beg : std_logic;  
begin
process
begin
wait until  clk ='1' and clk'event ;
if over = '1' then --
reg <= d_in ;
over <= '0';
end if ;
end  process;
process
begin
   wait until clk'event and clk ='1' ;
count <= 7 ;
if over = '0' then
ss : while ( count >= 0   ) loop
wait clk = '1' and clk'event ;
d_out <= reg ( 7 - count) ;
count <= count -1;

end loop ss ;
end if ;
over <= '1';
end process;
end Behavioral;
发表于 2003-9-2 10:36:00 | 显示全部楼层

请帮我看一看下面的并转串程序,编译不过

The second process includes 2 wait-clauses. So it will not work. Try to avoid it, then it will be OK.
发表于 2003-9-2 13:21:57 | 显示全部楼层

请帮我看一看下面的并转串程序,编译不过

wait语句不能综合,只作行为级描述
发表于 2003-9-2 13:28:50 | 显示全部楼层

请帮我看一看下面的并转串程序,编译不过

对啊!wait语句是不能被综合的!你可以改用always实现吗!
发表于 2014-5-6 17:39:45 | 显示全部楼层
对  在03时的综合工具不支持wait语句
目前的综合综合工具大多也不支持
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-6-19 20:36 , Processed in 0.088477 second(s), 9 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表