Instruction jump prediction table updating method and device and computer equipment

By dynamically updating the instruction jump prediction table of the Pattern program, the instruction flow interruption problem of ALPG when running at high frequencies is solved, achieving more efficient and accurate test signal output, and improving the reliability of test results.

CN119861947APending Publication Date: 2025-04-22SEICHI INTEGRATED CIRCUIT (HEFEI) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411938102.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

In chip automation test equipment (ATE), when the algorithm mode generator (ALPG) is running at high frequencies, traditional pipeline technology causes the instruction jump prediction table to be untimely updated, resulting in the instruction flow interruption (bubble), affecting the accuracy and efficiency of the test results.

Method used

Provides a method for updating the instruction jump prediction table. By detecting the change in register value of the test master program, dynamically update the instruction jump prediction table of the Pattern program, ensuring that the ALPG can correctly execute the Pattern program when changes and eliminate instruction interruption.

Benefits of technology

This method effectively eliminates instruction flow interruption, improves the operating efficiency of ALPG and the accuracy of signal output, meets the needs of the production and signal output of test vectors at high frequencies, and improves the reliability of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119861947A_ABST
    Figure CN119861947A_ABST
Patent Text Reader

Abstract

The invention relates to an instruction jump prediction table updating method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the steps that an original text of the Pattern program is compiled, a compiled Pattern program file is obtained, and the Pattern program file comprises an instruction jump prediction table of the Pattern program; detecting and analyzing a test master control program of the algorithm mode generator; and under the condition of determining that the test main control program modifies the initial setting value of the register in the algorithm mode generator based on the detection analysis result, regenerating an instruction jump prediction table of the Pattern program by utilizing the test main control program according to the modified initial setting value. By the adoption of the method, it can be ensured that when the register value of the ALPG testing main control program changes, the instruction jump prediction table is dynamically updated, so that the Pattern program is correctly executed, the situation of instruction cut-off is completely eliminated, and the testing efficiency and the signal output accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of chip testing technology, and in particular to an instruction jump prediction table updating method, apparatus, computer equipment, computer-readable storage medium and computer program product. Background Art

[0002] In the field of chip automated test equipment (ATE), with the development of integrated circuit (IC) technology, the requirements for chip quality and reliability are increasing, and the testing methods are becoming more complex. The core task of ATE equipment is to perform quality inspection on IC chips and distinguish qualified from unqualified products. Test vectors are key inputs generated by ATE equipment to execute pattern programs and are used to test DUT devices. As part of ATE equipment, the algorithmic pattern generator (ALPG) is responsible for running the pattern program and outputting test signals.

[0003] In order to adapt to the improvement of DDR chip specifications, ALPG needs to run at a higher frequency, which requires the use of multi-stage pipeline technology. However, traditional pipeline technology will cause instruction interruption, that is, "bubbles", which is unacceptable in the DSP field because it will cause unexpected signal output.

[0004] Therefore, there is an urgent need for an instruction jump prediction table updating method, device, computer equipment, computer readable storage medium and computer program product that can ensure that ALPG dynamically updates the instruction jump prediction table when the register value of the test main control program changes, thereby correctly executing the Pattern program, completely eliminating the instruction interruption situation, and improving the test efficiency and the accuracy of the signal output. Summary of the invention

[0005] Based on this, it is necessary to provide an instruction jump prediction table updating method, device, computer equipment, computer readable storage medium and computer program product to address the above technical problems, which can ensure that ALPG dynamically updates the instruction jump prediction table when the register value of the test main control program changes, thereby correctly executing the Pattern program, completely eliminating the instruction interruption situation, and improving the test efficiency and the accuracy of the signal output.

[0006] In a first aspect, the present application provides a method for updating an instruction jump prediction table, comprising:

[0007] Compiling the original text of the Pattern program to obtain a compiled Pattern program file, wherein the Pattern program file includes an instruction jump prediction table of the Pattern program;

[0008] Conducting detection and analysis on the test main control program of the algorithm pattern generator to obtain the detection and analysis results;

[0009] In the case where it is determined based on the detection and analysis result that the test main control program has modified the initial setting value of the register in the algorithm pattern generator, using the test main control program to regenerate the instruction jump prediction table of the Pattern program according to the modified initial setting value;

[0010] The instruction jump prediction table of the regenerated Pattern program is loaded by using a test machine, and the instruction jump prediction table of the regenerated Pattern program is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0011] In one embodiment, after the detection and analysis of the test main control program of the algorithm pattern generator is obtained, the method further includes:

[0012] When it is determined based on the detection and analysis results that the test main control program has not modified the initial setting value of the register in the algorithm pattern generator, the instruction jump prediction table of the Pattern program in the Pattern program file is loaded using a test machine, and the instruction jump prediction table of the Pattern program in the Pattern program file is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0013] In one embodiment, the Pattern program file further includes a list of initial setting values ​​of Pattern program instructions and registers; and regenerating the instruction jump prediction table of the Pattern program according to the modified initial setting values ​​includes:

[0014] According to the modified initial setting values, using the test machine to update the initial setting value list of the register;

[0015] Generate a regeneration request message for an instruction jump prediction table according to the Pattern program instruction and the updated initial setting value list, and send the regeneration request message;

[0016] An instruction jump prediction table of the regenerated Pattern program returned based on the regeneration request message is obtained.

[0017] In one embodiment, after the detection and analysis of the test main control program of the algorithm pattern generator is obtained, the method further includes:

