Chip testing method and device and computer program product

By inputting the input waveform signal of the analog image to the chip and analyzing its output signal, and using the edge changes of the scanning signal and the clock signal to collect data, the problem of low manual testing efficiency is solved, efficient and accurate chip performance verification is achieved, and R&D costs are reduced. and time.

CN118534296APending Publication Date: 2024-08-23CHIP WEALTH TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410638454.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

During the chip development process, manual testing and verification are inefficient, resulting in increased time and costs for discovering and locating problems and optimizing performance, especially in the verification of display driver chips.

Method used

By inputting the input waveform signal of the analog image to the chip under test, and verifying the chip performance based on the analysis results, the digital enable signal is collected using the edge changes of the scanning signal and the rising edge of the clock signal to determine the frame number and logic level of the output waveform signal, and convert Make consistency judgments for image files to improve parsing accuracy and efficiency.

Benefits of technology

It greatly improves the efficiency and accuracy of chip verification, enables early detection of signal processing errors and timing issues, reduces test load, and optimizes the chip performance verification process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118534296A
    Figure CN118534296A
Patent Text Reader

Abstract

The invention provides a chip testing method and device and a computer program product, and the method comprises the steps: generating an input waveform signal for simulating an image according to a configuration parameter; according to a preset triggering condition, analyzing an output waveform signal generated by the tested chip according to the input waveform signal to obtain an analysis result; and verifying the tested chip according to the consistency of the analysis result and the analog image. According to the chip testing method, the input waveform signal used for simulating the image is input into the tested chip, so that the performance of the chip is verified according to the analysis result of the tested chip. Therefore, the problem of limitation of manual verification is avoided to a great extent, and the efficiency of verifying the chip is finally improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of signal processing, and in particular, to a chip testing method, device and computer program product. Background Art

[0002] During the chip development process, any abnormal problems in its internal integrated circuits can easily lead to a sharp increase in the product launch cycle and R&D costs. Therefore, in order to find and locate problems as early as possible in the chip verification stage at the early stage of R&D and optimize and improve performance.

[0003] At present, especially the verification of display driver chips, most of them rely solely on manual testing and verification.

[0004] Due to the limitations of manual verification, the efficiency of chip verification is not high enough. Summary of the invention

[0005] The purpose of the present application is to provide a chip testing method, device and computer program product, which can improve the efficiency of chip verification by inputting an input waveform signal for simulating an image into the chip under test and verifying the performance of the chip according to the analysis result of the chip under test.

[0006] In a first aspect, the present application provides a chip testing method, comprising: generating an input waveform signal for simulating an image according to configuration parameters; analyzing an output waveform signal generated by the chip under test according to the input waveform signal according to preset trigger conditions to obtain an analysis result; and verifying the chip under test based on the consistency between the analysis result and the simulated image.

[0007] The chip testing method inputs an input waveform signal for simulating an image into the chip under test, so as to verify the performance of the chip according to the analysis result of the chip under test, thereby avoiding the problem of limitations of manual verification to a large extent and ultimately improving the efficiency of chip verification.

[0008] In combination with the first aspect, optionally, the trigger condition includes a change in the edge of a scanning signal; according to the preset trigger condition, the output waveform signal generated by the chip under test according to the input waveform signal is analyzed to obtain an analysis result, including: locating the clock signal to the valid interval range of the digital enable signal according to the change in the edge of the scanning signal; and collecting the output waveform signal of the digital enable signal within the valid interval range.

[0009] The test method of the above chip improves the accuracy of analyzing the output waveform signal by sending a digital enable signal according to the edge change of the scanning signal and collecting the output waveform signal during the high level time period of the digital enable signal, thereby improving the accuracy of verifying the chip under test.

[0010] In combination with the first aspect, optionally, according to the preset trigger condition, the output waveform signal generated by the chip under test according to the input waveform signal is analyzed to obtain the analysis result, and also includes: determining the total number of frames of the image corresponding to the output waveform signal according to the number of edge changes of the scanning signal.

[0011] The test method of the above chip determines the total number of frames of the image corresponding to the output waveform signal according to the number of edge changes of the scanning signal. By comparing the consistency between the total number of frames and the total number of frames of the simulated image, it can be determined whether the chip under test can generate enough frames at the expected frequency during the analysis process, thereby determining the video playback smoothness and image continuity of the chip under test during the image display process. If the total number of frames does not meet expectations, it may indicate that the chip under test has signal processing errors, timing problems or other performance bottlenecks.

[0012] In combination with the first aspect, optionally, collecting the output waveform signal when the digital enable signal is in a high level time period includes: collecting the output waveform signal when the digital enable signal is in a high level time period according to a rising edge of a clock signal.

[0013] The test method of the above chip further improves the accuracy of analyzing the output waveform signal by collecting the output waveform signal during the high-level time period of the digital enable signal according to the rising edge of the clock signal, thereby further improving the accuracy of verifying the chip under test.

[0014] In combination with the first aspect, optionally, collecting the output waveform signal in the high-level time period of the digital enable signal according to the rising edge of the clock signal includes: determining whether the digital enable signal is at a high level at a current moment; if it is determined that the digital enable signal is at a high level at a current moment, collecting the output waveform signal from the current moment; if it is determined that the digital enable signal is not at a high level at a current moment, adjusting the clock signal to the position of the next rising edge of the digital enable signal, and parsing the output waveform signal from the position of the next rising edge of the clock signal.

[0015] The test method of the above chip improves the synchronization and effectiveness of the chip under test during the analysis process by judging whether the digital enable signal is at a high level at the current moment, and collecting the output waveform signal from the current moment when it is at a high level at the current moment, and adjusting the digital enable signal to the position of the next rising edge of the clock signal when the digital enable signal is not at a high level at the current moment, and collecting the output waveform signal from the position of the next rising edge of the clock signal. Finally, the accuracy of verifying the chip under test is further improved.

[0016] In combination with the first aspect, optionally, according to the preset trigger condition, the output waveform signal generated by the chip under test according to the input waveform signal is analyzed to obtain an analysis result, including: analyzing the logic level of the output waveform signal and using it as the pixel value of the pixel data; and converting the pixel data into digital text according to the pixel value as the analysis result.

[0017] The chip testing method converts pixel data into binary text, making it easier for machines to recognize text. This improves the speed and accuracy of judging the consistency between the analysis result and the simulated image. Ultimately, it improves the efficiency of verifying the chip under test.

[0018] In combination with the first aspect, optionally, according to a preset trigger condition, the output waveform signal generated by the chip under test according to the input waveform signal is analyzed to obtain an analysis result, and also includes: converting the pixel data into a picture file of a corresponding number of frames according to the pixel value as the analysis result.

[0019] The testing method of the above chip, by converting pixel data into a picture file of the corresponding frame number, can eliminate the need for detailed consistency comparison through binary text when there is a large difference between the picture file and the simulated image. Instead, it can be determined that there are more serious problems with the chip under test through the obvious difference between the picture file and the simulated image, thereby reducing the algorithm running load of the test chip and correspondingly improving the efficiency of verifying the chip under test.

[0020] In combination with the first aspect, optionally, according to a preset trigger condition, the output waveform signal generated by the chip under test according to the input waveform signal is analyzed to obtain an analysis result, including: sampling the output waveform signal of each color channel of the chip under test; and converting the pixel data into a picture file of a corresponding number of frames according to the pixel value as the analysis result, including: converting the pixel data into the picture file of the corresponding frame according to the order of sampling the color channel and the pixel value.

[0021] The chip testing method samples the output waveform signal of each color channel of the chip under test and converts the sampled data into an image file, so that the analysis of the input waveform signal is more comprehensive, thereby improving the accuracy of the converted image file. Finally, the accuracy of the verification of the chip under test is further improved.

