Realtimestagram
Generics | Ports | Libraries | Use Clauses
test_bench_driver Entity Reference

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

Member Data Documentation

§ clk

clk out std_logic
Port

completely clocked process

§ clk_period_ns

clk_period_ns time := 2 ns
Generic

§ common

common
Library

§ config_const_pkg

§ dut_delay

dut_delay integer := 1
Generic

Number of clk pulses of delay of a Device Under Test between input and output.

§ enable

enable out std_logic
Port

§ h_count

h_count out std_logic_vector ( h_count_size - 1 downto 0 ) := ( others = > ' 0 ' )
Port

§ h_count_size

h_count_size integer := integer ( ceil ( log2 ( real ( const_imagewidth ) ) ) )
Generic

§ ieee

ieee
Library

use standard library

§ image_io_pkg

image_io_pkg
Package

§ input_file

input_file string
Generic

§ math_real

math_real
Package

used only for calculation of constants

§ numeric_std

numeric_std
Package

needed for colorscheme calculations

§ output_file

output_file string
Generic

§ pixel_from_file

pixel_from_file out std_logic_vector ( ( wordsize - 1 ) downto 0 )
Port

the input pixel

§ pixel_to_file

pixel_to_file in std_logic_vector ( ( wordsize - 1 ) downto 0 )
Port

the output pixel

§ rst

rst out std_logic
Port

asynchronous reset

§ rst_after

rst_after time := 10 ns
Generic

§ rst_duration

rst_duration time := 10 ns
Generic

§ std_logic_1164

std_logic_1164
Package

use std_logic_vector

§ textio

textio
Package

used for writing and reading images

§ v_count

v_count out std_logic_vector ( v_count_size - 1 downto 0 ) := ( others = > ' 0 ' )
Port

§ v_count_size

v_count_size integer := integer ( ceil ( log2 ( real ( const_imageheight ) ) ) )
Generic

§ wordsize

wordsize integer
Generic

size of input pixel value in bits


The documentation for this class was generated from the following file: