Audio and video data testing equipment

By designing audio and video data testing equipment to analyze and store the audio and video data output by the chip, the problems of low test accuracy and low efficiency in the existing technology are solved, and higher test accuracy and efficiency are achieved.

CN221886590UActive Publication Date: 2024-10-22NANJING SIETIUM SEMICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323613451.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-10-22
Estimated Expiration
2033-12-28

AI Technical Summary

Technical Problem

The existing technology is not very accurate in testing audio and video data output functions during chip mass production, and cannot effectively distinguish output details such as color difference of individual pixels. The protocol analyzer test efficiency is low and cannot be tested on a large scale.

Method used

Design an audio and video data testing equipment, including a data analysis part, a data conversion part and a data transmission part. It receives and analyzes the audio and video data output by the chip through the HDMI or DP interface, converts it into a format that meets the test requirements, and stores it in the system memory. , avoid manual comparison testing and improve test accuracy.

Benefits of technology

By analyzing and storing the original audio and video data output by the chip, higher test accuracy is achieved, avoiding the limitations of manual comparison, and improving test efficiency, which is suitable for large-scale chip mass production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221886590U_ABST
    Figure CN221886590U_ABST
Patent Text Reader

Abstract

The utility model discloses equipment for testing audio and video data. The equipment comprises a data analysis part, a data conversion part, a data transmission part and a system memory, wherein the data analysis part is connected to an audio and video output interface of a chip to be tested, and is used for receiving original audio and video data from the audio and video output interface and analyzing a video data stream and an audio data stream; the data conversion part is connected to the data analysis part and is used for respectively converting the video data stream and the audio data stream into video to-be-transmitted data and audio to-be-transmitted data which conform to set transmission specifications; and the data transmission part is connected to the data conversion part and is used for storing the video data to be transmitted and the audio data to be transmitted into a system memory according to a transmission mode corresponding to the transmission specification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of audio and video testing, in particular to a device for audio and video data testing. Background Art

[0002] During the mass production of chips, it is usually necessary to conduct system level test (SLT) on the produced chips. For chips with audio and video output interfaces such as high definition multimedia interface (HDMI) and display interface (DP), it is necessary to test whether the output function of the audio and video data of the chip is normal, so as to determine whether there is any transistor damage or failure in the chip during the tape-out production process, and to eliminate chips with transistor damage or failure.

[0003] Currently, the relevant solutions for testing the output function of audio and video data mainly use external display output image detection and audio playback device output audio detection. This solution relies on human eye and ear recognition. The accuracy of this solution is not high and there are output details such as color difference of individual pixels that cannot be distinguished. Utility Model Content

[0004] In order to solve the above technical problems, the embodiments of the utility model hope to provide a device for audio and video data testing; it is capable of saving the original data output by the chip through audio and video output interfaces such as HDMI or DP for subsequent audio and video data testing, avoiding the limitations of manual comparison testing and improving test accuracy.

[0005] The technical solution of the utility model is achieved in this way:

[0006] The utility model provides a device for testing audio and video data, the device comprising: a data analysis unit, a data conversion unit, a data transmission unit and a system memory; wherein,

[0007] The data parsing unit is connected to the audio and video output interface of the chip to be tested, and is used to receive the original audio and video data from the audio and video output interface and parse out the video data stream and the audio data stream;

[0008] The data conversion unit is connected to the data analysis unit, and is used to convert the video data stream and the audio data stream into video data to be transmitted and audio data to be transmitted that meet the set transmission specifications respectively;

[0009] The data transmission unit is connected to the data conversion unit, and is used to store the video data to be transmitted and the audio data to be transmitted into the system memory according to the transmission method corresponding to the transmission specification.

[0010] In some examples, the data parsing unit includes: a physical layer conversion module and a parsing module; wherein,

[0011] The physical layer conversion module is connected to the audio and video output interface of the chip under test, and is used to convert the high-speed original audio and video data output by the chip under test into lower-speed audio and video data;

[0012] The parsing module is connected to the physical layer conversion module, and is used to parse the relatively low-speed audio and video data into a video data stream and an audio data stream according to parameter indicators that characterize the audio and video data output capability of the chip under test.