[0022] In a second aspect, the present application provides a chip testing device, comprising a signal control and analysis module, a signal generating module and a signal acquisition module; the input end of the signal control and analysis module is connected to the output end of the signal acquisition module, and the output end of the signal control and analysis module is connected to the input end of the signal generating module; the input end of the signal acquisition module is used to be connected to the output end of the chip under test; the output end of the signal generating module is used to be connected to the input end of the chip under test; wherein, the signal control and analysis module is used to control the signal generating module to generate an input waveform signal for simulating an image according to configuration parameters; the signal generating module is used to generate the input waveform signal; the signal acquisition module is used to collect the output waveform signal generated by the chip under test according to the input waveform signal according to a preset trigger condition; the signal control and analysis module is also used to analyze the output waveform signal generated by the chip under test according to the input waveform signal according to a preset trigger condition to obtain an analysis result; and the chip under test is verified according to the consistency between the analysis result and the simulated image.

[0023] The chip testing device described above has the same beneficial effects as the chip testing method provided by the first aspect or any optional implementation of the first aspect, and will not be described in detail here.

[0024] In a third aspect, the present application also provides a computer program product, comprising computer program instructions, which implement the steps of the method described above when executed by a processor.

[0025] The above-mentioned computer program product has the same beneficial effects as the chip testing method provided by the above-mentioned first aspect, or any optional implementation manner of the first aspect, and will not be described in detail here.

[0026] In summary, the chip testing method, device and computer program product provided by the present application, by inputting an input waveform signal for simulating an image into the chip under test, to verify the performance of the chip according to the parsing result of the chip under test. Thereby, the problem of the limitation of manual verification is avoided to a large extent, and the efficiency of verifying the chip is finally improved. By sending a digital enable signal according to the edge change of the scan signal, and collecting the output waveform signal in the high level time period of the digital enable signal, the accuracy of parsing the output waveform signal is improved, thereby improving the accuracy of verifying the chip under test. The total number of frames of the image corresponding to the output waveform signal is determined according to the number of edge changes of the scan signal. By comparing the consistency between the total number of frames and the total number of frames of the simulated image, it can be determined whether the chip under test can generate enough frames at the expected frequency during the parsing process, thereby determining the video playback smoothness and image continuity of the chip under test in the process of image display. If the total number of frames does not meet expectations, it may indicate that the chip under test has signal processing errors, timing problems or other performance bottlenecks. By collecting the output waveform information of the digital enable signal in the high level time period according to the rising edge of the clock signal, the accuracy of verifying the chip under test is further improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 A flowchart of a chip testing method provided in an embodiment of the present application;

[0029] Figure 2 A first specific flow chart of step S140 in the chip testing method provided in an embodiment of the present application;

[0030] Figure 3 A specific flow chart of step S1421 in the chip testing method provided in an embodiment of the present application;

[0031] Figure 4 A second specific flow chart of step S140 in the chip testing method provided in an embodiment of the present application;

[0032] Figure 5 A first functional module diagram of a chip testing device provided in an embodiment of the present application;

[0033] Figure 6A second functional module diagram of the chip testing device provided in an embodiment of the present application;

[0034] Figure 7 A third functional module diagram of the chip testing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0037] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0038] Please refer to Figure 1 , Figure 1 : is a flow chart of a chip testing method provided in an embodiment of the present application. The chip testing method provided in an embodiment of the present application can be executed by relevant electronic components in electronic devices such as computers, and may include:

[0039] Step S120: Generate an input waveform signal for simulating an image according to the configuration parameters.

[0040] In the above step S120, the configuration parameters may be configured by an operator according to test requirements, so that the input waveform signal generated according to the configuration parameters can simulate situations and specific conditions that may be encountered in actual application scenarios.

[0041] Step S140: according to a preset trigger condition, the output waveform signal generated by the chip under test according to the input waveform signal is analyzed to obtain an analysis result.

[0042] In the above step S140, in actual application, the chip under test can analyze the input signal for displaying the image according to its own performance to realize normal display of the image. Therefore, the chip under test can also analyze the input waveform signal. According to the analysis result, the simulated image can be displayed.

[0043] Step S160: verifying the chip under test according to the consistency between the analysis result and the simulation image.

[0044] In the above step S160, the analysis result can be a displayed image or a text file containing relevant parameters such as pixel values ​​of the image to be displayed. If the analysis result is basically consistent with the simulation image, it means that there is no abnormality in the chip under test; if the analysis result is inconsistent with the simulation image, it means that there is an abnormality in the chip under test.

[0045] In the above implementation process, the chip under test is input with an input waveform signal for simulating an image, so as to verify the performance of the chip according to the analysis result of the chip under test, thereby avoiding the problem of limitations of manual verification to a large extent and ultimately improving the efficiency of chip verification.

[0046] Please refer to Figure 2 , Figure 2 This is a first specific flow chart of step S140 in the chip testing method provided in the embodiment of the present application. In some optional implementations, the trigger condition may include a scan signal edge change.

[0047] Accordingly, step S140 may include:

[0048] Step S141: locating the clock signal to the valid interval range of the digital enable signal according to the edge change of the scan signal.

[0049] In the above step S141, the scanning signal may be a vertical scanning signal during the image display process, or a horizontal scanning signal during the image display process. The edge change of the scanning signal may be a rising edge or a falling edge of the scanning signal. Generally, the waveform between two consecutive edge changes of the scanning signal may be regarded as a frame of picture data waveform.

[0050] Step S142: Collect the output waveform signal of the digital enable signal within the valid interval.

[0051] In the above step S142, the acquisition of the digital enable signal (Data Enable Signal, de signal) can be used to control the transmission of data. The logic level of the digital enable signal usually changes between 0 and 1. Therefore, the output waveform signal in the time period when the logic level of the digital enable signal is 1 can be acquired between two adjacent scanning signal edge changes.

[0052] In the above implementation process, by sending a digital enable signal according to the edge change of the scanning signal and collecting the output waveform signal during the high level time period of the digital enable signal, the accuracy of analyzing the output waveform signal is improved, thereby improving the accuracy of verifying the chip under test.

[0053] In some optional implementations, step S140 may further include:

[0054] Step S143: Determine the total number of frames of the image corresponding to the output waveform signal according to the number of edge changes of the scanning signal.

[0055] In the above step S143, since the waveform between two consecutive scan signal edge changes can be regarded as a frame of picture data waveform, the number of scan signal edge changes is the total number of frames corresponding to the output waveform signal.

[0056] In the above implementation process, the total number of frames of the image corresponding to the output waveform signal is determined according to the number of edge changes of the scanning signal. By comparing the consistency between the total number of frames and the total number of frames of the simulated image, it can be determined whether the chip under test can generate enough frames at the expected frequency during the analysis process, thereby determining the video playback smoothness and image continuity of the chip under test during the image display process. If the total number of frames does not meet expectations, it may indicate that the chip under test has signal processing errors, timing problems or other performance bottlenecks.

[0057] In some optional implementations, step S142 may include:

[0058] Step S1421: according to the rising edge of the clock signal, the output waveform signal of the digital enable signal in the high level time period is collected.

[0059] In the above step S1421, the rising edge of the clock signal (Clock Signal, clk signal) generally indicates the specific time when the output waveform signal is collected during the time period when the digital enable signal is at a high level.

[0060] In the above implementation process, by collecting the output waveform signal during the high-level period of the digital enable signal according to the rising edge of the clock signal, the accuracy of parsing the output waveform signal is further improved, thereby further improving the accuracy of verifying the chip under test.

[0061] Please refer to Figure 3 , Figure 3 is a specific flow chart of step S1421 in the chip testing method provided in the embodiment of the present application. In some optional implementations, step S1421 may include:

[0062] Step S14211: Determine whether the digital enable signal is currently at a high level.

