这是产生声明错误的代码段:
architecture sm1 of SM is
...
signal sum_1 : float (5 downto -27);
...
begin
N_PROCESS: process (N, j, CLK)
...
begin
if rising_edge(CLK) then
...
sum_1 <= to_float(0);
...
end if;
end process;
end sm1;
该错误与sum_1信号有关。有人可以解释它为什么会发生以及如何解决它?