[0013] In some examples, the data conversion unit includes a video conversion module for converting a video data stream into video data to be transmitted and an audio conversion module for converting an audio data stream into audio data to be transmitted;

[0014] Correspondingly, the data transmission unit includes a video transmission module, an audio transmission module and a transmission interface connected to the video transmission module and the audio transmission module; wherein the video transmission module is connected to the video conversion module, and the audio transmission module is connected to the audio conversion module.

[0015] In some examples, the video conversion module includes a first clock domain conversion unit, a bit width conversion unit, a video data cache unit, and a first finite state machine for video writing; wherein,

[0016] The first clock domain conversion unit is connected to the parsing module of the data parsing unit, and is used to convert the clock domain of the video data stream into a user clock domain suitable for test requirements;

[0017] The bit width conversion unit is connected to the first clock domain conversion unit, and is used to convert the data bit width of the video data stream that has completed the user clock domain conversion to a transmission bit width that meets the setting;

[0018] The video data cache unit is connected to the bit width conversion unit, and is used to cache the video data stream that meets the set transmission bit width according to the data amount of a single transmission to obtain the video data to be transmitted;

[0019] The first finite state machine is connected to the video data cache unit, and is used to trigger a video transmission module that transmits the video data to be transmitted to the data transmission unit according to a data transmission request or instruction.

[0020] In some examples, the audio conversion module includes a second clock domain conversion unit, a channel division unit, a plurality of channel data buffer units, and a second finite state machine for audio writing; wherein,

[0021] The second clock domain conversion unit is connected to the parsing module of the data parsing unit, and is used to convert the clock domain of the audio data stream into a user clock domain suitable for test requirements;

[0022] The channel division unit is connected to the second clock domain conversion unit, and is used to divide the audio data stream that has completed the user clock domain conversion into audio component data of multiple channels according to the number of channels;

[0023] The number of the channel data cache units is consistent with the number of channels, and each channel data cache unit corresponds to the audio component data of a channel. Each channel data cache unit is used to cache the audio component data of the corresponding channel according to the data amount of a single transmission to obtain the audio data to be transmitted of the corresponding channel;

[0024] The second finite state machine is connected to all channel data buffer units, and is used to trigger the audio transmission module of the data transmission part to transmit the audio data to be transmitted according to a data transmission request or instruction.

[0025] In some examples, the video transmission module is used to write the cached video data to be transmitted into the system memory through the transmission interface in a transmission mode corresponding to the transmission specification according to the target memory address where the video data to be transmitted needs to be stored;

[0026] The audio transmission module is used to write the cached audio data to be transmitted into the system memory through the transmission interface in a transmission mode corresponding to the transmission specification according to the target memory address where the audio data to be transmitted needs to be stored.

[0027] In some examples, the transmission interface includes an AXI-MM interface and an AXI-Interconnector; wherein, the number of the AXI-MM interfaces is 2, which are respectively connected to the video transmission module and the audio transmission module.

[0028] In some examples, the device also includes: a PCIE bus, which is connected to the data analysis unit, the data conversion unit and the data transmission unit, and the bus is also connected to a computing device that executes a preset test strategy to perform audio and video data testing; the bus is used to transmit the test instructions issued by the computing device to the data analysis unit, the data conversion unit and the data transmission unit to trigger the data analysis unit, the data conversion unit and the data transmission unit to perform their corresponding functions.

[0029] The embodiment of the utility model provides a device for audio and video data testing, which parses the original audio and video data output by the chip to be tested to obtain video data streams and audio data streams, converts them according to the set transmission format, and uses the corresponding transmission method to store the video data to be transmitted and the audio data to be transmitted in the system memory, so that the audio and video data test can be performed according to the set test strategy by reading the video data and audio data stored in the system memory. The original data output by the chip through the audio and video output interface such as HDMI or DP can be saved for subsequent audio and video data testing, avoiding the limitations of manual comparison testing and improving test accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of the structure of an audio and video data test device provided in an embodiment of the utility model.

[0031] Figure 2 A schematic diagram of the structure of another device for audio and video data testing provided in an embodiment of the utility model.

[0032] Figure 3 A schematic diagram of the composition of a video conversion module provided in an embodiment of the utility model;

