[an error occurred while processing this directive]
|
|
nul <= rg(0); one <= rg(1);
process(clk,rst)
if rst = '1' then
rg <= "01";
elsif clk = '1' and clk'event then
if rg(0) = '1' then rg <= rg(0) & rg(1); end if;
end if;
end process;
Нужно, чтобы синтезатор не понял, что там фиксированный ‘0’(‘1’).
В общем проходит, правда на leonardo я не запускал.
E-mail: info@telesys.ru