编译错误求教

[复制链接]
1715|0
 楼主| hlhfootbal 发表于 2011-12-7 19:14 | 显示全部楼层 |阅读模式
-- I2C data read
process (ACK)
begin
      if ACK'event and ACK = '1' then
     if CLB = '0' then
      DOUT_S <= "00000000";
   else STATE = "11" then--Error (10500): VHDL syntax error at i2cs_rx.vhd(156) near text "=";  expecting "(", or "'", or "."

      DOUT_S <= SHIFTREG(7 downto 0);
   end if;
  end if;
end process;

Error (10500): VHDL syntax error at i2cs_rx.vhd(156) near text "=";  expecting "(", or "'", or "."
请问这个语句哪里出了问题。
signal STATE : std_logic_vector(1 downto 0);
您需要登录后才可以回帖 登录 | 注册

本版积分规则

133

主题

417

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部