Zig Zag Scan Test

test.test_zig_zag.test_zig_zag()

Zig Zag Scan MyHDL Test

In this test is verified the correct behavior of the zig zag module

test.test_zig_zag.test_zig_zag_conversion()

Convertible Zig Zag Module Test

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

class test.test_zig_zag.InputsAndOutputs(samples, N, precision)

Inputs and Outputs Construction Class

This class is used to create the inputs and the derive the ouputs from the software reference of the zig zag scan. 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