[0033] Figure 4 A schematic diagram of the composition of an audio conversion module provided in an embodiment of the utility model. DETAILED DESCRIPTION

[0034] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the technical solutions in the embodiments of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0035] At present, the schemes that rely on human eyes and ears for manual comparison tests are not accurate enough and there are situations where the output details such as the color difference of individual pixels cannot be distinguished. In addition, the relevant schemes will also use protocol analyzers for testing, but in actual implementation, due to the limitations of the test principle, the protocol analyzer can usually only test one interface at a time, and cannot perform large-scale testing during the chip mass production process. In addition, the test efficiency will be reduced because the protocol analyzer is connected to the interfaces of the chip to be tested one by one. On the other hand, the protocol analyzer can only determine the conditions of each pin of the interface according to the interface protocol. For example, when testing the HDMI interface, the corresponding data of each pin corresponding to the HDMI protocol is generally generated. This analysis result does not correspond one to one with the internal software and hardware failures of the interface of the chip to be tested, and further analysis is required, and even manual comparison testing is still required to obtain the final fault detection result.

[0036] Based on this, see Figure 1 , which shows a device 1 for audio and video data testing provided by an embodiment of the utility model, the device 1 includes: a data parsing unit 11, a data conversion unit 12, a data transmission unit 13 and a system memory 14.

[0037] exist Figure 1 In the audio and video data testing device 1 shown, the data parsing unit 11 is connected to the audio and video output interface 2 of the chip to be tested, and is used to receive original audio and video data from the audio and video output interface 2 and parse out video data streams and audio data streams.

[0038] In an embodiment of the utility model, the chip to be tested may include but is not limited to a graphics processor (GPU), a video codec chip, a digital signal processor chip, a multimedia processor chip, etc. The above-mentioned types of chips can output audio and video data through the audio and video output interface 2 of the chip (such as an interface such as HDMI or DP). At present, the format of the audio and video data output by these chips belongs to an audio and video mixed format. In order to test the audio format data and the video format data in the audio and video data respectively, so as to know whether the output function of the audio and video data of the above-mentioned types of chips is normal, the present disclosure parses the original audio and video data output by the chip to be tested to distinguish data of different formats, and obtains a video data stream and an audio data stream.

[0039] In some specific implementations, corresponding parameters can be configured for the parsing process according to parameter indicators that characterize the audio and video data output capability of the chip under test, and these parameters may include video resolution, video frame rate, number of audio channels, audio sampling rate, etc. For example, specific information fields of the original audio and video data output by the chip under test can be parsed by configuring video resolution (such as 720p, 1080p, 4K, etc.) and frame rate (such as 30Hz, 60Hz, etc.) that match the audio and video output capability of the chip under test, thereby obtaining a video data stream that conforms to a set data format (such as Advanced Extensible Interface Stream (AXI-Stream)). In addition, by configuring the number of channels (such as stereo, 5.1 channels, 7.1 channels, etc.) and sampling rate (such as 44.1kHz, 48kHz, etc.) that match the audio and video output capabilities of the chip under test, it is possible to correctly separate and convert audio data streams with different numbers of channels and different sampling rates from the original audio and video data output by the chip under test. The audio data stream can conform to the same data format as the video data stream, such as AXI-Stream.

[0040] exist Figure 1 In the device 1 for testing audio and video data shown, the data conversion unit 12 is connected to the data analysis unit 11, and is used to convert the video data stream and the audio data stream into video data to be transmitted and audio data to be transmitted that meet the set transmission specifications.

[0041] In the present disclosure, the transmission specification set includes a data specification that complies with direct memory access (DMA) transmission. The transmission specification can be converted from three aspects: clock domain, data bit width, and cached data volume.

[0042] Specifically, firstly, the clock frequencies of the original audio and video data output by different chips under test are different. In order to facilitate the calculation and convergence process in the subsequent test process, the clock domain of the video data stream and audio data stream parsed in step S101 needs to be converted into a fixed clock frequency, that is, it conforms to the highest frequency clock frequency in the system used in the subsequent test process.

[0043] Next, the data bit width of the original audio and video data output by the chip under test will be inconsistent with the data bit width during DMA transmission. In order to adapt to the needs of DMA transmission, the data bit widths of the video data stream and the audio data stream need to be converted to adapt to the address alignment requirements during DMA transmission.

