A display verification method, simulation platform, device, medium and equipment

By generating excitation images and using graphical programming functions to generate verification images, the error problem of manual waveform verification in the display imaging process is solved, realizing efficient and accurate verification of the display control module and improving the display imaging quality.

CN115756373BActive Publication Date: 2026-11-27CHONGQING XINLIANXIN INTELLIGENT TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211650882.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-21
Publication Date
2026-11-27
Estimated Expiration
2042-12-21

AI Technical Summary

Technical Problem

In existing technologies, image data verification during the display imaging process relies on manual observation of waveforms, which leads to large errors and is labor-intensive, making it difficult to accurately judge minute flaws and affecting image quality.

Method used

By generating stimulus images, control data and pixel data of the display control module are obtained. Verification images are generated using graphics programming functions and displayed directly on the display screen to determine whether the function of the display control module meets the preset requirements. Verification is performed using control parameters such as frame synchronization, line synchronization, data valid signals, and clock signals.

Benefits of technology

It improves the accuracy and efficiency of display control module verification, reduces manual intervention, and enables intuitive judgment of whether the display control module meets the preset functions, thereby reducing manpower and resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115756373B_ABST
    Figure CN115756373B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of integrated circuit design verification, in particular to a display verification method, a simulation platform, a device, a medium and equipment. The method comprises the following steps: generating an excitation picture, and transmitting the excitation picture after processing to a display control module; obtaining control data and pixel data output by the display control module; setting the pixel data as a parameter value of a graphic programming function according to the control data; calling the graphic programming function to obtain a verification image; and displaying the verification image on a display screen to determine whether the display control module meets a preset function. In the above manner, whether the display control module is normally functional is determined by using the excitation picture, and the verification image is finally displayed on the display screen, so that the relationship between the verification image and the excitation image can be intuitively observed without analyzing the waveform shape, and the intuitiveness and reliability of whether the display control module meets the preset function are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of integrated circuit design verification technology, and in particular to a display verification method, simulation platform, device, medium and equipment. Background Technology

[0002] During the imaging process of a display, the image data is first processed by a chip, and then the processed image data is processed by the display interface of the display controller.

[0003] To ensure proper display on the screen, the image data to be displayed needs to be verified before it is shown. Current technology primarily involves signal verification of the image data. This is done by generating waveform files to display the image data as waveforms, which engineers then visually observe and analyze to determine if any anomalies are present, thus verifying the accuracy of the image data. However, this method is not only labor-intensive but also susceptible to significant errors due to the inherent limitations of visual inspection. Minor flaws in the image data may be overlooked, leading to errors in the final image.

[0004] Therefore, there is an urgent need for a display verification method, simulation platform, device, medium, and equipment to verify the image data to be displayed and improve the accuracy of the verification. Summary of the Invention

[0005] This application provides a display verification method, simulation platform, apparatus, medium, and device for verifying image data to be displayed, thereby improving the accuracy and timeliness of the verification.

[0006] In a first aspect, embodiments of this application provide a display verification method applicable to display control modules based on register transfer level (RTL) design; the method includes: generating a stimulus image and transmitting the processed stimulus image to the display control module; acquiring control data and pixel data output by the display control module; setting the pixel data as parameter values ​​of a graphics programming function according to the control data; calling the graphics programming function to obtain a verification image; the verification image is used to display on a display screen to determine whether the display control module meets preset functions.

[0007] By using the above method, the display control module is determined to be functioning properly using the excitation image, without needing to judge whether the display control module processes the image correctly through waveform analysis. Furthermore, since the verification image is ultimately displayed on the screen, the relationship between the verification image and the excitation image can be seen intuitively. This allows for an accurate determination of whether the display control module meets the preset function without the need to analyze the waveform shape, thus improving the intuitiveness and reliability of whether the display control module meets the preset function.

