Method, system and device for generating to-be-programmed information file and storage medium

By automatically generating information files to be written, using automated generation algorithms and lists of information to be written, the problems of low verification efficiency and high error rate caused by manual writing are solved, and verification efficiency and accuracy are improved.

CN119225777APending Publication Date: 2024-12-31SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411342258.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

In the prior art, verification personnel need to manually calculate and write information files to be written, resulting in low verification efficiency, long time and error-prone, especially in scenarios where Efuse is large in capacity or slow simulation speed, resulting in extended verification cycle.

Method used

By receiving device information of the electronic fuse, a pre-established automated generation algorithm is obtained, an initial template is generated, and the parameter values ​​in the template are adjusted based on the list of burned information, and the information file to be burned is automatically generated to improve the generation efficiency and reduce errors.

Benefits of technology

It realizes the rapid automatic generation of information files to be written, improves verification efficiency, shortens verification cycles, and reduces error rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225777A_ABST
    Figure CN119225777A_ABST
Patent Text Reader

Abstract

The invention discloses a to-be-programmed information file generation method, system and device and a storage medium, and is applied to the technical field of front-end verification, and the method comprises the steps: receiving the device information of a to-be-tested electronic fuse; obtaining a pre-established automatic generation algorithm corresponding to the device information; based on capacity parameters in the device information, generating an initial template of the to-be-programmed information file through an automatic generation algorithm; determining a programming information list used for reflecting the position information needing to be programmed; based on the programming information list, parameter values of corresponding positions in the initial template are adjusted through an automatic generation algorithm, and a to-be-programmed information file for the electronic fuse is obtained. By applying the scheme of the invention, the to-be-programmed information file can be automatically generated, the generation efficiency of the to-be-programmed information file is improved, the verification efficiency is improved, and the verification period is shortened. In addition, the automatically generated to-be-programmed information file is not easy to make mistakes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of front-end verification, and in particular to a method, system, device and storage medium for generating an information file to be burned. Background Art

[0002] Efuse (Electronic fuse) is a programmable electronic fuse, a non-volatile storage device used to store information and protect chips. When Efuse is blown, a permanent open circuit is formed. Efuse has many application scenarios in products, such as chip protection, power management, circuit calibration, etc., and can be used to store key chip information (such as keys, certificates, serial numbers, configuration information, etc.). Efuse is usually burned by the manufacturer, and because a lot of chip function control information may be written into Efuse, in the simulation verification stage, in order to verify the completeness of the scenario, the verification personnel need to verify the function of Efuse and the correctness of the related circuit logic and Efuse interaction function, and discover some circuit design problems in advance.

[0003] In the current front-end simulation, the verification personnel manually calculate and write the information files to be burned, and then burn them through the interface reserved by the Efuse manufacturer. This method takes a long time to make the information files to be burned, especially when the Efuse capacity is large and the information to be burned is large, which will bring a huge workload. The current burning method is very easy to make mistakes and need to be reworked and modified, and the error points are difficult to find, especially in the simulation verification of the system on chip and subsystem with slow simulation speed. Re-running the test case after an error will waste a lot of time, and the trial and error cost is very high, which greatly affects the verification efficiency.

[0004] In summary, how to effectively improve verification efficiency and shorten the verification cycle is a technical problem that technical personnel in this field urgently need to solve. Summary of the invention

[0005] The purpose of the present invention is to provide a method, system, device and storage medium for generating an information file to be burned, so as to effectively improve the verification efficiency and shorten the verification cycle.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] In a first aspect, the present invention provides a method for generating an information file to be burned, comprising:

[0008] receiving device information of the electronic fuse to be tested;

[0009] Obtaining a pre-established automatic generation algorithm corresponding to the device information;

[0010] Based on the capacity parameters in the device information, an initial template of the information file to be burned is generated by the automatic generation algorithm;

[0011] Determine a burn information list for reflecting the location information that needs to be burned;

[0012] Based on the burning information list, the parameter values ​​of the corresponding positions in the initial template are adjusted by the automatic generation algorithm to obtain the information file to be burned for the electronic fuse.

[0013] On the other hand, obtaining a pre-established automatic generation algorithm corresponding to the device information includes:

[0014] Get the electronic fuse information list;

[0015] The electronic fuse information list includes a plurality of electronic fuse information, and any one of the electronic fuse information includes parameter information of a type of electronic fuse and a name of an automatic generation algorithm corresponding to the type of electronic fuse;

[0016] Selecting a piece of electronic fuse information matching the device information from the electronic fuse information list, and reading the name of the automatic generation algorithm from the piece of electronic fuse information;

[0017] Based on the read automatic generation algorithm name, a corresponding automatic generation algorithm is obtained from an automatic generation algorithm library as the obtained automatic generation algorithm corresponding to the device information.

