|
Realtimestagram
|
Creates Red Green and Blue channels from Hue Saturation Value inputs.
Libraries | |
| ieee | |
Use Clauses | |
| std_logic_1164 | |
| numeric_std | |
| math_real | |
| Used for calculation of h_count and v_count port width. | |
Types | |
| s_t_v_delay | ( 0 to 2 ) integer range 0 to 2 ** ( wordsize * 2 ) |
| s_t_v_min_v_delay | ( 0 to 3 ) integer range 0 to 2 ** ( wordsize * 2 ) |
| v_delay | ( 0 to 5 ) integer range 0 to 2 ** wordsize |
| val_delay | ( 0 to 3 ) integer range 0 to 2 ** wordsize |
| h_msb_delay | ( 0 to 3 ) integer range 0 to 6 |
Generics | |
| wordsize | integer := 8 |
| input image wordsize in bits | |
Ports | |
| clk | in std_logic |
| completely clocked process | |
| rst | in std_logic |
| asynchronous reset | |
| enable | in std_logic |
| enables block | |
| pixel_hue_i | in std_logic_vector ( ( wordsize - 1 ) downto 0 ) |
| hue value of pixel | |
| pixel_sat_i | in std_logic_vector ( ( wordsize - 1 ) downto 0 ) |
| saturation of pixel | |
| pixel_val_i | in std_logic_vector ( ( wordsize - 1 ) downto 0 ) |
| value of pixel | |
| pixel_red_o | out std_logic_vector ( ( wordsize - 1 ) downto 0 ) |
| red output pixel | |
| pixel_green_o | out std_logic_vector ( ( wordsize - 1 ) downto 0 ) |
| green output pixel | |
| pixel_blue_o | out std_logic_vector ( ( wordsize - 1 ) downto 0 ) |
| blue output pixel | |
|
Port |
completely clocked process
|
Port |
enables block
|
Type |
|
Library |
|
Package |
Used for calculation of h_count and v_count port width.
|
Package |
|
Port |
blue output pixel
|
Port |
green output pixel
|
Port |
hue value of pixel
|
Port |
red output pixel
|
Port |
saturation of pixel
|
Port |
value of pixel
|
Port |
asynchronous reset
|
Type |
|
Type |
|
Package |
|
Generic |
input image wordsize in bits
1.8.12