Realtimestagram
|
Libraries | |
ieee | |
use standard library | |
common |
Use Clauses | |
std_logic_1164 | |
use std_logic_vector | |
numeric_std | |
needed for colorscheme calculations | |
textio | |
used for writing and reading images | |
math_real | |
used only for calculation of constants | |
image_io_pkg | Package <image_io_pkg> |
config_const_pkg | Package <config_const_pkg> |
Generics | |
wordsize | integer |
size of input pixel value in bits | |
input_file | string |
output_file | string |
clk_period_ns | time := 2 ns |
rst_after | time := 10 ns |
rst_duration | time := 10 ns |
dut_delay | integer := 1 |
Number of clk pulses of delay of a Device Under Test between input and output. | |
h_count_size | integer := integer ( ceil ( log2 ( real ( const_imagewidth ) ) ) ) |
v_count_size | integer := integer ( ceil ( log2 ( real ( const_imageheight ) ) ) ) |
Ports | |
clk | out std_logic |
completely clocked process | |
rst | out std_logic |
asynchronous reset | |
enable | out std_logic |
h_count | out std_logic_vector ( h_count_size - 1 downto 0 ) := ( others = > ' 0 ' ) |
v_count | out std_logic_vector ( v_count_size - 1 downto 0 ) := ( others = > ' 0 ' ) |
pixel_from_file | out std_logic_vector ( ( wordsize - 1 ) downto 0 ) |
the input pixel | |
pixel_to_file | in std_logic_vector ( ( wordsize - 1 ) downto 0 ) |
the output pixel |
|
Port |
completely clocked process
|
Generic |
|
Library |
|
Package |
|
Generic |
Number of clk pulses of delay of a Device Under Test between input and output.
|
Port |
|
Port |
|
Generic |
|
Library |
use standard library
|
Package |
|
Generic |
|
Package |
used only for calculation of constants
|
Package |
needed for colorscheme calculations
|
Generic |
|
Port |
the input pixel
|
Port |
the output pixel
|
Port |
asynchronous reset
|
Generic |
|
Generic |
|
Package |
use std_logic_vector
|
Package |
used for writing and reading images
|
Port |
|
Generic |
|
Generic |
size of input pixel value in bits