[0044] Then, during the DMA transmission process, there are specific requirements for the amount of data transmitted in a single transmission. Therefore, the video data stream and the audio data stream need to be cached according to the amount of data transmitted in a single transmission set by the DMA transmission to obtain the video data and the audio data to be transmitted.

[0045] In detail, for video data streams, the axis_tlast signal can be used to identify the starting position of each row of data, and the axis_tuser signal can be used to identify the starting position of each frame of video. Based on the identified position, the video data stream can be sampled during the conversion process and converted into video data to be transmitted. For audio data streams, the axis_tid signal can be used to distinguish the data of each channel, and the axis_tdata signal can be used to identify the valid data of the channel for sampling starting point control to sample the audio data stream and convert it into audio data to be transmitted.

[0046] exist Figure 1 In the device 1 for testing audio and video data shown, the data transmission unit 13 is connected to the data conversion unit 12 and is used to store the video data to be transmitted and the audio data to be transmitted into the system memory 14 according to the transmission method corresponding to the transmission specification.

[0047] In the present disclosure, after the video data to be transmitted and the audio data to be transmitted are cached, the video data to be transmitted and the audio data to be transmitted in the cache can be written into the system memory 14, such as the double data rate synchronous dynamic random access memory (Double Data Rate-Synchronous Dynamic Random Access Memory, DDR-SDRAM) by DMA based on the control instruction. For example, the control instruction may include a control signal for indicating the starting address of the written data and the total amount of the written data, and may also include a data signal adapted to the DMA data port. Subsequently, the audio and video data test can be performed by reading the video data and audio data in the system memory.

[0048] In some specific implementations, a computing device 3 can be used to read out the video data and audio data stored in the system memory 14, and a test instruction can be formed based on a preset test strategy. The computing device uses the video data and audio data read from the system memory to perform audio and video data testing by executing the test instruction. In some examples, the computing device can be at least one of a smart phone, a smart watch, a desktop computer, a laptop, a virtual reality terminal, an augmented reality terminal, a wireless terminal, and a laptop computer. For example, after the computing device 3 reads out the video data and audio data stored in the system memory 14, a hash value can be used for verification and comparison, and it can be determined whether there are bit errors in the original audio and video data output by the chip to be tested based on the comparison result.

[0049] pass Figure 1 The technical solution shown in the figure, after parsing the original audio and video data output by the chip to be tested to obtain the video data stream and the audio data stream, converting them according to the set transmission format, uses the corresponding transmission method to store the video data to be transmitted and the audio data to be transmitted in the system memory, so that the video data and audio data stored in the system memory are read out to perform audio and video data testing according to the set test strategy. The original data output by the chip through the audio and video output interface such as HDMI or DP can be saved for subsequent audio and video data testing, avoiding the limitations of manual comparison testing and improving test accuracy.

[0050] For the above Figure 1 The device 1 for testing audio and video data shown in the figure may be implemented in some possible ways, such as Figure 2 As shown, the data parsing unit 11 includes: a physical layer conversion module 111 and a parsing module 112; wherein the physical layer conversion module 111 is connected to the audio and video output interface 2 of the chip under test, and is used to convert the high-speed original audio and video data output by the chip under test into lower-speed audio and video data; the parsing module 112 is connected to the physical layer conversion module 111, and is used to parse the lower-speed audio and video data into video data streams and audio data streams according to parameter indicators that characterize the audio and video data output capability of the chip under test.

[0051] For the above implementation, in the specific implementation process, since the clock frequency of the chip is inconsistent with the clock frequency in the test environment, after receiving the high-speed original audio and video data, the first task is to perform clock recovery to ensure the synchronization of the lower-speed audio and video data. Subsequently, since the original audio and video data may include multiple parallel channels, each channel transmits serial data, and each channel corresponds to a portion of the data bits. For example, in HDMI, in addition to the clock channel for synchronization, there are multiple (for example, 3) data channels that simultaneously transmit mixed format data of video and audio, decode the data of each channel, and reassemble it into complete lower-speed audio and video data.