[0008] In one possible implementation, the control data includes a first control parameter representing a frame synchronization signal, a second control parameter representing a line synchronization signal, and a third control parameter representing a data validity signal; acquiring the control data and pixel data output by the display control module includes: after receiving the first control parameter output by the display control module that meets the first change requirement, determining whether a third control parameter with a first value is received after receiving N second control parameters that meet the second change requirement; if a third control parameter with a first value is received, then determining whether pixel data is received.

[0009] In the above method, the determination of whether pixel data is received is made by controlling the data. By setting the control data, the timing and validity of receiving pixel data can be determined, which makes the verification or judgment based on pixel data more reliable.

[0010] In one possible implementation, the control data further includes a fourth control parameter characterizing the clock signal; determining whether pixel data is received includes: after receiving M fourth control parameters that meet the third change requirement from the display control module, determining that pixel data is received during each fourth control parameter that meets the third change requirement.

[0011] By using specific clock data to control the reception of pixel data in the above method, the acquisition of pixel data can be carried out according to a certain pattern, thereby improving the efficiency of pixel data processing.

[0012] In one possible implementation, if the third control parameter of the first value is not received, it is determined that the control data output by the display control module does not conform to the preset function; and / or, if pixel data is not received, it is determined that the pixel data output by the display control module does not conform to the preset function.

[0013] In the above method, if no valid control data and pixel data are received, it can be directly concluded that the display control module does not meet the preset function without further judgment, thus improving the efficiency of display verification.

[0014] In one possible implementation, each pixel data includes a first sub-data representing red, a second sub-data representing green, and a third sub-data representing blue. Setting the pixel data as parameter values ​​for a graphics programming function according to the control data includes: when the control data meets preset pixel data output requirements, setting the first, second, and third sub-data of each acquired pixel data as parameter values ​​for the graphics programming function; calling the graphics programming function to obtain a verification image includes: calling the graphics programming function to calculate the parameter values ​​to obtain the color of each pixel.

[0015] In the above method, the first sub-data, the second sub-data, and the third sub-data are used as parameter values ​​for the graphics programming function, which is the same as the way colors are represented in a computer. No further conversion is required, which improves the efficiency of image acquisition for verification.

[0016] In one possible implementation, the method is applied to a simulation platform; obtaining the control data and pixel data output by the display control module includes: instantiating the display control module through the simulation platform, thereby outputting the control data and pixel data.

[0017] Secondly, embodiments of this application provide an apparatus comprising:

[0018] The excitation module is used to generate excitation images and transmit the processed excitation images to the display control module;

[0019] The acquisition module is used to acquire the control data and pixel data output by the display control module;

[0020] The setting module is used to set the pixel data as parameter values ​​of the graphics programming function according to the control data;

[0021] The determination module is used to call the graphics programming function to obtain a verification image; the verification image is used to display on the display screen to determine whether the display control module meets the preset function.

[0022] The control data includes a first control parameter characterizing the frame synchronization signal, a second control parameter characterizing the line synchronization signal, and a third control parameter characterizing the data validity signal.

[0023] The acquisition module is specifically used to, after receiving the first control parameter output by the display control module that meets the first change requirement, determine whether a third control parameter with the first value is received after receiving N second control parameters that meet the second change requirement; if a third control parameter with the first value is received, then determine whether pixel data is received.

[0024] The control data also includes a fourth control parameter characterizing the clock signal;

[0025] The acquisition module is specifically used to determine the received pixel data during each of the four control parameters that meet the third change requirements after receiving M fourth control parameters that meet the third change requirements from the display control module.

[0026] The determining module is further configured to: if a third control parameter of the first value is not received, determine that the control data output by the display control module does not conform to the preset function; and / or, if pixel data is not received, determine that the pixel data output by the display control module does not conform to the preset function.

[0027] Each pixel data includes a first sub-data representing red, a second sub-data representing green, and a third sub-data representing blue;

