av_pat_genwork in two modes for audio
Mode – 0 : When bit  value is 1’b0 in register 0x400, this IP just acts as a pass through to the incoming audio.
Mode – 1: When bit  value is 1’b1 in register 0x400, then this IP generates test patterns for audio.
- To generate audio test patterns, make bit  of 0x400 as “0” initially and configure appropriate values in the configuration registers (like audio_test_pattern etc.) corresponding to the audio that is intended to be generated by the test pattern generator.
- Then program “1” to bit  of 0x400 to start the generation of required audio test pattern.
- User can enable bit  of 0x4B8, to start the internal audio checker of the IP which performs counting of number of audio samples being outputted by the IP. However currently there is no support to read this count through register interface. This checker can be used to count the audio samples on the input data when bit  of register 0x400 is programmed as 0.