[0018] On the other hand, selecting a piece of electronic fuse information matching the device information from the electronic fuse information list includes:

[0019] Traversing each piece of electronic fuse information in the electronic fuse information list one by one;

[0020] When the manufacturer name, process, depth value and width value in a piece of electronic fuse information are all consistent with the content in the received device information, it is determined that the piece of electronic fuse information is electronic fuse information that matches the device information.

[0021] On the other hand, a burn information list reflecting the location information to be burnt is determined, including:

[0022] Based on the build instruction, the preset basic burning information list, the burning information lists of each scene specified by the build instruction, and the supplementary burning information specified by the build instruction are merged to obtain a burning information list reflecting the location information that needs to be burned.

[0023] On the other hand, after obtaining the information file to be written for the electronic fuse, the method further includes:

[0024] Determining an adapted load command based on the device information;

[0025] The information file to be written is loaded into a verification environment through the loading command, so as to perform a simulation test on the device model of the electronic fuse.

[0026] On the other hand, it also includes:

[0027] Verifying whether the format of the information file to be burned for the electronic fuse is consistent with the specified format in the device information;

[0028] If not, a prompt message is output.

[0029] On the other hand, based on the capacity parameter in the device information, an initial template of the information file to be burned is generated by the automatic generation algorithm, including:

[0030] Determining the capacity of the electronic fuse based on the depth value and the width value in the capacity parameter in the device information;

[0031] According to the capacity of the electronic fuse, an initial template of the information file to be burned is generated by the automatic generation algorithm;

[0032] The initial template includes the address of each storage unit of the electronic fuse, and the default value of each address is 0, and the total number of addresses is equal to the capacity of the electronic fuse;

[0033] Based on the burning information list, adjusting the parameter values ​​of the corresponding positions in the initial template by the automatic generation algorithm to obtain the information file to be burned for the electronic fuse, including:

[0034] Read each position information in the burning information list in sequence;

[0035] For any position information in the read burning information list, determine the electronic fuse address corresponding to the position information through the automatic generation algorithm, and based on the electronic fuse address, modify the value of the address of the corresponding storage unit in the initial template to 1;

[0036] After completing the reading of each position information of the burning information list and the corresponding modification of the initial template, the to-be-burned information file for the electronic fuse is obtained.

[0037] In a second aspect, the present invention provides a system for generating an information file to be burned, comprising:

[0038] A device information receiving module, used for receiving device information of the electronic fuse to be tested;

[0039] An automatic generation algorithm acquisition module, used to acquire a pre-established automatic generation algorithm corresponding to the device information;

[0040] An initial template generation module, used to generate an initial template of the information file to be burned based on the capacity parameter in the device information through the automatic generation algorithm;

[0041] A burning information list determination module, used to determine a burning information list reflecting the location information that needs to be burned;

[0042] The module for generating the information file to be burned is used to adjust the parameter values ​​of the corresponding positions in the initial template through the automatic generation algorithm based on the burning information list to obtain the information file to be burned for the electronic fuse.

[0043] In a third aspect, the present invention provides a device for generating an information file to be burned, comprising:

[0044] Memory for storing computer programs;

[0045] The processor is used to execute the computer program to implement the steps of the method for generating the information file to be burned as described above.

[0046] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for generating an information file to be burned as described above are implemented.

[0047] The present application takes into account that the verification efficiency in the traditional solution is low, mainly because the verification personnel need to prepare the information file to be burned by manual calculation and writing, which is time-consuming and prone to errors. In this regard, in the present application solution, the information file to be burned can be automatically generated. Specifically, the technical solution provided by the embodiment of the present invention can be used to receive the device information of the electronic fuse to be tested. This is because for different electronic fuses, their manufacturers, processes, and the formats of the required information files to be burned will be different. Therefore, in order to ensure that the information file to be burned of the electronic fuse can be successfully automatically generated, in the present application solution, what needs to be obtained is the automatic generation algorithm corresponding to the device information of the electronic fuse.

[0048] Afterwards, when automatically generating, it is necessary to first generate the initial template of the information file to be burned based on the capacity parameters in the device information through an automatic generation algorithm. Since the specific information file to be burned required in different scenarios is different, it is also necessary to determine a burning information list that reflects the location information that needs to be burned, so that the subsequently obtained information file to be burned meets the current needs. Finally, based on the burning information list, the parameter values ​​of the corresponding positions in the initial template can be adjusted through an automatic generation algorithm to obtain the information file to be burned for the electronic fuse, which also realizes the automatic generation of the information file to be burned.

[0049] In summary, the present application scheme can automatically generate the information file to be burned, improve the generation efficiency of the information file to be burned, and also help to improve the verification efficiency and shorten the verification cycle. In addition, the automatically generated information file to be burned is not prone to error. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0051] Figure 1 A flowchart of a method for generating an information file to be burned provided by a specific embodiment of the present invention;