[0052] For the lower-speed audio and video data obtained by the above conversion, the audio and video data can be separated from the lower-speed audio and video data by configuring parameters that characterize the audio and video data output capability of the chip under test, such as video resolution, video frame rate, number of audio channels, audio sampling rate, etc., to obtain a video data stream and an audio data stream. In some examples, the video data stream and the audio data stream conform to the same data format, such as AXI-Stream.

[0053] For the above Figure 1 The device 1 for testing audio and video data shown in the figure may be implemented in some possible ways, such as Figure 2As shown, the data conversion unit 12 includes a video conversion module 121 for converting a video data stream into video data to be transmitted and an audio conversion module 122 for converting an audio data stream into audio data to be transmitted; accordingly, the data transmission unit 13 includes a video transmission module 131, an audio transmission module 132 and a transmission interface 133 connected to the video transmission module 131 and the audio transmission module 132. The video transmission module 131 is connected to the video conversion module 121, and the audio transmission module 132 is connected to the audio conversion module 122.

[0054] Based on the above implementation, in some examples, such as Figure 3 As shown, the video conversion module 121 includes a first clock domain conversion unit 1211, a bit width conversion unit 1212, a video data cache unit 1213 and a first finite state machine 1214 for video writing; wherein the first clock domain conversion unit 1211 is connected to the parsing module 112 of the data parsing unit 11, and is used to convert the clock domain of the video data stream to a user clock domain suitable for test requirements; the bit width conversion unit 1212 is connected to the first clock domain conversion unit 1211, and is used to convert the data bit width of the video data stream that has completed the user clock domain conversion to a transmission bit width that meets the set transmission bit width; the video data cache unit 1213 is connected to the bit width conversion unit 1212, and is used to cache the video data stream that meets the set transmission bit width according to the data amount of a single transmission to obtain the video data to be transmitted; the first finite state machine 1214 is connected to the video data cache unit 1213, and is used to trigger the transmission of the video data to be transmitted to the video transmission module 131 of the data transmission unit 13 according to a data transmission request or instruction.

[0055] For the above example, in the specific implementation process, in the test environment, high-speed transmission requirements are not required. Therefore, in order to reduce the requirements for data processing speed in the subsequent test process, it is first necessary to convert the clock domain of the video data stream to the user clock domain suitable for the test requirements. It can be understood that the clock frequencies of data in different video formats are different. By converting to the highest frequency clock frequency in the system used in the subsequent test process, the subsequent test process is carried out to facilitate the timing convergence during the layout and wiring in the chip. Taking DMA transmission as an example, after conversion to the user clock domain, there will be inconsistencies between the data bit width of the video data stream and the data bit width during DMA transmission. In order to adapt to the needs of DMA transmission, the data bit width also needs to be converted to adapt to the address alignment requirements during DMA transmission. Finally, in the DMA transmission process, there are specific requirements for the amount of data transmitted in a single time. Therefore, the above example also needs to cache the video data stream according to the amount of data transmitted in a single time set by the DMA transmission, so as to obtain the video data to be transmitted so that single or multiple DMA transmissions can be effectively completed. It should be noted that in the above example, the system memory space occupied by the video data to be transmitted is shown in the following formula:

[0056] Data Bits=Pixel hor ×Pixel ver ×BPC×NUM frame

[0057] Among them, Pixel hor Indicates the horizontal resolution of the video data stream, Pixel ver Indicates the vertical resolution of the video data stream, BPC indicates the number of bits occupied by each color in each pixel, NUM frame Indicates the number of video frames that need to be saved.

[0058] Based on the above implementation, in some examples, such as Figure 4As shown, the audio conversion module 122 includes a second clock domain conversion unit 1221, a channel division unit 1222, a plurality of channel data cache units 1223 and a second finite state machine 1224 for audio writing; wherein the second clock domain conversion unit 1221 is connected to the parsing module 112 of the data parsing unit 11, and is used to convert the clock domain of the audio data stream to a user clock domain suitable for the test requirements; the channel division unit 1222 is connected to the second clock domain conversion unit 1221, and is used to divide the audio data stream that has completed the user clock domain conversion according to the number of channels Output audio component data of multiple channels; the number of channel data cache units 1223 is consistent with the number of channels, and each channel data cache unit 1223 corresponds to the audio component data of a channel, and each channel data cache unit is used to cache the audio component data of the corresponding channel according to the data amount of a single transmission to obtain the audio data to be transmitted of the corresponding channel; the second finite state machine 1224 is connected to all the channel data cache units 1223, and is used to trigger the transmission of the audio data to be transmitted to the audio transmission module 132 of the data transmission unit 13 according to a data transmission request or instruction.