[0018] When it is determined based on the detection and analysis results that the Pattern program has modified the initial setting values ​​of the registers in the algorithm pattern generator, the Pattern program file is recompiled using the Pattern compiler according to the modified initial setting values ​​to obtain the instruction jump prediction table of the regenerated Pattern program.

[0019] In one of the embodiments, when the test main control program and the Pattern program simultaneously modify the initial setting value of the register in the algorithm pattern generator, the modification priority of the test main control program is higher than the modification priority of the Pattern program.

[0020] In one embodiment, the register initial setting value list includes the register initial setting value of the conditional jump flag, the register initial setting value of the entry address of the internal refresh interrupt program, the register initial setting value of the pause timer duration, the register initial setting value of the refresh timer duration and the register initial setting value of the number of loops of the loop instruction.

[0021] In a second aspect, the present application further provides an instruction jump prediction table updating device, comprising:

[0022] A compiling module, used for compiling the original text of the Pattern program to obtain a compiled Pattern program file, wherein the Pattern program file includes an instruction jump prediction table of the Pattern program;

[0023] The detection and analysis module is used to detect and analyze the test main control program of the algorithm pattern generator to obtain the detection and analysis results;

[0024] An instruction jump prediction table regeneration module is used to regenerate the instruction jump prediction table of the Pattern program according to the modified initial setting value by using the test main control program when it is determined based on the detection and analysis result that the test main control program has modified the initial setting value of the register in the algorithm pattern generator;

[0025] The control module is used to load the instruction jump prediction table of the regenerated Pattern program by using the test machine, and write the instruction jump prediction table of the regenerated Pattern program into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0026] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0027] Compiling the original text of the Pattern program to obtain a compiled Pattern program file, wherein the Pattern program file includes an instruction jump prediction table of the Pattern program;

[0028] Conducting detection and analysis on the test main control program of the algorithm pattern generator to obtain the detection and analysis results;

[0029] In the case where it is determined based on the detection and analysis result that the test main control program has modified the initial setting value of the register in the algorithm pattern generator, using the test main control program to regenerate the instruction jump prediction table of the Pattern program according to the modified initial setting value;

[0030] The instruction jump prediction table of the regenerated Pattern program is loaded by using a test machine, and the instruction jump prediction table of the regenerated Pattern program is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0031] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0032] Compiling the original text of the Pattern program to obtain a compiled Pattern program file, wherein the Pattern program file includes an instruction jump prediction table of the Pattern program;

[0033] Conducting detection and analysis on the test main control program of the algorithm pattern generator to obtain the detection and analysis results;

[0034] In the case where it is determined based on the detection and analysis result that the test main control program has modified the initial setting value of the register in the algorithm pattern generator, using the test main control program to regenerate the instruction jump prediction table of the Pattern program according to the modified initial setting value;

[0035] The instruction jump prediction table of the regenerated Pattern program is loaded by using a test machine, and the instruction jump prediction table of the regenerated Pattern program is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0036] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0037] Compiling the original text of the Pattern program to obtain a compiled Pattern program file, wherein the Pattern program file includes an instruction jump prediction table of the Pattern program;

[0038] Conducting detection and analysis on the test main control program of the algorithm pattern generator to obtain the detection and analysis results;

[0039] In the case where it is determined based on the detection and analysis results that the test main control program has modified the initial setting value of the register in the algorithm pattern generator, using the test main control program to regenerate the instruction jump prediction table of the Pattern program according to the modified initial setting value;

[0040] The instruction jump prediction table of the regenerated Pattern program is loaded by using a test machine, and the instruction jump prediction table of the regenerated Pattern program is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0041] The above-mentioned instruction jump prediction table updating method, device, computer equipment, computer-readable storage medium and computer program product ensure that ALPG can correctly execute the Pattern program when the register value of the test main control program changes by dynamically updating the instruction jump prediction table, thereby completely eliminating the situation of instruction interruption. This method of eliminating "bubbles" improves the operating efficiency of ALPG, especially when running at high frequencies, which is extremely important for the production of test vectors and the accuracy of signal output. Due to the elimination of instruction interruption, ALPG can generate more accurate test signals. Unexpected signal output will cause inaccurate test results, and this technical solution improves the reliability of test results by ensuring the continuity and accuracy of signal output. By supporting ALPG to run at higher frequencies, ATE equipment can adapt to the improvement of DDR chip specifications and meet the testing requirements of higher performance chips. By dynamically setting the value of the register in the test main control program, and these settings have a higher priority than the Pattern program. This flexibility allows the test process to be adjusted as needed without rewriting the entire Pattern program, thereby improving the adaptability and flexibility of the test process. The development of this application is simple and rapid, and the existing Pattern compiler can be reused to generate the "instruction jump prediction table JumpTab", reducing the workload of development and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 An application environment diagram of an instruction jump prediction table updating method in one embodiment;

[0044] Figure 2 A schematic diagram of a flow chart of a method for updating an instruction jump prediction table in one embodiment;

[0045] Figure 3 is a flow chart of a method for updating an instruction jump prediction table in another embodiment;

[0046] Figure 4 It is a flowchart of the instruction jump prediction table updating method in the most detailed embodiment;

[0047] Figure 5 It is a structural block diagram of an instruction jump prediction table updating device in one embodiment;

[0048] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0049] In today's rapidly developing semiconductor industry, the quality and reliability of integrated circuits (ICs) are critical to the performance of electronic products. With the advancement of technology, the scale and complexity of integrated circuits continue to increase, and higher requirements are placed on circuit testing methods. As a key tool in this process, chip automated test equipment (ATE) has the main task of performing quality inspection on the produced IC chips to distinguish qualified from unqualified products and ensure product quality and reliability.