[0063] If it is determined that the digital enable signal is at a high level at the current moment, step S14212 is executed: the output waveform signal is collected starting from the current moment.

[0064] If it is determined that the digital enable signal is not at a high level at the current moment, step S14213 is executed: the clock signal is adjusted to the position of the next rising edge of the digital enable signal, and the output waveform signal is parsed from the position of the next rising edge of the clock signal.

[0065] In the above steps, since the logic level of the clock signal usually varies between 0 and 1, when the digital enable signal is not currently at a high level, it can be adjusted to the next rising edge position of the clock signal and start collecting the output waveform signal.

[0066] In the above implementation process, by judging whether the digital enable signal is at a high level at the current moment, and if it is at a high level at the current moment, collecting the output waveform signal from the current moment, and if the digital enable signal is not at a high level at the current moment, adjusting the digital enable signal to the position of the next rising edge of the clock signal, and collecting the output waveform signal from the position of the next rising edge of the clock signal, the synchronization and effectiveness of the chip under test in the analysis process are improved. Finally, the accuracy of verifying the chip under test is further improved.

[0067] Please refer to Figure 4 , Figure 4 This is a second specific flow chart of step S140 in the chip testing method provided in the embodiment of the present application. In some optional implementations, step S140 may include:

[0068] Step S144: Analyze the logic level of the output waveform signal and use it as the pixel value of the pixel data.

[0069] In the above step S144 , the logic level of the output waveform signal can be used as the pixel value of the pixel data according to the set signal sequence (the sequence of R sub-pixel, G sub-pixel, and B sub-pixel and the bit sequence).

[0070] Step S145: Convert the pixel data into digital text according to the pixel value as the parsing result.

[0071] In the above step S145, the number system can be hexadecimal text or other number system text. The pixel data is converted into a number system text, and the corresponding pixel value is converted into hexadecimal or other number system using a radix number system.

[0072] In the above implementation process, by converting pixel data into binary text, it is easier for the machine to recognize the text, thereby improving the speed and accuracy of judging the consistency between the analysis result and the simulated image. Ultimately, the efficiency of verifying the chip under test is improved.

[0073] In some optional implementations, step S140 may further include:

[0074] Step S146: Convert the pixel data into a picture file of a corresponding number of frames according to the pixel value as the analysis result.

[0075] In the above step S146, pixel data, as data representing image information, can usually be directly converted into a corresponding picture file. The format of the picture file can be "bmp". In the case where there is a large difference between the analysis result and the simulated image, it is usually not necessary to perform a detailed consistency comparison through the binary text, but the obvious difference between the picture file and the simulated image can be used to determine that the chip under test has a more serious problem.

[0076] In the above implementation process, by converting pixel data into a picture file of the corresponding frame number, when there is a large difference between the picture file and the simulated image, there is no need to perform a detailed consistency comparison through binary text. Instead, the obvious difference between the picture file and the simulated image can be used to determine that there is a more serious problem with the chip under test, thereby reducing the algorithm running load of the test chip and correspondingly improving the efficiency of verifying the chip under test.

[0077] In some optional implementations, step S140 may include:

[0078] Step S147: sampling the output waveform signal of each color channel of the chip under test.

[0079] In the above step S147, the chip under test usually has a plurality of transmission channels for red signals, a transmission channel for green signals, and a transmission channel for blue signals.

[0080] Accordingly, step S146 may include:

[0081] Step S1461: Convert the pixel data into a picture file of the corresponding frame according to the order of sampling the color channels and the pixel values.

[0082] In the above step S1461, the sampling order may be "transmission channel of red signal, transmission channel of green signal, transmission channel of blue signal".

[0083] In the above implementation process, by sampling the output waveform signal of each color channel of the chip under test and converting the sampled data into an image file, the analysis of the input waveform signal is more comprehensive, thereby improving the accuracy of the converted image file. Finally, the accuracy of the verification of the chip under test is further improved.

