Hello All,

I am trying to display a color gradient using the Spartan 6 board. Since Spartan 6 board which I am currently using supports only 8 bits for the VGA, I am not able to display RGB colors without hard borders.  I have already displayed an RGB color with hard borders (image: VGA image).

But now I have to display a color gradient without hard borders(image: color gradient). I am currently using a screen resolution of 640x480. Currently, I have given color pattern definition in the code like below (only red, green, blue, white and black)

hcount : in STD_LOGIC_VECTOR (10 downto 0);

vcount : in STD_LOGIC_VECTOR (10 downto 0);

rgb : out STD_LOGIC_VECTOR (7 downto 0);

x

More Rajarajeswari Ak's questions See All
Similar questions and discussions