[0028] The setting module is specifically used to set the first sub-data, second sub-data, and third sub-data of each acquired pixel data as parameter values ​​of the graphics programming function when the control data meets the preset pixel data output requirements; the determining module is specifically used to call the graphics programming function to calculate the parameter values ​​to obtain the color of each pixel.

[0029] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when run, executes any of the methods described in the first aspect.

[0030] Fourthly, embodiments of this application provide a computing device, including: a memory for storing program instructions; and a processor for calling the program instructions stored in the memory and executing the method in any of the designs in the first aspect above according to the obtained program.

[0031] Fifthly, embodiments of this application provide a computer program product that, when run on a processor, implements the method as described in any of the designs in the first aspect above.

[0032] The beneficial effects of the second to fifth aspects mentioned above can be specifically referred to as the beneficial effects that can be achieved by any of the designs in the first aspect mentioned above, and will not be elaborated here. Attached Figure Description

[0033] Figure 1 An exemplary illustration shows an application scenario provided by an embodiment of this application;

[0034] Figure 2 An exemplary embodiment of this application provides a schematic diagram of a simulation waveform;

[0035] Figure 3 This illustration shows another simulation waveform diagram provided in an embodiment of this application;

[0036] Figure 4 An exemplary flowchart of a display verification method provided in an embodiment of this application is shown.

[0037] Figure 5 An exemplary illustration shows a timing diagram of control data provided in an embodiment of this application;

[0038] Figure 6 This illustration shows a timing diagram of another type of control data provided in an embodiment of this application;

[0039] Figure 7 A schematic diagram of a simulation platform provided in an embodiment of this application is shown as an example;

[0040] Figure 8 An exemplary schematic diagram of a display verification device provided in an embodiment of this application is shown. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0042] Figure 1 This illustration shows an application scenario provided by an embodiment of the present application, such as... Figure 1 As shown, the application scenarios include: graphics processors, display controllers, and monitors.

[0043] A graphics processing unit (GPU), also known as a display core, visual processor, or display chip, is a microprocessor specifically designed for performing image and graphics-related computations in personal computers, workstations, game consoles, and some mobile devices (such as tablets and smartphones). The GPU reduces the graphics card's reliance on the CPU and performs some of the tasks originally handled by the central processing unit (CPU). Therefore, Figure 1 The graphics processing unit (GPU) portion can also be replaced by a CPU.

[0044] After the graphics processor processes the image data, it sends the image data to the display controller, also known as an asynchronous control system or display control card. It is a crucial core component of the display system. It is responsible for receiving display information from the computer interface, storing it in the frame buffer, and generating the serial display data and scanning control timing required by the monitor according to a partitioned driving method.

[0045] Taking a liquid crystal display (LCD) as an example, LCD monitors primarily display various text, symbols, and graphics. The displayed information is edited by a computer, pre-loaded into the LCD monitor's frame memory via interfaces such as VGA, and then displayed screen by screen in a loop. It offers a rich variety of display modes and can operate offline. Due to its flexible control, ease of operation, high stability, and long lifespan, LCD monitors are widely used in various industries.

[0046] based on Figure 1 In the application scenario described, when verifying whether the image data processed by the graphics processor is correct, the image data is output through the interface of the display controller for verification, in order to verify whether the graphics processor is working properly, including whether the graphics processor processes the image data correctly and whether the output of the processed image data is correct.

[0047] In one possible implementation, a simulation tool is used to simulate the processed image data output by the display controller, and then the waveform file generated during the simulation process is displayed as a simulated waveform. Figure 2 An exemplary embodiment of this application provides a schematic diagram of a simulation waveform, such as... Figure 2 As shown, in the simulation waveform, the image data signal is output periodically in the form of high and low levels. The tester can observe the shape of the waveform to determine whether the output image data signal is correct. Figure 3 This example illustrates another simulation waveform diagram provided in an embodiment of this application. Figure 3 As shown, the image data signal exhibits a distinct sawtooth pattern in the waveform, indicating that deviations may have occurred during the processing or transmission of the image data.