[0084] Please refer to Figure 5 , Figure 5This is a first functional module diagram of the chip testing device 500 provided in the embodiment of the present application. Based on the same concept, the chip testing device 500 provided in the present application may include a signal control and analysis module 510 , a signal generation module 520 and a signal acquisition module 530 .

[0085] The input end of the signal control analysis module 510 is connected to the output end of the signal acquisition module 530, and the output end of the signal control analysis module 510 is connected to the input end of the signal generation module 520. The input end of the signal acquisition module 530 can be used to connect to the output end of the chip under test 600. The output end of the signal generation module 520 can be used to connect to the input end of the chip under test 600. Among them, the signal control analysis module 510 can be used to control the signal generation module 520 to generate an input waveform signal for simulating an image according to configuration parameters. The signal generation module 520 can be used to generate an input waveform signal. The signal acquisition module 530 can be used to collect the output waveform signal generated by the chip under test 600 according to the input waveform signal according to a preset trigger condition. The signal control analysis module 510 can also be used to analyze the output waveform signal generated by the chip under test 600 according to the input waveform signal according to the preset trigger condition to obtain an analysis result. And according to the consistency between the analysis result and the simulated image, the chip under test 600 is verified.

[0086] Please refer to Figure 6 , Figure 6 This is a second functional module diagram of the chip testing device 500 provided in an embodiment of the present application. The output end of the signal generating module 520 can be connected to the input end of the chip under test 600 through the interface adapter module 540. The interface adapter module 540 can be used to convert the output signal interface definition of the signal generating module 520 to match the input signal interface definition of the chip under test 600.

[0087] As some optional implementations, the trigger condition may include a scan signal edge change. In the process of parsing the output waveform signal generated by the chip under test 600 according to the input waveform signal according to the preset trigger condition to obtain the parsing result, the signal control parsing module 510 may be specifically used to: when the chip under test sends a digital enable signal according to the scan signal edge change, collect the output waveform signal in the high level time period of the digital enable signal.

[0088] As some optional implementations, in the process of analyzing the output waveform signal generated by the chip under test 600 according to the input waveform signal according to preset trigger conditions to obtain the analysis result, the signal control analysis module 510 can also be specifically used to: determine the total number of frames of the image corresponding to the output waveform signal according to the number of edge changes of the scanning signal.

[0089] As some optional implementations, in the process of collecting the output waveform signal when the digital enable signal is in a high level time period, the signal control analysis module 510 can be specifically used to: collect the output waveform signal when the digital enable signal is in a high level time period according to the rising edge of the clock signal.

[0090] As some optional implementations, in the process of collecting the output waveform signal in the high-level time period of the digital enable signal according to the rising edge of the clock signal, the signal control analysis module 510 can be specifically used to: determine whether the digital enable signal is at a high level at the current moment. If it is determined that the digital enable signal is at a high level at the current moment, the output waveform signal is collected from the current moment. If it is determined that the digital enable signal is not at a high level at the current moment, the digital enable signal is adjusted to the position of the next rising edge of the clock signal, and the output waveform signal is collected from the position of the next rising edge of the clock signal.

[0091] As some optional implementations, in the process of parsing the output waveform signal generated by the chip under test 600 according to the input waveform signal according to the preset trigger condition to obtain the parsing result, the signal control parsing module 510 can be specifically used to: parse the output waveform signal logic level and use it as the pixel value of the pixel data. And convert the pixel data into digital text according to the pixel value as the parsing result.

[0092] As some optional implementations, in the process of analyzing the output waveform signal generated by the chip under test 600 according to the input waveform signal according to preset trigger conditions to obtain the analysis result, the signal control analysis module 510 can be specifically used to: convert the pixel data into a picture file of the corresponding frame number according to the pixel value as the analysis result.

[0093] As some optional implementations, in the process of analyzing the output waveform signal generated by the chip under test 600 according to the input waveform signal according to the preset trigger condition to obtain the analysis result, the signal control analysis module 510 can be specifically used to: sample the output waveform signal of each color channel of the chip under test 600.