[0059] For the above example, in some specific implementations, since the audio data is usually multi-channel data, after the audio data stream is converted to the clock domain, the audio data stream can be separated according to the channel to obtain audio component data of multiple channels, and each audio component data corresponds to one channel. After obtaining the audio component data of each channel, since it is necessary to meet the data volume requirement for a single transmission in DMA transmission, it is also necessary to cache the audio component data of each channel according to the data volume for a single transmission set by DMA transmission. It should be noted that in the above example, the system memory space occupied by the audio data to be transmitted is as follows:

[0060] Data Bits = f sample ×NUM channel ×T sample ×W data

[0061] Where: f sample Indicates the sampling rate of the audio data stream, NUM channel Indicates the number of channels of the audio data stream, T sample Indicates the audio sampling duration, W data Indicates the bit width of each sample point in the audio data stream.

[0062] In combination with the above example, the video transmission module 131 is used to write the cached video data to be transmitted into the system memory 14 through the transmission interface 133 in a transmission mode corresponding to the transmission specification according to the target memory address where the video data to be transmitted is required to be stored.

[0063] The audio transmission module 132 is used to write the buffered audio data to be transmitted into the system memory 14 through the transmission interface 133 in a transmission mode corresponding to the transmission specification according to the target memory address where the audio data to be transmitted is required to be stored.

[0064] For the above example, in the specific implementation process, taking DMA transmission as an example, after the video data to be transmitted and the audio data to be transmitted are cached, the video data to be transmitted and the audio data to be transmitted can be written into the system memory 14 by DMA based on the data transmission request or instruction trigger. Specifically, it is first necessary to determine that the video data to be transmitted and the audio data to be transmitted should be stored in the system memory 14, such as the memory address in the DDR, and then the cached video data to be transmitted and the audio data to be transmitted are decomposed into small data blocks according to the data amount written in a single time through the transmission interface 133 including the AXI-MM (AXI Memow Mapped) interface and the AXI-Interconnector, and the decomposed small data blocks are sequentially written into the DDR. It can be understood that after the operation of writing into the DDR is completed, the written video data and audio data can be read from the DDR for testing. Since the content of the video data and the audio data is not changed during the entire implementation process, the original information of the data is maintained during the test process, ensuring the integrity and reliability of the data, so that the test accuracy is improved during the audio and video data test process.

[0065] Based on the device 1 tested with the audio and video data shown above, see Figure 2 , further comprising a PCIE bus 15, the bus 15 being connected to the data parsing unit 11, the data conversion unit 12 and the data transmission unit 13, and the bus 15 being also connected to the aforementioned computing device 3 that executes the preset test strategy to perform the audio and video data test. The bus 15 is used to transmit the test instructions issued by the computing device 3 to the data parsing unit 11, the data conversion unit 12 and the data transmission unit 13, so as to trigger the data parsing unit 11, the data conversion unit 12 and the data transmission unit 13 to perform their corresponding functions.

[0066] For example, the external computing device 3 can trigger the data conversion unit 12 to collect the video data to be transmitted and the audio data to be transmitted through the PCIE bus 15 using the first trigger signal (Start Writing Trigger) of starting writing. After the collection is completed, the data conversion unit 12 returns the second trigger signal (FinishWriting Trigger) of completing writing through the PCIE bus 15. During the collection process, it is necessary to collect after the audio and video rendering of the chip under test is completed, so as to avoid the collection of invalid data and cause the judgment failure.

[0067] The above is only a specific implementation of the utility model, but the protection scope of the utility model is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the utility model should be included in the protection scope of the utility model. Therefore, the protection scope of the utility model should be based on the protection scope of the claims.

Claims