[0048] In the above process, the signal waveform of the image data only appears as shown in the figure. Figure 3 Only when a clearly visible abnormal shape is observed can testers detect potential deviations in the image data during processing or transmission. If the signal waveform of the image data only exhibits minute fluctuations, testers will not be able to detect them with the naked eye. For example, in... Figure 2 In this process, the duration of the high and low level cycles may vary, with some cycles being longer or shorter than others. This indicates that the image data received by the display is uneven, potentially resulting in color deviations during display. However, these slight variations in cycle length are not immediately apparent to testers; they can only be observed by magnifying the timeline. Therefore, this method of verifying image data normality is unreliable.

[0049] Another possible implementation involves writing a checker to automatically inspect the image data signals output from the display controller interface. However, this checker relies heavily on the correctness of the programming language and statements. Only checkers that match the signal waveform of the image data are applicable. Therefore, different checkers need to be written for different image data, making the checker development process arduous and requiring significant manpower and resources.

[0050] Based on this, this application provides a display verification method for verifying data to be displayed on a monitor, thereby improving the accuracy of verification and saving computing and human resources.

[0051] Figure 4 This illustration shows a flowchart of a display verification method provided in an embodiment of this application. This display verification method is applicable to display control modules designed based on Register Transfer Level (RTL) circuits. At the RTL level, a circuit consists of a set of registers and logical operations between them. This is because most circuits can be viewed as storing binary data in registers, processing data through logical operations between registers, and controlling the data processing flow using a timing state machine. These processes and controls can be described using a hardware description language (HDL). HDL is a language for describing the behavior, structure, and data flow of electronic system hardware. Using this language, the design of a digital circuit system can be described layer by layer from top to bottom (from abstract to concrete), using a series of hierarchical modules to represent an extremely complex digital system. Then, using Electronic Design Automation (EDA) tools, simulation verification is performed layer by layer. The modules that need to be transformed into actual circuits are then combined and converted into a gate-level circuit netlist using an automatic synthesis tool. Next, use application-specific integrated circuits or field-programmable gate arrays (FPGAs) to automatically place and route the netlist, converting it into the specific circuit routing structure to be implemented.

[0052] based on Figure 1 Based on the application scenarios and the above structure, the image data output by the display controller can be simulated on the display control module and output as variables.

[0053] like Figure 4 As shown, the method includes:

[0054] Step 401: Generate a stimulus image and transmit the processed stimulus image to the display control module. The stimulus image can be an image of any color and brightness, and the content of the image is not limited; it can be any visible image. The stimulus image can be stored in the hard drive beforehand and generated during execution. Figure 4 In the method described, the stimulus image needs to be generated first, that is, retrieved from the hard drive and loaded into the graphics processing module so that the graphics processing module can process the stimulus image. After processing the stimulus image, the graphics processing module sends it to the display control module. The display control module can output image data according to certain control logic.

[0055] Step 402: Obtain the control data and pixel data output by the display control module.

[0056] Step 403: According to the control data, set the pixel data as the parameter values ​​of the graphics programming function. In this step, based on the data content in the control data, the pixel data can be saved step by step, and then set as the parameter values ​​of the graphics programming function. The graphics programming function is stored in advance in the graphics programming function library, which includes a variety of graphics programming functions for selection. For example, the graphics toolkit (GTK) can be called to implement graphics programming.

[0057] Step 404: Call the graphics programming function to obtain the verification image; the verification image is used to display on the display screen to determine whether the display control module meets the preset function.

[0058] The graphics programming function can obtain a visible verification image based on pixel data, and the verification image can be displayed directly on the screen. It should be noted that the screen in this step can be the screen of any terminal, and is not limited to... Figure 1 The display shown can also be a server display screen. Since the display control module is used to output image data from the graphics processing module, verifying whether the display control module meets the preset functions can determine whether the graphics processing module's functions meet expectations.