[0050] One of the core components of ATE equipment is the algorithmic pattern generator (ALPG), which is responsible for running the pattern program and outputting test signals. The pattern program is a series of instructions used to generate test vectors, which are the logic 1 and logic 0 data applied to the DUT (Device Under Test) pins every clock cycle. These test vectors are an integral part of IC testing, and they are used to test or operate the DUT to determine whether it meets the specifications.

[0051] As DDR chip specifications continue to increase, ALPG needs to run at a higher frequency to generate a signal flow that matches the high-frequency operation of DDR. To achieve this goal, the traditional method is to use multi-stage pipeline technology, but this method will cause instruction interruption, the so-called "bubble". In the field of digital signal processing (DSP), this "bubble" is unacceptable because it will cause unexpected signal output, disrupt the normal DSP output signal flow, and thus affect the accuracy of the test results.

[0052] In the traditional CPU field, technologies such as branch prediction are used to reduce the generation of "bubbles" to improve the operating efficiency of the CPU. However, these technologies cannot completely eliminate "bubbles", and in the traditional CPU field, a small amount of "bubbles" is acceptable. But in DSP applications such as test machines, any "bubble" cycle is intolerable because it means unexpected signal output, which will seriously affect the accuracy and reliability of the test.

[0053] Faced with this challenge, although current ATE manufacturers can support ALPG bubble-free operation at frequencies up to 300MHz, there are limitations in achieving ALPG high-frequency operation without bubbles. A new technical solution is urgently needed to solve this problem.

[0054] The technical solution of this application is to solve this key problem. It provides an instruction jump prediction table update method, which can dynamically update the instruction jump prediction table when the register value of the test master program changes, thereby ensuring that ALPG can correctly execute the pattern program and completely eliminate the situation of instruction interruption. This method not only improves the test efficiency, but also improves the accuracy of signal output, meeting the demand for high-performance ATE equipment in the IC test field.

[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0056] The instruction jump prediction table updating method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the server 102 communicates with the server 104 via a network. The data storage system can store data that the server 102 / server 104 needs to process. The data storage system can be integrated on the server 102 / server 104, or placed on the cloud or other network servers.

[0057] Server 104 compiles the original text of the Pattern program to obtain a compiled Pattern program file, which includes an instruction jump prediction table of the Pattern program; server 104 controls server 102 to detect and analyze the test main control program of the algorithm pattern generator to obtain the detection and analysis results; when server 104 determines based on the detection and analysis results that the test main control program has modified the initial setting values ​​of the registers in the algorithm pattern generator, it uses the test main control program to regenerate the instruction jump prediction table of the Pattern program according to the modified initial setting values; uses the test machine to load the regenerated instruction jump prediction table of the Pattern program, and writes the regenerated instruction jump prediction table of the Pattern program into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0058] Among them, server 102 / server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.

[0059] In an exemplary embodiment, Figure 2 As shown, a method for updating an instruction jump prediction table is provided, and the method is applied to Figure 1 The server 104 in the example is used as an example to illustrate the method, which includes the following steps S202 to S208. Among them:

[0060] Step S202, compile the original text of the Pattern program to obtain a compiled Pattern program file, where the Pattern program file includes an instruction jump prediction table of the Pattern program.

[0061] Specifically, the original text of the Pattern program is a series of instructions written by the tester to control the ATE equipment to generate test vectors and expected responses. These instructions include sequences, loops, jumps, etc., which are similar to the instruction set of the CPU. The compiler parses and processes these original texts of the Pattern program and converts them into compiled Pattern program files. This process includes steps such as syntax checking, semantic analysis, and code optimization to ensure that the Pattern program can be correctly understood and executed by ALPG. In the Pattern program, there are some conditional jump instructions that determine the execution flow of the program based on the values ​​of specific registers. The compiler needs to predict the execution results of these conditional jump instructions and generate an instruction jump prediction table (JumpTab) to guide ALPG on how to correctly jump instructions at runtime. When generating JumpTab, the compiler will deduce the subsequent branch instructions of the predicted instruction based on the initial setting value of the register.

[0062] Step S204, performing detection and analysis on the test main control program of the algorithm pattern generator to obtain detection and analysis results.

[0063] Specifically, the test main control program refers to the Main Program or the Test Plan Program, and the test main control program can be used to modify the initial setting value of the register.

[0064] Step S206, when it is determined based on the detection and analysis results that the test main control program has modified the initial setting value of the register in the algorithm pattern generator, the test main control program is used to regenerate the instruction jump prediction table of the Pattern program according to the modified initial setting value.

[0065] Specifically, the new register initial setting values ​​provided by the test master program are used, which reflect the latest modification of the ALPG registers by the test master program. According to these modified initial setting values, the JumpTab of the Pattern program is recalculated and generated. Since JumpTab relies on the value of the register to predict the execution path of the conditional jump instruction, any change in the register value may affect the jump logic of the program.

[0066] Load the newly generated JumpTab into the JumpTab space of ALPG so that ALPG can perform instruction jumps according to the latest JumpTab when executing the Pattern program, ensuring that the program can be executed correctly and avoiding execution errors caused by changes in register values.

