Entity Distance1 isport( reset,cnt100_carry:in std_logic; distance:out std_logic_vector(11 downto 0) );end Distance1;//报错的地方已经很准确了,你随便找个正确的代码比较一下就晓得!