[0059] In step 402 above, the control data includes a first control parameter characterizing the frame synchronization signal, a second control parameter characterizing the line synchronization signal, and a third control parameter characterizing the data validity signal.

[0060] Figure 5 An exemplary illustration shows a timing diagram of control data provided in an embodiment of this application, such as... Figure 5 As shown, the frame synchronization signal, line synchronization signal, and data valid signal are generated and output by the display control module. The frame synchronization signal indicates the arrival of a new frame of image data, the line synchronization signal indicates the arrival of a new line of image data, and the data valid signal indicates that the arriving image data is valid, i.e., usable.

[0061] In step 402 above, after receiving the first control parameter that meets the first change requirement from the output of the display control module, it is determined whether a third control parameter with the first value is received after receiving N second control parameters that meet the second change requirement; if a third control parameter with the first value is received, it is determined whether pixel data is received.

[0062] For example, the first change requirement and the second change requirement can be that the first control parameter changes from a low level to a high level, as in... Figure 5At position A, after the rising edge of the first control parameter arrives, it checks whether the second control parameter has changed from low to high. If both conditions are met, it checks whether the third control parameter is the first value. Figure 5 As shown, if 0 represents low level and 1 represents high level, then when the third control parameter is 1, that is... Figure 5 The region between positions B and C is used to determine whether pixel data has been received.

[0063] The control data also includes a fourth control parameter characterizing the clock signal; in step 402 above, after receiving M fourth control parameters that meet the third change requirements from the display control module, the received pixel data is determined during each fourth control parameter that meets the third change requirements.

[0064] Figure 6 This illustration shows a timing diagram of another type of control data provided in an embodiment of this application. Figure 6 Yes Figure 5 The area marked by the dashed line was enlarged to obtain the result, such as... Figure 5 As shown, the third change requirement is that during the transition of the fourth control parameter from low to high and then back to low, it is determined whether pixel data has been received. That is, during... Figure 6 The region between positions D and E in the image is used to determine the received pixel data.

[0065] For example, pixel data can also be acquired when the rising edge of the fourth control parameter arrives. Specifically, pixel data of the m-th pixel in the n-th row is acquired after the rising edge of the n-th second control parameter and the rising edge of the m-th fourth control parameter arrive.

[0066] In the following two cases, it can be directly determined that the display control module does not meet the preset function:

[0067] Scenario 1: The third control parameter of the first value was not received. The third control parameter is used to indicate that the image data is valid. In this case, it means that there is no valid image data. The default function is to process the image data. The absence of valid image data indicates that the control data does not conform to the default function.

[0068] Scenario 2: No pixel data received. In this case, it indicates that the pixel data output by the display control module does not conform to the preset function. This could be due to an error in the graphics processing module or an error in the display control module.

[0069] Each pixel data point includes a first sub-data point representing red, a second sub-data point representing green, and a third sub-data point representing blue. This pixel data format is an RGB pixel data type, in which the first, second, and third sub-data points together represent the final color and brightness of the pixel. For example, a first sub-data point value of 44, a second sub-data point value of 76, and a third sub-data point value of 212 can represent a deep blue.

[0070] In step 403 above, when the control data meets the preset pixel data output requirements, the first sub-data, the second sub-data, and the third sub-data of each acquired pixel data are set as parameter values ​​of the graphics programming function; then, the graphics programming function is called to calculate the parameter values ​​to obtain the color of each pixel.

[0071] The methods described in steps 401-404 above can be applied to a simulation platform. The simulation platform can be deployed on any terminal. Chip designs involve inputs and outputs. However, in a software environment, there are no stimulus inputs, and the correctness of the chip design's output cannot be evaluated. Therefore, a simulation platform is needed to simulate the input stimuli and output verification of a real-world environment. On this simulation platform, the chip design can be analyzed and verified at the software level. The display control module can be instantiated using this simulation platform to output control data and pixel data.