[0067] Step S208, using the test machine to load the instruction jump prediction table of the regenerated Pattern program, and write the instruction jump prediction table of the regenerated Pattern program into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0068] Specifically, the test machine refers to the physical device or system that executes the test process. It is responsible for running the test master program, executing the Pattern program, and controlling test components such as ALPG. The test machine is used to load a new JumpTab and copy the regenerated JumpTab from the storage medium of the test machine (such as a hard disk, SSD, etc.) to the memory or cache of ALPG, because ALPG needs to use JumpTab to decide the instruction jump when executing the Pattern program. There is a special storage area in ALPG, called the table space of the instruction jump prediction table (JumpTab table space). This table space is used to store the currently valid JumpTab so that ALPG can quickly access and use it when executing the Pattern program. Writing a new JumpTab to this table space actually updates the execution basis of ALPG, ensuring that ALPG can execute the Pattern program according to the latest JumpTab.

[0069] By writing the new JumpTab into the ALPG tablespace, you can ensure that ALPG uses the same JumpTab as the register value set by the test master program when executing the Pattern program. This helps avoid execution errors or inaccurate test results caused by register value changes. By dynamically updating the JumpTab, ALPG can adapt to register value changes during the test, thereby improving test efficiency and accuracy.

[0070] In the above-mentioned instruction jump prediction table updating method, by dynamically updating the instruction jump prediction table, it is ensured that ALPG can correctly execute the Pattern program when the register value of the test master program changes, thereby completely eliminating the situation of instruction interruption. This method of eliminating "bubbles" improves the operating efficiency of ALPG, especially when running at high frequencies, which is extremely important for the production of test vectors and the accuracy of signal output. Due to the elimination of instruction interruption, ALPG can generate more accurate test signals. Unexpected signal output will cause inaccurate test results, and this technical solution improves the reliability of test results by ensuring the continuity and accuracy of signal output. By supporting ALPG to run at a higher frequency, ATE equipment can adapt to the improvement of DDR chip specifications and meet the testing requirements of higher performance chips. By dynamically setting the value of the register in the test master program, and these settings have a higher priority than the Pattern program. This flexibility allows the test process to be adjusted as needed without rewriting the entire Pattern program, thereby improving the adaptability and flexibility of the test process. The development of this application is simple and rapid, and the existing Pattern compiler can be reused to generate the "instruction jump prediction table JumpTab", reducing the workload of development and maintenance.

[0071] In an exemplary embodiment, after performing detection and analysis on the test main control program of the algorithm pattern generator and obtaining the detection and analysis results, the method further includes:

[0072] When it is determined based on the detection and analysis results that the test main control program has not modified the initial setting value of the register in the algorithm pattern generator, the test machine is used to load the instruction jump prediction table of the Pattern program in the Pattern program file, and the instruction jump prediction table of the Pattern program in the Pattern program file is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0073] Specifically, if the detection and analysis results show that the test main control program has not modified the initial setting value of the register, then the JumpTab in the Pattern program file will be loaded. Since the initial setting value of the register has not been modified, this means that the instruction jump prediction table (JumpTab) already included in the Pattern program file is still valid. Therefore, there is no need to regenerate the JumpTab, but directly use the JumpTab already existing in the Pattern program file.

[0074] The test machine is responsible for performing specific test operations, including loading and writing JumpTab. The test machine will read the Pattern program file from the storage medium (such as a hard disk) and extract the JumpTab therein. The extracted JumpTab is written into the table space of the ALPG instruction jump prediction table. This table space is the area in ALPG used to store the currently valid JumpTab so that ALPG can quickly access this information when executing the Pattern program.

[0075] By writing the JumpTab in the Pattern program file into the ALPG table space, it is ensured that ALPG can perform instruction jumps according to the correct JumpTab when executing the Pattern program. This helps maintain the continuity and accuracy of the test process and avoids execution errors caused by changes in register values. Since there is no need to regenerate the JumpTab, this step helps save resources and time and improve the efficiency of the overall test process.

[0076] In this embodiment, the measures taken when determining that the test main control program has not modified the initial setting value of the ALPG register are intended to ensure that the ALPG can use the correct JumpTab to execute the Pattern program, thereby ensuring the accuracy and efficiency of the test. In this way, the test process can flexibly adapt to different test requirements while maintaining high efficiency and reliability.

[0077] In an exemplary embodiment, the Pattern program file also includes a list of Pattern program instructions and initial setting values ​​of registers; Figure 3 As shown, according to the modified initial setting value, the instruction jump prediction table of the Pattern program is regenerated, including:

[0078] Step S302, using the test machine to update the initial setting value list of the register according to the modified initial setting value;

[0079] Step S304, generating a regeneration request message of the instruction jump prediction table according to the Pattern program instruction and the updated initial setting value list, and sending the regeneration request message;

[0080] Step S306, obtaining the instruction jump prediction table of the regenerated Pattern program returned based on the regeneration request message.

[0081] Specifically, the Pattern program file contains not only the instructions required to execute the Pattern program, but also a list of initial setting values ​​of registers. These initial values ​​have a direct impact on the execution flow of the Pattern program, especially the execution path of the conditional jump instruction.

[0082] When the test master program modifies the initial setting values ​​of the registers, these changes need to be reflected in the JumpTab, because JumpTab predicts conditional jump instructions based on these register values. Therefore, JumpTab needs to be regenerated based on these modified initial setting values ​​to ensure that JumpTab can accurately predict instruction jumps under the new register value conditions.

[0083] The test machine is a physical device or system that executes the test process. It is responsible for updating the register initial setting value list according to the instructions of the test master program, ensuring that ALPG uses the latest register initial setting value when executing the Pattern program.

[0084] Once the initial setting value of the register is updated, the test machine needs to generate a request message containing the Pattern program instruction and the updated initial setting value list. This request message is a request to regenerate JumpTab to the module responsible for regenerating JumpTab (which can be Pattern compiler or independent software module).

