各位大人们:下面的程序是我找的一个用来熟悉quartusII的,在仿真的时候总要出错: Error: Can't continue simulation because delay annotation information for design is missing 请高手们指点一下,把时序约束说一下. library ieee; use ieee.std_logic_1164.all; entity air_conditioner is port(clk ,temp_high,temp_low:in std_logic; heat,cool: out std_logic); end air_conditioner; architecture style of air_conditioner is type state is(just_right,too_cold,too_hot); signal now_state,next_state: state; begin process(now_state,temp_high,temp_low) begin case now_state is when just_right=>heat<='0';cool<='0'; if(temp_low='1') then next_state<=too_cold; elsif(temp_high='1') then next_state<=too_hot; else next_state<=just_right; end if; when too_cold=>heat<='1' ;cool<='0'; if(temp_low='1') then next_state<=too_cold; elsif(temp_high='1') then next_state<=too_hot; else next_state<=just_right; end if; when too_hot=>heat<='0' ;cool<='1'; if(temp_low='1') then next_state<=too_cold; elsif(temp_high='1') then next_state<=too_hot; else next_state<=just_right; end if; end case; end process; process(clk) begin if(clk'event and clk='1') then now_state<=next_state; end if; end process; end style; |