[0094] Accordingly, in the process of converting pixel data into a picture file of a corresponding number of frames according to the pixel value as a parsing result, the signal control parsing module 510 can be specifically used to: convert the pixel data into a picture file of a corresponding frame according to the order of sampling the color channels and the pixel value.

[0095] Please refer to Figure 7 , Figure 7: This is a third functional module diagram of the chip test device 500 provided in the embodiment of the present application. The embodiment of the present application provides a third functional module structure of the chip test device 500. In the chip test device 500, the chip under test 600 can be an FPGA. The signal control analysis module 510 can include a configuration unit 511, a programmable test pattern unit 512 and a programmable control operation unit 513. The signal generation module 520 can have a USB interface 521 and a MIPI signal interface 522. The interface adapter module can have a MIPI input interface 541 and a MIPI output interface 542.

[0096] The configuration unit 511 is used to send commands / parameters to the signal generating module 520 via USB, and the signal generating module 520 completes its own initialization configuration after parsing the commands according to the upper and lower computer protocols. The signal generating module 520 will transmit its own configuration status back via USB to feedback whether the configuration is successful. The programmable test pattern unit 512 is used to send commands / data to the signal generating module 520 via USB, and complete the command sequence sending of the test pattern in sequence. The programmable test pattern unit 512 is also used to set the waveform sampling properties of the signal acquisition unit 400, such as sampling rate, sampling depth, etc., through the programmable control operation unit 513. The signal generating module 520 is used to respond to the command of the programmable test pattern unit 512, output the expected waveform signal to the interface adapter module 540, and the interface adapter module 540 completes the conversion of the signal interface definition and inputs the excitation waveform to the FPGA.

[0097] It should be understood that the device corresponds to the above-mentioned chip testing method embodiment and can execute each step involved in the above-mentioned method embodiment. The specific functions of the device can be found in the description above. To avoid repetition, the detailed description is appropriately omitted here.

[0098] The embodiments of the present application also provide a computer program product, which may include a computer-readable storage medium carrying computer-readable program instructions for executing the methods disclosed in the embodiments of the present application.

[0099] Computer readable storage medium can be a tangible device that can hold and store instructions used by an instruction execution device. Computer readable storage medium can be, for example, but not limited to: an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of computer readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination thereof. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (for example, a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0100] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0101] The computer program instructions for executing the disclosed methods of each embodiment of the present application can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions can be executed completely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer, partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of computer-readable program instructions to personalize electronic circuits, such as programmable logic circuits, field programmable gate arrays (FPGAs) or programmable logic arrays (PLAs), the electronic circuits can execute computer-readable program instructions.

[0102] In summary, the chip testing method, device and computer program product provided by each embodiment of the present application input an input waveform signal for simulating an image to the chip under test, so as to verify the performance of the chip according to the analysis result of the chip under test. Thereby, the problem of the limitation of manual verification is avoided to a large extent, and the efficiency of verifying the chip is finally improved. By sending a digital enable signal according to the edge change of the scan signal, and collecting the output waveform signal in the high level time period of the digital enable signal, the accuracy of parsing the output waveform signal is improved, thereby improving the accuracy of verifying the chip under test. The total number of frames of the image corresponding to the output waveform signal is determined according to the number of edge changes of the scan signal. By comparing the consistency between the total number of frames and the total number of frames of the simulated image, it can be determined whether the chip under test can generate enough frames at the expected frequency during the analysis process, thereby determining the video playback smoothness and image continuity of the chip under test in the process of image display. If the total number of frames does not meet expectations, it may indicate that the chip under test has signal processing errors, timing problems or other performance bottlenecks. By collecting the output waveform information of the digital enable signal in the high level time period according to the rising edge of the clock signal, the accuracy of verifying the chip under test is further improved.

[0103] In several embodiments provided by the embodiments of the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0104] In addition, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.

