astrophobic
Programmer
hello
i made the following programm for a seriel parity generator.
the problem is if i try to synthesize it i get the following error:
ERROR:Xst:1312 - Loop has iterated 64 times. Use "set -loop_iteration_limit XX" to iterate more.
the program:
entity paritaet_seriel is
port( D_IN, CLK: std_logic bit;
STARTBIT, STOPBIT: in boolean;
D_OUT: std_logic bit
);
end paritaet_seriel;
architecture Behavioral of paritaet_seriel is
begin
P1: process
variable PAR: boolean;
begin
wait until(CLK'event and CLK = '1');
if STARTBIT then
PAR:= false;
while not STOPBIT loop
if CLK = '1' and CLK'event then D_OUT <= D_IN;
if D_IN = '1' then PAR:= not PAR;
end if;
end if;
end loop;
end if;
if PAR then
D_OUT <= '1';
else
D_OUT <= '0';
end if;
end process P1;
end Behavioral;
i use the xilinx ise WebPack.
br tobias
i made the following programm for a seriel parity generator.
the problem is if i try to synthesize it i get the following error:
ERROR:Xst:1312 - Loop has iterated 64 times. Use "set -loop_iteration_limit XX" to iterate more.
the program:
entity paritaet_seriel is
port( D_IN, CLK: std_logic bit;
STARTBIT, STOPBIT: in boolean;
D_OUT: std_logic bit
);
end paritaet_seriel;
architecture Behavioral of paritaet_seriel is
begin
P1: process
variable PAR: boolean;
begin
wait until(CLK'event and CLK = '1');
if STARTBIT then
PAR:= false;
while not STOPBIT loop
if CLK = '1' and CLK'event then D_OUT <= D_IN;
if D_IN = '1' then PAR:= not PAR;
end if;
end if;
end loop;
end if;
if PAR then
D_OUT <= '1';
else
D_OUT <= '0';
end if;
end process P1;
end Behavioral;
i use the xilinx ise WebPack.
br tobias