OpenCores

Project maintainers

Details

Name: alpha_blender
Created: Jul 26, 2022
Updated: Jul 27, 2022
SVN Updated: Jul 27, 2022
SVN: Browse
Latest version: download (might take a bit to start...)
Statistics: View
Bugs: 0 reported / 0 solved
Star0you like it: star it!

Other project properties

Category:Video controller
Language:VHDL
Development status:Beta
Additional info:
WishBone compliant: No
WishBone version: n/a
License: Others

VHDL Alpha Blender

A simple asynchronous module to blend two color in RGB565 pixel format with a 7 bit alpha value.

Simulation (Alpha = 64 / 127 => ~ 50 %):

It's so easy to use:

entity blender is
	PORT(
		color1 : in STD_LOGIC_VECTOR(15 downto 0); --First Color in RGB565
		color2 : in STD_LOGIC_VECTOR(15 downto 0); --Second Color in RGB565
		alpha : in STD_LOGIC_VECTOR(6 downto 0); --Alpha Value (0 to 127)
		color_out : out STD_LOGIC_VECTOR(15 downto 0) --Output Color
		);
end blender;

Number of used Slice LUTs on XC6SLX9 = 232