Frontend Part Test

test.test_frontend_v2.test_frontend()

Frontend Part of the JPEG Encoder MyHDL Test

In this test is verified the correct behavior of the frontend part of the endocer

test.test_frontend_v2.test_frontend_conversion()

Convertible Frontend Part of the JPEG Encoder Test

This is the convertible testbench which ensures that the overall design is convertible and verified for its correct behavior

class test.test_frontend_v2.InputsAndOutputs(samples=1, N=8)

Inputs and Outputs Construction Class

This class is used to create the inputs and the derive the ouputs from the software reference of the frontend part of the encoder. Each element in the input list is fed in the test module and the outputs of the module are compared with the elements in the outputs list. These list are converted to tuples and used as ROMs in the convertible testbench

get_rom_tables()

Convert the lists to tuples

initialize()

Initialize the inputs and outputs lists

random_matrix()

Create a random NxN matrix with values from 0 to 255