如果process里面改为
com:process(spe,current_state,reset)
begin
if reset'event and reset='1' then
next_state<=s3;
en<='0';
elsif current_state = s0 then en <='0';
if spe='1' then next_state<=s0;
else next_s上海注册公司tate<=s1;
end if;
elsif current_state = s1 then en <='1';
if spe='1' then next_state<=s2;
else next_state<=s1;
end if;
elsif current_state = s2 then en <='1';
if spe='1' then next_state<=s2;
else next_state<=s3;
end if;
elsif current_state = s3 then en <='0';
if spe='1' then next_state<=s0;
else next_state<=s3;
end if;
end if;
end process;
则提示
process clocking is too complex
吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖吖 |