[0052] Figure 2 A schematic diagram of the structure of a system for generating information files to be burned provided by a specific embodiment of the present invention;

[0053] Figure 3 A schematic diagram of the structure of a device for generating an information file to be burned provided by a specific embodiment of the present invention;

[0054] Figure 4 The present invention is a schematic diagram of the structure of a computer-readable storage medium. DETAILED DESCRIPTION

[0055] The core of the present invention is to provide a method, system, device and storage medium for generating information files to be burned, which can automatically generate information files to be burned, improve the generation efficiency of information files to be burned, and also help to improve verification efficiency and shorten the verification cycle. In addition, the automatically generated information files to be burned are not prone to errors.

[0056] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0057] Please refer to Figure 1 , Figure 1 The present invention provides a flowchart of a method for generating an information file to be written in accordance with a specific embodiment of the present invention. The method for generating an information file to be written may include the following steps:

[0058] Step S101: receiving device information of an electronic fuse to be tested.

[0059] Specifically, the electronic fuse to be tested is usually the electronic fuse in the chip that currently needs to be tested, and its device information can usually be input by a verification personnel, so that the generation system of the information file to be burned can receive the input device information.

[0060] The specific content of the device information of the electronic fuse to be tested can be set and adjusted according to actual needs, but it is understandable that it should be possible to uniquely identify the electronic fuse based on the device information, that is, to distinguish it from other electronic fuses. For example, in one scenario, the received device information of the electronic fuse to be tested includes the manufacturer name, process, depth value and width value of the electronic fuse. Of course, in other embodiments, the received device information of the electronic fuse to be tested may also include other parameter contents, which can be set according to actual needs and do not affect the implementation of the present invention.

[0061] Step S102: Acquire a pre-established automatic generation algorithm corresponding to device information.

[0062] For different electronic fuses, due to differences in their manufacturers, processes, and the formats of the required information files to be burned, in order to ensure that the information files to be burned of the electronic fuses can be successfully and automatically generated in the subsequent steps, in the present application, it is necessary to obtain an automatic generation algorithm corresponding to the device information of the electronic fuses. In other words, it is necessary to establish multiple automatic generation algorithms in advance, so that when executing step S102, the automatic generation algorithm adapted to the received device information of the electronic fuses is selected. And it can be understood that the correspondence between the device information and the automatic generation algorithm needs to be set in advance.

[0063] In a specific implementation of the present invention, step S102 may specifically include:

[0064] Step 1: Get the electronic fuse information list;

[0065] The electronic fuse information list includes a plurality of electronic fuse information, and any one of the electronic fuse information includes parameter information of a type of electronic fuse and a name of an automatic generation algorithm corresponding to the type of electronic fuse;

[0066] Step 2: Selecting a piece of electronic fuse information that matches the device information from the electronic fuse information list, and reading the name of the automatic generation algorithm from the piece of electronic fuse information;

[0067] Step 3: Based on the read automatic generation algorithm name, a corresponding automatic generation algorithm is obtained from an automatic generation algorithm library as the obtained automatic generation algorithm corresponding to the device information.

[0068] In this implementation, it is necessary to first obtain an electronic fuse information list, which is a pre-established list including multiple pieces of electronic fuse information.

[0069] For example, in actual applications, staff can read the product manual information of each Efuse manufacturer under various processes, mainly focusing on the capacity parameters of the Efuse (including depth value and width value), the format of the information file to be burned required by the Efuse, the way the Efuse loads the information file to be burned, etc., so as to establish an electronic fuse information list.

[0070] That is to say, in the electronic fuse information list, one electronic fuse information corresponds to one electronic fuse, and the electronic fuse information needs to include parameter information of the electronic fuse, such as its manufacturer, process, capacity parameters, format of the information file to be burned, etc. In addition, the name of the automatic generation algorithm corresponding to the electronic fuse needs to be included.

[0071] After obtaining the electronic fuse information list, a piece of electronic fuse information matching the device information can be selected from the electronic fuse information list, thereby reading the name of the automatic generation algorithm from the electronic fuse information. In addition, it can be understood that, under normal circumstances, a piece of electronic fuse information matching the device information can be successfully selected from the electronic fuse information list. If it fails to be successfully selected, it means that the pre-built electronic fuse information list does not include the electronic fuse to be tested, and the staff can be prompted to supplement the electronic fuse information list. Of course, in actual applications, due to the limited types of commonly used electronic fuses, the above-mentioned situation of not being included usually does not occur.

[0072] Since the name of the required automatic generation algorithm is obtained, in this implementation, the corresponding automatic generation algorithm can be obtained from the automatic generation algorithm library as the obtained automatic generation algorithm corresponding to the device information.