[0085] The test machine sends this request message to the corresponding module, requesting to regenerate the JumpTab. This request message contains all the necessary information so that the JumpTab generation module can regenerate the JumpTab according to the latest register initial setting value and Pattern program instruction. The module that receives the regeneration request message will process this request and return a JumpTab regenerated based on the latest information. The test machine receives this new JumpTab and loads it into the JumpTab table space of ALPG to replace the old JumpTab.

[0086] In this embodiment, this process ensures that when the initial setting value of the register changes, ALPG can use the latest JumpTab to execute the Pattern program, thereby ensuring the accuracy and continuity of the test process. By dynamically updating JumpTab, ALPG can adapt to changes in the test process and improve the flexibility and reliability of the test.

[0087] In an exemplary embodiment, after performing detection and analysis on the test main control program of the algorithm pattern generator and obtaining the detection and analysis results, the method further includes:

[0088] When it is determined based on the detection and analysis results that the Pattern program has modified the initial setting values ​​of the registers in the algorithm pattern generator, the Pattern program file is recompiled using the Pattern compiler according to the modified initial setting values ​​to obtain the instruction jump prediction table of the regenerated Pattern program.

[0089] Specifically, based on the detection analysis result, it indicates whether the Pattern program has modified the initial setting value of the register in the ALPG. This result is obtained based on the analysis of the test main control program and the Pattern program.

[0090] If the detection and analysis results show that the Pattern program has indeed modified the initial setting value of the register, then these modifications need to be taken into account, and the modification priority of both the test master program and the Pattern program also needs to be considered.

[0091] According to the modified register initial setting value in the Pattern program, the Pattern program file needs to be recompiled using the Pattern compiler. This is because the register initial setting value directly affects the conditional jump instructions in the Pattern program, which depend on the register value to determine the execution process.

[0092] During the recompile process, the Pattern compiler will generate a new JumpTab based on the new register initial setting value. JumpTab is a key data structure used by ALPG to predict and determine the target address of jump instructions when executing the Pattern program. The newly generated JumpTab is loaded into the JumpTab table space of ALPG to replace the old JumpTab. In this way, ALPG will perform instruction jumps based on the latest JumpTab when executing the Pattern program, ensuring that the program can be executed correctly according to the latest register values.

[0093] Through this process, it can be ensured that even when the initial setting value of the register changes, ALPG can correctly execute the pattern program, thereby ensuring the accuracy and continuity of the test. This method allows the test process to be dynamically adjusted according to the modification of the pattern program, improving the flexibility and adaptability of the test process.

[0094] In this embodiment, after detecting that the Pattern program modifies the initial setting value of the register in the ALPG, the Pattern program is compiled again and the JumpTab is updated to ensure that the ALPG can correctly execute the Pattern program according to the latest register setting value.

[0095] In an exemplary embodiment, when the test main control program and the Pattern program simultaneously modify the initial setting value of the register in the algorithm pattern generator, the modification priority of the test main control program is higher than the modification priority of the Pattern program.

[0096] Specifically, when the test master program and the Pattern program simultaneously modify the initial setting value of the register in the algorithm pattern generator (ALPG), the modification priority of the test master program is higher than the modification of the Pattern program to avoid conflicts and ensure a unified processing rule.

[0097] When both programs attempt to modify the initial setting value of the same register, the test master program's modification will be adopted and the Pattern program's modification will be ignored according to the priority rule. The Pattern program file is recompiled using the Pattern compiler using the register initial setting values ​​determined in the test master program. This ensures that the instruction jump prediction table (JumpTab) in the Pattern program is consistent with the settings of the test master program. After recompilation, the Pattern compiler generates a new JumpTab based on the register initial setting values ​​determined in the test master program. The newly generated JumpTab is loaded into ALPG's JumpTab table space to ensure that ALPG uses the register initial setting values ​​based on the higher priority in the test master program when executing the Pattern program. With the updated JumpTab, ALPG can now execute the Pattern program while ensuring that all jump instructions are executed according to the register initial setting values ​​determined in the test master program.

[0098] In this embodiment, when the test main control program and the Pattern program simultaneously modify the initial setting value of the register in the ALPG, by setting a higher priority for the modification of the test main control program, the consistency and accuracy of the test process can be ensured, while providing fine control over the test execution process.

[0099] In an exemplary embodiment, the register initial setting value list includes the register initial setting value of the conditional jump flag, the register initial setting value of the entry address of the internal refresh interrupt program, the register initial setting value of the pause timer duration, the register initial setting value of the refresh timer duration, and the register initial setting value of the number of loops of the loop instruction.

[0100] Specifically, the register initial setting value list refers to the values ​​of some key registers that need to be preset before the algorithmic pattern generator (ALPG) starts to execute the pattern program. The initial values ​​of these registers have a direct impact on the execution process of the pattern program and the final test results. The following is a detailed explanation of the initial setting values ​​of these registers:

[0101] The initial setting value of the register of the conditional jump flag: This register is used to control the behavior of the conditional jump instruction. The conditional jump instruction will decide whether to execute the jump based on the value of this register. For example, if the value of the register is 0, it may continue to execute the next instruction; if it is not 0, it will jump to another specified address.

[0102] The initial setting value of the register of the entry address of the internal refresh interrupt program: This register stores the entry address of the internal refresh interrupt program. When ALPG executes to a certain moment, it may need to call the internal refresh interrupt program, and this register specifies the starting position of the program.

