Получилась не большая затырка с цветом. Полное ощущение что вообще не функционирует видео ОЗУ цвета сделанное внутри плисины:
Код:
colorram:lpm_ram0
port map(
address=> ram (13 downto 0),
clken =>'1',
clock => not clock,
data => cd_in,
wren => not ram_we1,
q => cd_out
);
Код:
process(blank1,vid,res_k,cd_out)
begin
if blank1 = '1' then
if vid = '1' then
if cd_out (0) <= '1' then
r <= '1';
else
r <= '0';
end if;
if cd_out (1) <= '1' then
g <= '1';
else
g <= '0';
end if;
if cd_out (2) <= '1' then
b <= '1';
else
b <= '0';
end if;
i <= '1';
else
r <= '0';
g <= '0';
b <= '0';
i <= '0';
end if;
else
r <= '0';
g <= '0';
b <= '0';
i <= '0';
end if;
end process;
Полный проект здесь - http://www.spetsialist-mx.ru/for_out...alist_rev7.rar.