T
trurl
Guest
Hi All,
Qualcuno potrebbe spiegare perché il seguente non sintetizzare?
Mi piacerebbe contare quante volte un segnale di ingresso è cambiato.
library IEEE;
uso IEEE.std_logic_1164.ali;
uso IEEE.STD_LOGIC_ARITH.ALL;
uso IEEE.STD_LOGIC_UNSIGNED.ALL;
test entità è
Port (a: in std_logic);
fine prova;
test di architettura di test è
iniziare
processo (a)
variabile contatore: integer: = 0;
iniziare
if (a'event) allora
counter: = counter 1;
end if;
end process;
fine prova;Ottengo il seguente errore:: unsupported Clock statement.
ERRORE: xst: 797 - ".../ test.vhd "linea ...:
dichiarazione Clock non è supportato.
Con i migliori saluti.
Qualcuno potrebbe spiegare perché il seguente non sintetizzare?
Mi piacerebbe contare quante volte un segnale di ingresso è cambiato.
library IEEE;
uso IEEE.std_logic_1164.ali;
uso IEEE.STD_LOGIC_ARITH.ALL;
uso IEEE.STD_LOGIC_UNSIGNED.ALL;
test entità è
Port (a: in std_logic);
fine prova;
test di architettura di test è
iniziare
processo (a)
variabile contatore: integer: = 0;
iniziare
if (a'event) allora
counter: = counter 1;
end if;
end process;
fine prova;Ottengo il seguente errore:: unsupported Clock statement.
ERRORE: xst: 797 - ".../ test.vhd "linea ...:
dichiarazione Clock non è supportato.
Con i migliori saluti.