RLE Test¶
RLE-Top Test¶
The functionality of entire RLE Module is checked here
-
test.test_rle.
test_rle
()¶ This test checks the functionality of the Run Length Encoder
-
test.test_rle.
write_block
(clock, block_in, input_interface, control_unit, color)¶ Write the data into RLE Double Buffer
-
test.test_rle.
read_block
(select, output_interface, clock)¶ Outputs the data from RLE Double Buffer
-
test.test_rle.
test_rle_conversion
()¶ This block is used to test conversion
RLE_core Test¶
The above testbench tests rle core functioning and conversion
-
test.test_rlecore.
block_process
(clock, block_in, input_interface, output_interface, control_unit, color, max_count)¶ This block sends data into rlecore and prints the output
block_in : input data block input_interface : datastream bus interface output_interface : bufferdata bus interface control_unit : rleconfig interface max_count : depth of fifo color : color component to be processes
-
test.test_rlecore.
test_rle_core
()¶ functionality of rle core tested here
-
test.test_rlecore.
test_rle_conversion
()¶ This module is used for conversion purpose
Entropy Coder Test¶
This module tests the functionality and conversion of Entropy Coder
-
test.test_entropycoder.
test_entropycoder
()¶ We will test the functionality of entropy coder in this block
constants:
width_data : width of the input data size_data : size required to store the data
-
test.test_entropycoder.
test_block_conversion
()¶ Test bench used for conversion purpose