[0103] The initial setting value of the register for the pause timer duration: This register defines the duration of the pause timer. In some test scenarios, it may be necessary to suspend ALPG execution for a period of time. This register is used to set the duration of the pause.

[0104] Initial setting value of the refresh timer duration register: Similar to the pause timer, the refresh timer duration register is used to set the frequency of ALPG refresh operations. This register defines the time interval between two refresh operations.

[0105] The initial setting value of the loop instruction loop count register: In the Pattern program, the loop instruction will determine the number of loop executions based on the value of this register. The value of this register directly affects the number of repetitions of the loop body.

[0106] In this embodiment, the above initial setting values ​​control the execution process of the Pattern program, including jumps, loops and timer behaviors. The correct initial setting values ​​ensure the accuracy of the test signals and the reliability of the test process. By setting the initial setting values ​​of the above registers according to the test requirements and the instructions of the test master program, it can flexibly adapt to different test requirements and scenarios.

[0107] like Figure 4 As shown, the most detailed embodiment of the present application is:

[0108] The original text of the Pattern program is input into the Pattern compiler for compilation, and the compiled Pattern program file is output. The Pattern program file includes the instruction jump prediction table JumpTab of the Pattern program, the compiled Pattern program instructions and the initial setting value list of the register. The compiled Pattern program file is loaded using the test machine.

[0109] Run the detection program to check whether the test master program has initialized the register space of ALPG. If the test master program has not modified the register initial setting value, load the "instruction jump prediction table JumpTab" already in the Pattern program file. If it has been modified, the register initial setting value of the conditional jump flag (CndFLG REGISTER), the register initial setting value of the entry address of the internal refresh interrupt program (ISPREGISTER), the register initial setting value of the pause timer length (Time PAUSE), the register initial setting value of the refresh timer length (TimeREFRESH), and the new value of the register initial setting value of the number of loops of the loop instruction (LoopIndex) are taken from the register initial setting value list.

[0110] The new value of each register's initial setting value and the compiled Pattern program instruction are packaged to form a request message of "instruction jump prediction table Jumptab regeneration". The request message is sent to the instruction jump prediction table Jumptab regeneration module responsible for regenerating JumpTab through a network or other communication interface.

[0111] In the "Jumptab regeneration module", the new values ​​of the initial setting values ​​of each register and the compiled Pattern program instructions are used to re-derive and generate a new JumpTab. The newly generated JumpTab is sent back to the test machine as part of the response message.

[0112] The new JumpTab is loaded into the JumpTab table space of ALPG by the test machine, replacing the old JumpTab in ALPG, ensuring that ALPG uses the latest JumpTab when executing the Pattern program. The compiled Pattern program instructions are loaded into the IM space (Instruction Memory) of ALPG. ALPG executes the Pattern program correctly according to the new JumpTab and the register dynamic setting value of the test master program. Among them, ALPG also includes a program sequence controller and an address / data / control signal generator.

[0113] Ensure that ALPG executes the Pattern program correctly and make adjustments if necessary. By monitoring the execution of ALPG, if problems are found, make adjustments if necessary and re-execute the above steps as needed.

[0114] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0115] Based on the same inventive concept, the embodiment of the present application also provides an instruction jump prediction table updating device for implementing the instruction jump prediction table updating method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more instruction jump prediction table updating device embodiments provided below can refer to the limitations of the instruction jump prediction table updating method above, and will not be repeated here.

[0116] In an exemplary embodiment, Figure 5 As shown, a device for updating an instruction jump prediction table is provided, comprising:

[0117] A compiling module 502, used to compile the original text of the Pattern program to obtain a compiled Pattern program file, wherein the Pattern program file includes an instruction jump prediction table of the Pattern program;

[0118] The detection and analysis module 504 is used to detect and analyze the test main control program of the algorithm pattern generator to obtain the detection and analysis results;

[0119] The instruction jump prediction table regeneration module 506 is used to regenerate the instruction jump prediction table of the Pattern program according to the modified initial setting value by using the test main control program when it is determined based on the detection and analysis result that the test main control program has modified the initial setting value of the register in the algorithm pattern generator;

[0120] The control module 508 is used to load the instruction jump prediction table of the regenerated Pattern program using the test machine, and write the instruction jump prediction table of the regenerated Pattern program into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0121] In an exemplary embodiment, the control module 508 is also used to use a test machine to load the instruction jump prediction table of the Pattern program in the Pattern program file, and write the instruction jump prediction table of the Pattern program in the Pattern program file into the table space of the instruction jump prediction table of the algorithm pattern generator, when it is determined based on the detection and analysis results that the test main control program has not modified the initial setting value of the register in the algorithm pattern generator.

[0122] In an exemplary embodiment, the Pattern program file also includes Pattern program instructions and a list of initial setting values ​​for registers; the control module 508 is also used to update the list of initial setting values ​​for registers using a test machine according to the modified initial setting values; the control module 508 is also used to control the test machine to generate a regeneration request message for an instruction jump prediction table according to the Pattern program instructions and the updated list of initial setting values, and send the regeneration request message to the instruction jump prediction table regeneration module 506; obtain the instruction jump prediction table of the regenerated Pattern program returned by the instruction jump prediction table regeneration module 506 based on the regeneration request message.

[0123] In an exemplary embodiment, the compilation module 502 is also used to, when it is determined based on the detection and analysis results that the Pattern program has modified the initial setting values ​​of the registers in the algorithm pattern generator, use the Pattern compiler to recompile the Pattern program file according to the modified initial setting values ​​to obtain a regenerated instruction jump prediction table for the Pattern program.