1. A device for testing audio and video data, It is characterized in that The device comprises: a data analysis unit, a data conversion unit, a data transmission unit and a system memory; wherein, The data parsing unit is connected to the audio and video output interface of the chip to be tested, and is used to receive the original audio and video data from the audio and video output interface and parse out the video data stream and the audio data stream; The data conversion unit is connected to the data analysis unit, and is used to convert the video data stream and the audio data stream into video data to be transmitted and audio data to be transmitted that meet the set transmission specifications respectively; The data transmission unit is connected to the data conversion unit, and is used to store the video data to be transmitted and the audio data to be transmitted into the system memory according to the transmission mode corresponding to the transmission specification; Among them, the device also includes: a PCIE bus, which is connected to the data analysis unit, the data conversion unit and the data transmission unit, and the bus is also connected to a computing device that executes a preset test strategy to perform audio and video data testing; the bus is used to transmit the test instructions issued by the computing device to the data analysis unit, the data conversion unit and the data transmission unit to trigger the data analysis unit, the data conversion unit and the data transmission unit to perform their corresponding functions.

2. The device according to claim 1, It is characterized in that The data analysis unit includes: a physical layer conversion module and a parsing module; wherein, The physical layer conversion module is connected to the audio and video output interface of the chip under test, and is used to convert the high-speed original audio and video data output by the chip under test into lower-speed audio and video data; The parsing module is connected to the physical layer conversion module, and is used to parse the relatively low-speed audio and video data into a video data stream and an audio data stream according to parameter indicators that characterize the audio and video data output capability of the chip under test.

3. The device according to claim 1, It is characterized in that The data conversion unit includes a video conversion module for converting a video data stream into video data to be transmitted and an audio conversion module for converting an audio data stream into audio data to be transmitted; Correspondingly, the data transmission unit includes a video transmission module, an audio transmission module and a transmission interface connected to the video transmission module and the audio transmission module; wherein the video transmission module is connected to the video conversion module, and the audio transmission module is connected to the audio conversion module.

4. The device according to claim 3, It is characterized in that The video conversion module includes a first clock domain conversion unit, a bit width conversion unit, a video data cache unit and a first finite state machine for video writing; wherein, The first clock domain conversion unit is connected to the parsing module of the data parsing unit, and is used to convert the clock domain of the video data stream into a user clock domain suitable for test requirements; The bit width conversion unit is connected to the first clock domain conversion unit, and is used to convert the data bit width of the video data stream that has completed the user clock domain conversion to a transmission bit width that meets the setting; The video data cache unit is connected to the bit width conversion unit, and is used to cache the video data stream that meets the set transmission bit width according to the data amount of a single transmission to obtain the video data to be transmitted; The first finite state machine is connected to the video data cache unit, and is used to trigger a video transmission module that transmits the video data to be transmitted to the data transmission unit according to a data transmission request or instruction.

5. The device according to claim 3, It is characterized in that The audio conversion module includes a second clock domain conversion unit, a channel division unit, a plurality of channel data buffer units and a second finite state machine for audio writing; wherein, The second clock domain conversion unit is connected to the parsing module of the data parsing unit, and is used to convert the clock domain of the audio data stream into a user clock domain suitable for test requirements; The channel division unit is connected to the second clock domain conversion unit, and is used to divide the audio data stream that has completed the user clock domain conversion into audio component data of multiple channels according to the number of channels; The number of the channel data cache units is consistent with the number of channels, and each channel data cache unit corresponds to the audio component data of a channel. Each channel data cache unit is used to cache the audio component data of the corresponding channel according to the data amount of a single transmission to obtain the audio data to be transmitted of the corresponding channel; The second finite state machine is connected to all channel data buffer units, and is used to trigger the audio transmission module of the data transmission part to transmit the audio data to be transmitted according to a data transmission request or instruction.

6. The device according to claim 3, It is characterized in that The video transmission module is used to write the cached video data to be transmitted into the system memory through the transmission interface in a transmission mode corresponding to the transmission specification according to the target memory address required to store the video data to be transmitted; The audio transmission module is used to write the cached audio data to be transmitted into the system memory through the transmission interface in a transmission mode corresponding to the transmission specification according to the target memory address where the audio data to be transmitted needs to be stored.

7. The device according to claim 3, It is characterized in that The transmission interface includes an AXI-MM interface and an AXI-Interconnector; wherein the number of the AXI-MM interfaces is 2, which are respectively connected to the video transmission module and the audio transmission module.