[0073] Further, in a specific implementation of the present invention, the step 2 described above of selecting a piece of electronic fuse information matching the device information from the electronic fuse information list may specifically include:

[0074] Traversing each piece of electronic fuse information in the electronic fuse information list one by one;

[0075] When the manufacturer name, process, depth value and width value in a piece of electronic fuse information are all consistent with the content in the received device information, it is determined that the piece of electronic fuse information is electronic fuse information that matches the device information.

[0076] This implementation takes into account that when matching device information with electronic fuse information in the electronic fuse information list, the electronic fuse can usually be uniquely identified through the manufacturer name, process, depth value and width value, so matching can be achieved accordingly.

[0077] For example, in a specific case, the pseudo code to achieve matching can be set as:

[0078] Define function FindAlgo(efuse_info_list, dut_fac, dut_tech, dut_line_depth,dut_vol_depth):

[0079] / / Initialize a variable to store the Algo column information of the matching row; Matching Algo column information = null value; / / Traverse each row of the table; For the row in the table: / / Get the values ​​of the fac, tech, line_depth, vol_depth columns of the current row;

[0080] Current fac value = row.fac column; current tech value = row.tech column; current line_depth value = row.line_depth column; current vol_depth value = row.vol_depth column;

[0081] / / Check if the values ​​of the fac, tech, line_depth, vol_depth columns of the current row match the input / / dut_fac, dut_tech, dut_line_depth, dut_vol_depth;

[0082] If the current fac value is equal to dut_fac and the current tech value is equal to dut_tech and the current line_depth value is equal to dut_line_depth and the current vol_depth value is equal to dut_vol_depth:

[0083] / / If a matching row is found, get the Algo column information of the row; matching Algo column information = row.Algo column; jump out of the loop; / / Return the matching Algo column information, if no matching row is found, return a null value; return the matching Algo column information.

[0084] In the above case, one row represents one electronic fuse information in the electronic fuse information list, and the fac, tech, line_depth, and vol_depth columns of the current row represent the manufacturer name, process, depth value, and width value of the electronic fuse in turn. It can be seen that if the manufacturer name, process, depth value, and width value of a row are consistent with the manufacturer name, process, depth value, and width value in the received device information, then the Algo column information of the row is read, and the Algo column information is also the name of the automatic generation algorithm carried in this electronic fuse information.

[0085] Further, in a specific implementation of the present invention, the step 2 described above of selecting a piece of electronic fuse information matching the device information from the electronic fuse information list may specifically include:

[0086] Traversing each piece of electronic fuse information in the electronic fuse information list one by one;

[0087] When the manufacturer name, process, and file format of the information to be written in a piece of electronic fuse information are all consistent with the content in the received device information, it is determined that the piece of electronic fuse information is electronic fuse information that matches the device information.

[0088] This implementation method takes into account that for two different electronic fuses, if the manufacturers and processes of the two electronic fuses are the same and the same format of the information file to be burned is used, then even if there are differences in parameters such as the depth value and width value between the two, the same automatic generation algorithm can usually be used when generating the information file to be burned for the two electronic fuses.

[0089] Therefore, in actual applications, when establishing various automatic generation algorithms, "manufacturer, process, and format of the information file to be burned" can be used as the distinguishing criteria to establish different automatic generation algorithms. This allows some different electronic fuses to use the same automatic generation algorithm if the manufacturer, process, and format of the information file to be burned are consistent. This can effectively reduce the workload compared to the need to specifically establish an automatic generation algorithm for each type of electronic fuse.

[0090] It can be understood that, according to the principle of this implementation method, the manufacturer name, process, and the file format of the information to be burned are determined, and the automatic generation algorithm to be used is determined. Therefore, when the manufacturer name, process, and the file format of the information to be burned in an electronic fuse information are consistent with the content in the received device information, it can be determined that the electronic fuse information is electronic fuse information that matches the device information, and then the name of the automatic generation algorithm carried by the electronic fuse information is read from the electronic fuse information, and then the corresponding automatic generation algorithm is obtained from the automatic generation algorithm library as the obtained automatic generation algorithm corresponding to the device information.

[0091] Step S103: Based on the capacity parameters in the device information, an initial template of the information file to be burned is generated by an automatic generation algorithm.

[0092] After obtaining the automatic generation algorithm corresponding to the device information, the information file to be burned can be automatically generated. First, the initial template is generated. The initial template can reflect the capacity of the electronic fuse, and the format of the initial template is different when the format of the information file to be burned is different.

[0093] In a specific implementation of the present invention, step S103 may include:

[0094] Determine the capacity of the electronic fuse based on the depth value and the width value in the capacity parameter in the device information;

[0095] According to the capacity of the electronic fuse, an initial template of the information file to be burned is generated by an automatic generation algorithm;