[0124] In an exemplary embodiment, when the test main control program and the Pattern program simultaneously modify the initial setting value of the register in the algorithm pattern generator, the modification priority of the test main control program is higher than the modification priority of the Pattern program.

[0125] In an exemplary embodiment, the register initial setting value list includes the register initial setting value of the conditional jump flag, the register initial setting value of the entry address of the internal refresh interrupt program, the register initial setting value of the pause timer duration, the register initial setting value of the refresh timer duration, and the register initial setting value of the number of loops of the loop instruction.

[0126] Each module in the above-mentioned instruction jump prediction table updating device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0127] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 6 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the original text data of the Pattern program. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for updating an instruction jump prediction table is implemented.

[0128] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0129] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0130] Compiling the original text of the Pattern program to obtain a compiled Pattern program file, the Pattern program file including an instruction jump prediction table of the Pattern program;

[0131] Conducting detection and analysis on the test main control program of the algorithm pattern generator to obtain the detection and analysis results;

[0132] In the case where it is determined based on the detection and analysis results that the test main control program has modified the initial setting value of the register in the algorithm pattern generator, using the test main control program to regenerate the instruction jump prediction table of the Pattern program according to the modified initial setting value;

[0133] The instruction jump prediction table of the regenerated Pattern program is loaded by using a test machine, and the instruction jump prediction table of the regenerated Pattern program is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0134] In one embodiment, when the processor executes the computer program, the following steps are also implemented:

[0135] When it is determined based on the detection and analysis results that the test main control program has not modified the initial setting value of the register in the algorithm pattern generator, the test machine is used to load the instruction jump prediction table of the Pattern program in the Pattern program file, and the instruction jump prediction table of the Pattern program in the Pattern program file is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0136] In one embodiment, when the processor executes the computer program, the following steps are also implemented:

[0137] The Pattern program file also includes a list of Pattern program instructions and initial setting values ​​of registers;

[0138] According to the modified initial setting value, the test machine is used to update the initial setting value list of the register;

[0139] Generate a regeneration request message of the instruction jump prediction table according to the Pattern program instruction and the updated initial setting value list, and send the regeneration request message;

[0140] The instruction jump prediction table of the regenerated Pattern program returned based on the regeneration request message is obtained.

[0141] In one embodiment, when the processor executes the computer program, the following steps are also implemented:

[0142] When it is determined based on the detection and analysis results that the Pattern program has modified the initial setting values ​​of the registers in the algorithm pattern generator, the Pattern program file is recompiled using the Pattern compiler according to the modified initial setting values ​​to obtain the instruction jump prediction table of the regenerated Pattern program.

[0143] In one of the embodiments, when the test main control program and the Pattern program simultaneously modify the initial setting value of the register in the algorithm pattern generator, the modification priority of the test main control program is higher than the modification priority of the Pattern program.

[0144] In one of the embodiments, the register initial setting value list includes the register initial setting value of the conditional jump flag, the register initial setting value of the entry address of the internal refresh interrupt program, the register initial setting value of the pause timer length, the register initial setting value of the refresh timer length, and the register initial setting value of the number of loops of the loop instruction.

[0145] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0146] Compiling the original text of the Pattern program to obtain a compiled Pattern program file, the Pattern program file including an instruction jump prediction table of the Pattern program;

[0147] Conducting detection and analysis on the test main control program of the algorithm pattern generator to obtain the detection and analysis results;

[0148] In the case where it is determined based on the detection and analysis results that the test main control program has modified the initial setting value of the register in the algorithm pattern generator, using the test main control program to regenerate the instruction jump prediction table of the Pattern program according to the modified initial setting value;

[0149] The instruction jump prediction table of the regenerated Pattern program is loaded by using a test machine, and the instruction jump prediction table of the regenerated Pattern program is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0150] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0151] When it is determined based on the detection and analysis results that the test main control program has not modified the initial setting value of the register in the algorithm pattern generator, the test machine is used to load the instruction jump prediction table of the Pattern program in the Pattern program file, and the instruction jump prediction table of the Pattern program in the Pattern program file is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0152] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0153] The Pattern program file also includes a list of Pattern program instructions and initial setting values ​​of registers;

[0154] According to the modified initial setting value, the test machine is used to update the initial setting value list of the register;

[0155] Generate a regeneration request message of the instruction jump prediction table according to the Pattern program instruction and the updated initial setting value list, and send the regeneration request message;

[0156] The instruction jump prediction table of the regenerated Pattern program returned based on the regeneration request message is obtained.

[0157] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0158] When it is determined based on the detection and analysis results that the Pattern program has modified the initial setting values ​​of the registers in the algorithm pattern generator, the Pattern program file is recompiled using the Pattern compiler according to the modified initial setting values ​​to obtain the instruction jump prediction table of the regenerated Pattern program.

[0159] In one of the embodiments, when the test main control program and the Pattern program simultaneously modify the initial setting value of the register in the algorithm pattern generator, the modification priority of the test main control program is higher than the modification priority of the Pattern program.

[0160] In one of the embodiments, the register initial setting value list includes the register initial setting value of the conditional jump flag, the register initial setting value of the entry address of the internal refresh interrupt program, the register initial setting value of the pause timer length, the register initial setting value of the refresh timer length, and the register initial setting value of the number of loops of the loop instruction.

[0161] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0162] Compiling the original text of the Pattern program to obtain a compiled Pattern program file, the Pattern program file including an instruction jump prediction table of the Pattern program;

[0163] Conducting detection and analysis on the test main control program of the algorithm pattern generator to obtain the detection and analysis results;