[0105] The above description is only an optional implementation manner of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the embodiments of the present application, which should be covered within the protection scope of the embodiments of the present application.

Claims

1. A chip testing method, characterized in that: include: According to the configuration parameters, an input waveform signal for simulating an image is generated; According to a preset trigger condition, an output waveform signal generated by the chip under test according to the input waveform signal is analyzed to obtain an analysis result; as well as The chip under test is verified according to the consistency between the analysis result and the simulation image.

2. The method according to claim 1, characterized in that in, The trigger condition includes a scan signal edge change; The step of analyzing the output waveform signal generated by the chip under test according to the input waveform signal according to the preset trigger condition to obtain the analysis result includes: According to the edge change of the scanning signal, locating the effective interval range of the clock signal to the digital enable signal; and The output waveform signal of the digital enable signal within the valid interval is collected.

3. The method according to claim 2, characterized in that The step of analyzing the output waveform signal generated by the chip under test according to the input waveform signal according to the preset trigger condition to obtain the analysis result also includes: The total number of frames of the image corresponding to the output waveform signal is determined according to the number of edge changes of the scanning signal.

4. The method according to claim 2, characterized in that: The step of collecting the output waveform signal of the digital enable signal in a high level time period includes: According to the rising edge of the clock signal, the output waveform signal during the time period when the digital enable signal is at a high level is collected.

5. The method according to claim 4, characterized in that The step of collecting the output waveform signal of the digital enable signal in a high level time period according to the rising edge of the clock signal comprises: Determine whether the digital enable signal is at a high level at the current moment; If it is determined that the digital enable signal is at a high level at the current moment, the output waveform signal is collected from the current moment; If it is determined that the digital enable signal is not at a high level at the current moment, the clock signal is adjusted to the position of the next rising edge of the digital enable signal, and the output waveform signal is parsed from the position of the next rising edge of the clock signal.

6. The method according to claim 1, characterized in that The step of analyzing the output waveform signal generated by the chip under test according to the input waveform signal according to the preset trigger condition to obtain the analysis result includes: Analyzing the logic level of the output waveform signal and using it as the pixel value of the pixel data; and The pixel data is converted into digital text according to the pixel value to serve as the parsing result.

7. The method according to claim 6, characterized in that The step of analyzing the output waveform signal generated by the chip under test according to the input waveform signal according to the preset trigger condition to obtain the analysis result also includes: The pixel data is converted into a picture file of a corresponding number of frames according to the pixel value to serve as the parsing result.

8. The method according to claim 7, characterized in that The step of analyzing the output waveform signal generated by the chip under test according to the input waveform signal according to the preset trigger condition to obtain the analysis result includes: Sampling the output waveform signal of each color channel of the chip under test; The step of converting the pixel data into a picture file of a corresponding number of frames according to the pixel value as the parsing result includes: The pixel data is converted into the picture file of the corresponding frame according to the order in which the color channels are sampled and the pixel values.

9. A chip testing device, characterized in that: It includes a signal control and analysis module, a signal generation module and a signal acquisition module; The input end of the signal control and analysis module is connected to the output end of the signal acquisition module, and the output end of the signal control and analysis module is connected to the input end of the signal generation module; The input end of the signal acquisition module is used to connect with the output end of the chip under test; The output end of the signal generating module is used to connect with the input end of the chip under test; The signal control and analysis module is used to control the signal generation module to generate an input waveform signal for simulating an image according to configuration parameters; The signal generating module is used to generate the input waveform signal; The signal acquisition module is used to acquire the output waveform signal generated by the chip under test according to the input waveform signal according to a preset trigger condition; The signal control analysis module is also used to analyze the output waveform signal generated by the chip under test according to the input waveform signal according to a preset trigger condition to obtain an analysis result; and verify the chip under test according to the consistency between the analysis result and the simulation image.

10. A computer program product, characterized in that The method comprises computer program instructions, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 8.