[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
То что ты написал как фрагмент, по моему ваще работать не должно.
Пример: счетчик 8 бит(см. первый процес), будет считать от 0 до 255, при этом переводить типы из одного в другой совсем не надо(см. второй процес).
...
architecture work of xxx is
...
signal count : unsigned (7 downto 0);
...
begin
...
process (clock,RST)
begin
if (RST='0') then count<=(others=>'0');
elsif (clock'event and clock='1') then count<=count+1;
end if;
end process;
process (clock,count)
begin
if (clock'event and clock='1' and count(2 downto 0)="010") then ...
end process;
...
end work;
Если есть ошибки в синтаксисе ,то извени писал сразу....
УДАЧИ!!!
E-mail: info@telesys.ru