[0072] Therefore, based on the same technical concept, this application also provides a simulation platform. Figure 7 A schematic diagram of a simulation platform provided in an embodiment of this application is shown as an example. Figure 7 As shown, the simulation platform can be deployed on a server and includes: an excitation module, a display control module based on register-transfer level RTL design, a simulation model, and a display screen;

[0073] The stimulus module is used to generate stimulus images;

[0074] The display control module is used to output control data and pixel data corresponding to the excitation image;

[0075] The simulation model is used to set the pixel data as parameter values ​​of a graphics programming function according to the control data; and call the graphics programming function to obtain a verification image.

[0076] The display screen is used to display the verification image.

[0077] Based on the same technical concept, this application also provides a display verification device. Figure 8 An exemplary schematic diagram of a display verification device provided in an embodiment of this application is shown. This device can perform the aforementioned display verification method, such as...Figure 8 As shown, the device includes:

[0078] The excitation module is used to generate excitation images and transmit the processed excitation images to the display control module;

[0079] The acquisition module is used to acquire the control data and pixel data output by the display control module;

[0080] The setting module is used to set the pixel data as parameter values ​​of the graphics programming function according to the control data;

[0081] The determination module is used to call the graphics programming function to obtain a verification image; the verification image is used to display on the display screen to determine whether the display control module meets the preset function.

[0082] The control data includes a first control parameter characterizing the frame synchronization signal, a second control parameter characterizing the line synchronization signal, and a third control parameter characterizing the data validity signal.

[0083] The acquisition module is specifically used to, after receiving the first control parameter output by the display control module that meets the first change requirement, determine whether a third control parameter with the first value is received after receiving N second control parameters that meet the second change requirement; if a third control parameter with the first value is received, then determine whether pixel data is received.

[0084] The control data also includes a fourth control parameter characterizing the clock signal;

[0085] The acquisition module is specifically used to determine the received pixel data during each of the four control parameters that meet the third change requirements after receiving M fourth control parameters that meet the third change requirements from the display control module.

[0086] The determining module is further configured to: if a third control parameter of the first value is not received, determine that the control data output by the display control module does not conform to the preset function; and / or, if pixel data is not received, determine that the pixel data output by the display control module does not conform to the preset function.

[0087] Each pixel data includes a first sub-data representing red, a second sub-data representing green, and a third sub-data representing blue;

[0088] The setting module is specifically used to set the first sub-data, second sub-data, and third sub-data of each acquired pixel data as parameter values ​​of the graphics programming function when the control data meets the preset pixel data output requirements; the determining module is specifically used to call the graphics programming function to calculate the parameter values ​​to obtain the color of each pixel.

[0089] Based on the same technical concept, embodiments of the present invention also provide a computer program product, which, when run on a processor, implements the following: Figure 4 The method shown.

[0090] Based on the same technical concept, embodiments of the present invention also provide a computing device, including: a memory for storing program instructions;

[0091] The processor is used to call program instructions stored in the memory and execute them according to the obtained program. Figure 4 The method shown.

[0092] Based on the same technical concept, embodiments of the present invention also provide a computer-readable storage medium, which, when the computer program product is run on a processor, implements the following: Figure 4 The method shown.

[0093] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0094] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0095] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0096] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0097] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for display verification, characterized in that, The method is applicable to display control modules based on register-transfer-level (RTL) design; the method includes: A stimulus image is generated, and the processed stimulus image is transmitted to the display control module; The control data and pixel data output by the display control module are obtained; the control data includes a first control parameter representing the frame synchronization signal, a second control parameter representing the line synchronization signal, and a third control parameter representing the data validity signal; each pixel data includes a first sub-data representing red, a second sub-data representing green, and a third sub-data representing blue. According to the control data, setting the pixel data as parameter values ​​of the graphics programming function includes: when the control data meets the preset pixel data output requirements, setting the first sub-data, the second sub-data, and the third sub-data of each acquired pixel data as parameter values ​​of the graphics programming function, respectively. The verification image is obtained by calling the graphics programming function; the verification image is displayed on the display screen to determine whether the display control module meets the preset function; wherein, calling the graphics programming function to obtain the verification image includes: calling the graphics programming function to calculate the parameter value to obtain the color of each pixel; The method further includes: If the third control parameter of the first value is not received, it is determined that the control data output by the display control module does not conform to the preset function; and / or if pixel data is not received, it is determined that the pixel data output by the display control module does not conform to the preset function.