[0096] The initial template includes the address of each storage unit of the electronic fuse, and the default value of each address is 0, and the total number of addresses is equal to the capacity of the electronic fuse.

[0097] For example, in one case, the capacity of Efuse is 4K, and the format of the information file to be burned can be expressed as @000-0, @001-0, ..., @FFF-0. The @ symbol indicates the address of each storage unit in Efuse, which is identified in hexadecimal. The data following each address indicates the data value to be burned at the address. 0 means no burning is required, and 1 means the corresponding address needs to be burned to 1.

[0098] In this implementation, the initial template includes the address of each storage unit of the electronic fuse, so that when the initial template is subsequently modified, it is only necessary to change the default value of the corresponding address from 0 to 1 to indicate that the corresponding address needs to be burned, which is very convenient to implement.

[0099] In this implementation, the capacity of the electronic fuse needs to be determined based on the depth value and width value in the capacity parameter in the device information, which can be expressed as capacity size = line_depth*vol_depth. Here, line_depth is the depth value in the capacity parameter, and vol_depth is the height value in the capacity parameter, that is, I / 0 bus, which represents the data bit width of the one-time parallel output of the Efuse.

[0100] Step S104: Determine a burning information list reflecting the location information that needs to be burned.

[0101] In different occasions, the specific bits that need to be burned are different. Therefore, it is necessary to determine a burning information list that is used to reflect the location information that needs to be burned. For example, the architecture engineer can provide the burning information list of the current product, and can explain the burning information corresponding to different bits that need to be burned. The burning information list is input into the generation system of the information file to be burned, and the generation system of the information file to be burned can determine the received burning information list that reflects the location information that needs to be burned.

[0102] In a specific implementation of the present invention, step S104 may specifically include:

[0103] Based on the build instruction, the preset basic burning information list, the burning information lists of each scene specified by the build instruction, and the supplementary burning information specified by the build instruction are merged to obtain a burning information list reflecting the location information that needs to be burned.

[0104] This implementation method takes into account that the information that needs to be burned can generally be divided into two categories: the first category is some common burning information for the chip product to be verified, such as the value that must be burned when the chip starts, and it is recommended to burn the same value in each chip, etc. This information can be summarized together to form a basic burning information list. In other words, the basic burning information list represents a summary of each bit that needs to be burned in different burning scenarios. The second category is some non-universal burning information, that is, information that needs to be burned differently in different scenarios.

[0105] And this implementation method takes into account that even if differentiated burning is required in different scenarios, one or more typical scene burning information lists can be established in advance, which is helpful to assist the work of the staff and realize the rapid establishment of the burning information list. For example, in one scenario, the staff selected the basic burning information list and the scene burning information list 1, and after merging the two, they obtained the required burning information list. For example, in another scenario, the staff selected the basic burning information list, the scene burning information list 1 and the scene burning information list 2, and after merging the three, they obtained the required burning information list.

[0106] In addition, in this implementation, not only can the basic burning information list and several scene burning information lists be selected for merging based on the construction instructions, but some supplementary burning information can also be specified through the construction instructions. This is in view of the pre-established scene burning information lists, which are aimed at some typical scenes. In actual applications, it may appear that on the basis of the typical scenes, the staff needs to burn some other bits. In this regard, in this implementation, when merging, it is allowed to merge the supplementary burning information specified by the construction instructions.

[0107] It is also understandable that, in actual applications, the build instruction may not specify any supplementary burning information, or may not specify any scene burning information list.

[0108] Step S105: Based on the burning information list, the parameter values ​​of the corresponding positions in the initial template are adjusted by an automatic generation algorithm to obtain an information file to be burned for the electronic fuse.

[0109] The burn information list is used to reflect the location information that needs to be burned. Therefore, after obtaining the burn information list, the parameter values ​​of the corresponding positions in the initial template can be adjusted according to the requirements of the burn information list to indicate that the Efuse addresses corresponding to these positions in the initial template need to be burned. And this process is automatically realized through an automatic generation algorithm. Therefore, after the adjustment is completed, the initial template has been modified, and the modified template file is the information file to be burned for the electronic fuse.

[0110] In a specific implementation of the present invention, step S105 may specifically include:

[0111] Read each position information in the burning information list in turn;

[0112] For any position information in the read burning information list, determine the electronic fuse address corresponding to the position information through an automatic generation algorithm, and based on the electronic fuse address, modify the value of the address of the corresponding storage unit in the initial template to 1;

[0113] After completing the reading of each position information of the burning information list and the corresponding modification of the initial template, the information file to be burned for the electronic fuse is obtained.

