Recibo advertencias al sintetizar el siguiente código. Probé de muchas maneras pero en vano. ¿Puede alguien sugerir qué podría haber fallado con mi código? El código es enclavar los datos cuando los valores de contador de anillo correspondientes se vuelven uno. ¡Acabo de empezar a aprender la codificación HDL! ..
entity PLowLatch is
Port (
ppOut_MUX1 : in STD_LOGIC;
ring : in STD_LOGIC_VECTOR (3 downto 0);
PlowLatch_out : out STD_LOGIC_VECTOR (3 downto 0)
);
end PLowLatch;
architecture Behavioral of PLowLatch is
begin
process (ring, ppOut_MUX1) begin
if (ring(0) = '1') then
PlowLatch_out(0) <= ppOut_MUX1;
elsif (ring(1) = '1') then
PlowLatch_out(1) <= ppOut_MUX1;
elsif (ring(2) = '1') then
PlowLatch_out(2) <= ppOut_MUX1;
elsif (ring(3) = '1') then
PlowLatch_out(3) <= ppOut_MUX1;
else
PlowLatch_out <= "0000";
end if;
end process;
end Behavioral;
A continuación se muestra la advertencia
WARNING:Xst:737 - Found 1-bit latch for signal <PlowLatch_out_0>. Latches may be generated from incomplete case or if statements. We do not recommend the use of latches in FPGA/CPLD designs, as they may lead to timing problems.
WARNING:Xst:737 - Found 1-bit latch for signal <PlowLatch_out_1>. Latches may be generated from incomplete case or if statements. We do not recommend the use of latches in FPGA/CPLD designs, as they may lead to timing problems.
WARNING:Xst:737 - Found 1-bit latch for signal <PlowLatch_out_2>. Latches may be generated from incomplete case or if statements. We do not recommend the use of latches in FPGA/CPLD designs, as they may lead to timing problems.
WARNING:Xst:737 - Found 1-bit latch for signal <PlowLatch_out_3>. Latches may be generated from incomplete case or if statements. We do not recommend the use of latches in FPGA/CPLD designs, as they may lead to timing problems.