2. The method as described in claim 1, characterized in that, Acquiring the control data and pixel data output by the display control module includes: After receiving the first control parameter that meets the first change requirement from the output of the display control module, determine whether a third control parameter with the first value is received after receiving N second control parameters that meet the second change requirement; If the third control parameter of the first value is received, then it is determined whether pixel data has been received.

3. The method as described in claim 2, characterized in that, The control data also includes a fourth control parameter characterizing the clock signal; Determining whether pixel data has been received includes: After receiving M fourth control parameters that meet the third change requirements from the display control module, the received pixel data is determined during each fourth control parameter that meets the third change requirements.

4. The method according to any one of claims 1 to 3, characterized in that, The method is applied to a simulation platform; Acquiring the control data and pixel data output by the display control module includes: The display control module is instantiated through the simulation platform, thereby outputting control data and pixel data.

5. A simulation platform, characterized in that, include: Excitation module, display control module based on register-transfer level RTL design, simulation model and display screen; The stimulus module is used to generate stimulus images; The display control module is used to output control data and pixel data corresponding to the excitation image; the control data includes a first control parameter representing the frame synchronization signal, a second control parameter representing the line synchronization signal, and a third control parameter representing the data validity signal; each pixel data includes a first sub-data representing red, a second sub-data representing green, and a third sub-data representing blue; The simulation model is used to set the pixel data as parameter values ​​of the graphics programming function according to the control data; The simulation model is used to call the graphics programming function to obtain a verification image; specifically, when the control data meets the preset pixel data output requirements, the model sets the first sub-data, second sub-data, and third sub-data of each acquired pixel data as parameter values ​​of the graphics programming function; and calls the graphics programming function to calculate the parameter values ​​to obtain the color of each pixel. The display screen is used to display the verification image.

6. A display verification device, characterized in that, The device includes: The excitation module is used to generate excitation images and transmit the processed excitation images to the display control module; The acquisition module is used to acquire the control data and pixel data output by the display control module; the control data includes a first control parameter representing the frame synchronization signal, a second control parameter representing the line synchronization signal, and a third control parameter representing the data validity signal; each pixel data includes a first sub-data representing red, a second sub-data representing green, and a third sub-data representing blue; The setting module is used to set the pixel data as parameter values ​​of the graphics programming function according to the control data; specifically, the setting module is used to set the first sub-data, second sub-data, and third sub-data of each acquired pixel data as parameter values ​​of the graphics programming function when the control data meets the preset pixel data output requirements. The determining module is used to call the graphics programming function to obtain a verification image; the verification image is used to display on the display screen to determine whether the display control module meets the preset function; when the determining module calls the graphics programming function to obtain the verification image, it is specifically used to: call the graphics programming function to calculate the parameter value to obtain the color of each pixel; The determining module is further configured to determine that the control data output by the display control module does not conform to the preset function if the third control parameter of the first value is not received; and / or determine that the pixel data output by the display control module does not conform to the preset function if pixel data is not received.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, performs the method as described in any one of claims 1 to 4.

8. A computing device, characterized in that, include: Memory, used to store program instructions; A processor is configured to invoke program instructions stored in the memory and execute the method as described in any one of claims 1 to 4 according to the obtained program.

Citation Information

Patent Citations

  • Checking platform for display and control type intellectual property (IP)

    CN102567589A

  • Verification platform and verification method

    CN113115112A