[0114] As described above, the initial template includes the address of each storage unit of the electronic fuse, and the default value of each address is 0, and the total number of addresses is equal to the capacity of the electronic fuse. Therefore, after obtaining the burning information list, when modifying the initial template, each position information in the burning information list can be read in sequence to modify the value of the address of the corresponding storage unit in the initial template, that is, to modify the value of the address of the corresponding storage unit from 0 to 1.

[0115] Specifically, for any position information in the read burning information list, it is necessary to determine the electronic fuse address corresponding to the position information through an automatic generation algorithm, and based on the electronic fuse address, modify the value of the address of the corresponding storage unit in the initial template to 1.

[0116] For example, in a specific example, for any position information in the read burning information list, when determining the Efuse address corresponding to the position information, the position information is divided by the height value vol_depth, and the quotient and remainder are taken. Then the quotient is converted into a 7-bit binary number, and the remainder is converted into a 5-bit binary number, and they are tiled (the 7-bit binary number is placed in [6:0], and the 5-bit binary number is placed in [11:7]) to obtain a new 12-bit binary number. Then the 12-bit binary number is converted into hexadecimal to obtain the Efuse address corresponding to the bit to be burned.

[0117] In this implementation, the Efuse addresses corresponding to each location information can be obtained, and these Efuse addresses correspond to the addresses of the corresponding storage units in the initial template. Therefore, modifying the values ​​of the addresses of the corresponding storage units in the initial template to 1 indicates that these Efuse addresses need to be burned.

[0118] In a specific implementation of the present invention, after obtaining the information file to be written for the electronic fuse, the following steps may also be included:

[0119] Determine an adapted load command based on the device information;

[0120] The information file to be burned is loaded into the verification environment through the loading command to perform simulation test on the device model of the electronic fuse.

[0121] This implementation takes into account that, according to the principle of the present application, after the information file to be burned of the electronic fuse is automatically generated, an adaptive loading command can be directly determined based on the device information to realize automatic loading of the information file to be burned.

[0122] For example, in one scenario, for a certain type of electronic fuse, the adapted load command determined based on its device information is "+preload_file=preload.data". Then the information file to be burned can be loaded into the verification environment through the load command, and then the Efuse model can be simulated and tested. There can be many specific simulation test items, for example, it can include testing to verify whether the Efuse burning information can be read normally during the chip startup phase. Test to verify whether the burning value read from Efuse is normal and whether the read value is consistent with the burning value. For information bits involving functional control, test to verify whether the processing of the read value meets the requirements and whether it can achieve functional expectations. Test whether the interaction between the internal logic circuit of the chip and Efuse is normal, whether the interface signal is normal, etc.

[0123] In a specific embodiment of the present invention, it may also include:

[0124] Verify whether the format of the information file to be burned for the electronic fuse is consistent with the specified format in the device information;

[0125] If not, a prompt message is output.

[0126] This implementation method takes into account that in order to ensure reliability and avoid errors, the obtained information file to be burned for the electronic fuse can also be verified, specifically, the format of the obtained information file to be burned is verified to see whether it is consistent with the specified format in the device information. It can be understood that under normal circumstances, the format of the obtained information file to be burned is consistent with the specified format in the device information. If it is inconsistent, it means that there is a problem, such as an error in the process of modifying the initial template resulting in a format error. At this time, a prompt message can be output to remind the staff to pay attention to this situation.

[0127] The present application takes into account that the verification efficiency in the traditional solution is low, mainly because the verification personnel need to prepare the information file to be burned by manual calculation and writing, which is time-consuming and prone to errors. In this regard, in the present application solution, the information file to be burned can be automatically generated. Specifically, the technical solution provided by the embodiment of the present invention can be used to receive the device information of the electronic fuse to be tested. This is because for different electronic fuses, their manufacturers, processes, and the formats of the required information files to be burned will be different. Therefore, in order to ensure that the information file to be burned of the electronic fuse can be successfully automatically generated, in the present application solution, what needs to be obtained is the automatic generation algorithm corresponding to the device information of the electronic fuse.

[0128] Afterwards, when automatically generating, it is necessary to first generate the initial template of the information file to be burned based on the capacity parameters in the device information through an automatic generation algorithm. Since the specific information file to be burned required in different scenarios is different, it is also necessary to determine a burning information list that reflects the location information that needs to be burned, so that the subsequently obtained information file to be burned meets the current needs. Finally, based on the burning information list, the parameter values ​​of the corresponding positions in the initial template can be adjusted through an automatic generation algorithm to obtain the information file to be burned for the electronic fuse, which also realizes the automatic generation of the information file to be burned.

[0129] In summary, the present application scheme can automatically generate the information file to be burned, improve the generation efficiency of the information file to be burned, and also help to improve the verification efficiency and shorten the verification cycle. In addition, the automatically generated information file to be burned is not prone to error.

[0130] Corresponding to the above method embodiment, the embodiment of the present invention further provides a system for generating an information file to be burned, which can be referred to in correspondence with the above.