[0164] In the case where it is determined based on the detection and analysis results that the test main control program has modified the initial setting value of the register in the algorithm pattern generator, using the test main control program to regenerate the instruction jump prediction table of the Pattern program according to the modified initial setting value;

[0165] The instruction jump prediction table of the regenerated Pattern program is loaded by using a test machine, and the instruction jump prediction table of the regenerated Pattern program is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0166] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0167] When it is determined based on the detection and analysis results that the test main control program has not modified the initial setting value of the register in the algorithm pattern generator, the test machine is used to load the instruction jump prediction table of the Pattern program in the Pattern program file, and the instruction jump prediction table of the Pattern program in the Pattern program file is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

[0168] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0169] The Pattern program file also includes a list of Pattern program instructions and initial setting values ​​of registers;

[0170] According to the modified initial setting value, the test machine is used to update the initial setting value list of the register;

[0171] Generate a regeneration request message of the instruction jump prediction table according to the Pattern program instruction and the updated initial setting value list, and send the regeneration request message;

[0172] The instruction jump prediction table of the regenerated Pattern program returned based on the regeneration request message is obtained.

[0173] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0174] When it is determined based on the detection and analysis results that the Pattern program has modified the initial setting values ​​of the registers in the algorithm pattern generator, the Pattern program file is recompiled using the Pattern compiler according to the modified initial setting values ​​to obtain the instruction jump prediction table of the regenerated Pattern program.

[0175] In one of the embodiments, when the test main control program and the Pattern program simultaneously modify the initial setting value of the register in the algorithm pattern generator, the modification priority of the test main control program is higher than the modification priority of the Pattern program.

[0176] In one of the embodiments, the register initial setting value list includes the register initial setting value of the conditional jump flag, the register initial setting value of the entry address of the internal refresh interrupt program, the register initial setting value of the pause timer length, the register initial setting value of the refresh timer length, and the register initial setting value of the number of loops of the loop instruction.

[0177] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0178] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0179] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0180] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for updating an instruction jump prediction table, characterized in that: The method comprises: Compiling the original text of the Pattern program to obtain a compiled Pattern program file, wherein the Pattern program file includes an instruction jump prediction table of the Pattern program; Conducting detection and analysis on the test main control program of the algorithm pattern generator to obtain the detection and analysis results; In the case where it is determined based on the detection and analysis result that the test main control program has modified the initial setting value of the register in the algorithm pattern generator, using the test main control program to regenerate the instruction jump prediction table of the Pattern program according to the modified initial setting value; The instruction jump prediction table of the regenerated Pattern program is loaded by using a test machine, and the instruction jump prediction table of the regenerated Pattern program is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

2. The method according to claim 1, characterized in that After the test main control program of the algorithm pattern generator is tested and analyzed and the test analysis result is obtained, the method further includes: When it is determined based on the detection and analysis results that the test main control program has not modified the initial setting value of the register in the algorithm pattern generator, the instruction jump prediction table of the Pattern program in the Pattern program file is loaded using a test machine, and the instruction jump prediction table of the Pattern program in the Pattern program file is written into the table space of the instruction jump prediction table of the algorithm pattern generator.

3. The method according to claim 1, characterized in that The Pattern program file also includes a list of initial setting values ​​of Pattern program instructions and registers; and regenerating the instruction jump prediction table of the Pattern program according to the modified initial setting values ​​includes: According to the modified initial setting values, using the test machine to update the initial setting value list of the register; Generate a regeneration request message for an instruction jump prediction table according to the Pattern program instruction and the updated initial setting value list, and send the regeneration request message; An instruction jump prediction table of the regenerated Pattern program returned based on the regeneration request message is obtained.

4. The method according to claim 1, characterized in that: After the test main control program of the algorithm pattern generator is tested and analyzed and the test analysis result is obtained, the method further includes: When it is determined based on the detection and analysis results that the Pattern program has modified the initial setting values ​​of the registers in the algorithm pattern generator, the Pattern program file is recompiled using the Pattern compiler according to the modified initial setting values ​​to obtain the instruction jump prediction table of the regenerated Pattern program.

5. The method according to claim 4, characterized in that In the case where the test main control program and the Pattern program simultaneously modify the initial setting value of the register in the algorithm pattern generator, the modification priority of the test main control program is higher than the modification priority of the Pattern program.

6. The method according to claim 3, characterized in that The register initial setting value list includes the register initial setting value of the conditional jump flag, the register initial setting value of the entry address of the internal refresh interrupt program, the register initial setting value of the pause timer duration, the register initial setting value of the refresh timer duration and the register initial setting value of the number of loop instructions.

7. An instruction jump prediction table updating device, characterized in that: The device comprises: A compiling module, used for compiling the original text of the Pattern program to obtain a compiled Pattern program file, wherein the Pattern program file includes an instruction jump prediction table of the Pattern program; The detection and analysis module is used to detect and analyze the test main control program of the algorithm pattern generator to obtain the detection and analysis results; An instruction jump prediction table regeneration module is used to regenerate the instruction jump prediction table of the Pattern program according to the modified initial setting value by using the test main control program when it is determined based on the detection and analysis result that the test main control program has modified the initial setting value of the register in the algorithm pattern generator; The control module is used to load the instruction jump prediction table of the regenerated Pattern program by using the test machine, and write the instruction jump prediction table of the regenerated Pattern program into the table space of the instruction jump prediction table of the algorithm pattern generator.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Processor architecture and method based on dynamic overwrite instruction stream

    CN120803536A