[0131] See also Figure 2 FIG. 1 is a schematic diagram of a system for generating an information file to be burned in the present invention, comprising:

[0132] The device information receiving module 201 is used to receive device information of the electronic fuse to be tested;

[0133] The automatic generation algorithm acquisition module 202 is used to acquire a pre-established automatic generation algorithm corresponding to the device information;

[0134] An initial template generation module 203 is used to generate an initial template of the information file to be burned based on the capacity parameters in the device information through an automatic generation algorithm;

[0135] A burning information list determination module 204, used to determine a burning information list reflecting the location information that needs to be burned;

[0136] The module 205 for generating the information file to be written is used to adjust the parameter values ​​of the corresponding positions in the initial template through an automatic generation algorithm based on the writing information list to obtain the information file to be written for the electronic fuse.

[0137] In a specific embodiment of the present invention, the automatic generation algorithm acquisition module 202 includes:

[0138] An electronic fuse information list acquisition unit, used to acquire an electronic fuse information list;

[0139] The electronic fuse information list includes a plurality of electronic fuse information, and any one of the electronic fuse information includes parameter information of a type of electronic fuse and a name of an automatic generation algorithm corresponding to the type of electronic fuse;

[0140] An automatic generation algorithm name determination unit, used to select a piece of electronic fuse information matching the device information from the electronic fuse information list, and read the automatic generation algorithm name from the piece of electronic fuse information;

[0141] The automatic generation algorithm acquisition unit is used to acquire the corresponding automatic generation algorithm from the automatic generation algorithm library based on the read automatic generation algorithm name as the acquired automatic generation algorithm corresponding to the device information.

[0142] In a specific implementation of the present invention, the automatic generation algorithm name determination unit is specifically used to:

[0143] Traversing each piece of electronic fuse information in the electronic fuse information list one by one;

[0144] When the manufacturer name, process, depth value and width value in an electronic fuse information are consistent with the content in the received device information, the electronic fuse information is determined to be electronic fuse information matching the device information, and the automatic generation algorithm name is read from the electronic fuse information.

[0145] In a specific implementation of the present invention, the burning information list determination module 204 is specifically used to:

[0146] Based on the build instruction, the preset basic burning information list, the burning information lists of each scene specified by the build instruction, and the supplementary burning information specified by the build instruction are merged to obtain a burning information list reflecting the location information that needs to be burned.

[0147] In a specific embodiment of the present invention, a loading module is also included for:

[0148] After obtaining the information file to be written for the electronic fuse, an adapted loading command is determined based on the device information; through the loading command, the information file to be written is loaded into the verification environment to perform simulation test on the device model of the electronic fuse.

[0149] In a specific embodiment of the present invention, a verification module is also included, which is used to:

[0150] Verify whether the format of the information file to be burned for the electronic fuse is consistent with the specified format in the device information; if not, output a prompt message.

[0151] In a specific implementation of the present invention, the initial template generation module 203 is specifically used to:

[0152] Determine the capacity of the electronic fuse based on the depth value and the width value in the capacity parameter in the device information;

[0153] According to the capacity of the electronic fuse, an initial template of the information file to be burned is generated by an automatic generation algorithm;

[0154] The initial template includes the address of each storage unit of the electronic fuse, and the default value of each address is 0, and the total number of addresses is equal to the capacity of the electronic fuse;

[0155] The module 205 for generating the information file to be burned is specifically used for:

[0156] Read each position information in the burning information list in turn;

[0157] For any position information in the read burning information list, determine the electronic fuse address corresponding to the position information through an automatic generation algorithm, and based on the electronic fuse address, modify the value of the address of the corresponding storage unit in the initial template to 1;

[0158] After completing the reading of each position information of the burning information list and the corresponding modification of the initial template, the information file to be burned for the electronic fuse is obtained.

[0159] Corresponding to the above method and system embodiments, the embodiments of the present invention further provide a device for generating an information file to be burned, a computer-readable storage medium, and a computer program product, which can be referred to in correspondence with the above.

[0160] See also Figure 3 As shown, the device may include:

[0161] Memory 301, used for storing computer programs;

[0162] The processor 302 is used to execute a computer program to implement the steps of the method for generating the information file to be burned in any of the above embodiments.

[0163] The computer program product includes a computer program / instruction, and when the computer program / instruction is executed by a processor, the steps of the method for generating an information file to be burned in any of the above embodiments are implemented.

[0164] See also Figure 4 The computer readable storage medium 40 stores a computer program 41, and when the computer program 41 is executed by the processor, the steps of the method for generating the information file to be burned in any of the above embodiments are implemented. The computer readable storage medium 40 mentioned here includes RAM (Random Access Memory), memory, ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), register, hard disk, removable disk, or any other form of storage medium known in the technical field.

[0165] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0166] Professionals may further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention, and the description of the above embodiments is only used to help understand the technical solution and its core idea of ​​the present invention. It should be pointed out that for ordinary technicians in the technical field, without departing from the principle of the present invention, the present invention can also be improved and modified in a number of ways, and these improvements and modifications also fall within the scope of protection of the present invention.

Claims

1. A method for generating an information file to be burned, characterized in that: include: receiving device information of the electronic fuse to be tested; Obtaining a pre-established automatic generation algorithm corresponding to the device information; Based on the capacity parameters in the device information, an initial template of the information file to be burned is generated by the automatic generation algorithm; Determine a burn information list for reflecting the location information that needs to be burned; Based on the burning information list, the parameter values ​​of the corresponding positions in the initial template are adjusted by the automatic generation algorithm to obtain the information file to be burned for the electronic fuse.

2. The method for generating an information file to be burned according to claim 1, characterized in that: Obtaining a pre-established automatic generation algorithm corresponding to the device information, including: Get the electronic fuse information list; The electronic fuse information list includes a plurality of electronic fuse information, and any one of the electronic fuse information includes parameter information of a type of electronic fuse and a name of an automatic generation algorithm corresponding to the type of electronic fuse; Selecting a piece of electronic fuse information matching the device information from the electronic fuse information list, and reading the name of the automatic generation algorithm from the piece of electronic fuse information; Based on the read automatic generation algorithm name, a corresponding automatic generation algorithm is obtained from an automatic generation algorithm library as the obtained automatic generation algorithm corresponding to the device information.

3. The method for generating the information file to be burned according to claim 2, characterized in that: Selecting a piece of electronic fuse information matching the device information from the electronic fuse information list includes: Traversing each piece of electronic fuse information in the electronic fuse information list one by one; When the manufacturer name, process, depth value and width value in a piece of electronic fuse information are all consistent with the content in the received device information, it is determined that the piece of electronic fuse information is electronic fuse information that matches the device information.

4. The method for generating an information file to be burned according to claim 1, characterized in that: A list of burn information reflecting the location information to be burned is determined, including: Based on the build instruction, the preset basic burning information list, the burning information lists of each scene specified by the build instruction, and the supplementary burning information specified by the build instruction are merged to obtain a burning information list reflecting the location information that needs to be burned.

5. The method for generating the information file to be burned according to claim 1, characterized in that: After obtaining the information file to be written for the electronic fuse, the method further includes: Determining an adapted load command based on the device information; The information file to be written is loaded into a verification environment through the loading command, so as to perform a simulation test on the device model of the electronic fuse.

6. The method for generating the information file to be burned according to claim 1, characterized in that: Also includes: Verifying whether the format of the information file to be burned for the electronic fuse is consistent with the specified format in the device information; If not, a prompt message is output.

7. The method for generating an information file to be burned according to any one of claims 1 to 6, characterized in that: Based on the capacity parameter in the device information, an initial template of the information file to be burned is generated by the automatic generation algorithm, including: Determining the capacity of the electronic fuse based on the depth value and the width value in the capacity parameter in the device information; According to the capacity of the electronic fuse, an initial template of the information file to be burned is generated by the automatic generation algorithm; The initial template includes the address of each storage unit of the electronic fuse, and the default value of each address is 0, and the total number of addresses is equal to the capacity of the electronic fuse; Based on the burning information list, adjusting the parameter values ​​of the corresponding positions in the initial template by the automatic generation algorithm to obtain the information file to be burned for the electronic fuse includes: Read each position information in the burning information list in sequence; For any position information in the read burning information list, determine the electronic fuse address corresponding to the position information through the automatic generation algorithm, and based on the electronic fuse address, modify the value of the address of the corresponding storage unit in the initial template to 1; After completing the reading of each position information of the burning information list and the corresponding modification of the initial template, the to-be-burned information file for the electronic fuse is obtained.

8. A system for generating information files to be burned, characterized in that: include: A device information receiving module, used for receiving device information of the electronic fuse to be tested; An automatic generation algorithm acquisition module, used to acquire a pre-established automatic generation algorithm corresponding to the device information; An initial template generation module, used to generate an initial template of the information file to be burned based on the capacity parameter in the device information through the automatic generation algorithm; A burning information list determination module, used to determine a burning information list reflecting the location information that needs to be burned; The module for generating the information file to be burned is used to adjust the parameter values ​​of the corresponding positions in the initial template through the automatic generation algorithm based on the burning information list to obtain the information file to be burned for the electronic fuse.

9. A device for generating information files to be burned, characterized in that: include: Memory for storing computer programs; A processor is used to execute the computer program to implement the steps of the method for generating an information file to be burned as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for generating an information file to be burned as claimed in any one of claims 1 to 7 are implemented.