Information extraction method and device, electronic equipment and computer readable storage medium

Through the extraction method, the target path information in large-scale chip scandump files is automatically found and extracted. Regular expressions and string splitting technology are used to solve the problem of data reading and analysis difficulty, and improve the efficiency of post-silicon problem positioning of chips.

CN119129489APending Publication Date: 2024-12-13CHENGDU HAIGUANG INTEGRATED CIRCUIT DESIGN CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The huge data in the scandump files of large-scale chips makes it difficult for engineers to read and analyze data, and the splitting and splicing of register signals when generating files increases analysis complexity.

Method used

Provides an information extraction method, by obtaining scandump files and register path information to find matching information, traversing the files, and using regular expressions and string splitting technology to automatically find and extract target path information, reducing data reading and analysis Difficulty.

Benefits of technology

It realizes automated search and extraction of target path information in scandump files, improves the efficiency of engineers to locate chip silicon problems, and reduces the difficulty of data reading and analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119129489A_ABST
    Figure CN119129489A_ABST
Patent Text Reader

Abstract

The invention provides an information extraction method and device, electronic equipment and a computer readable storage medium. The method comprises the steps of obtaining a scanmp file and path information of a register needing to be searched; the scan file is traversed, and all target path information matched with the path information of the register needing to be searched in the scan file is found; and carrying out information extraction on the found target path information and outputting the information. According to the scheme, the target path information required by the scandump file can be automatically found out, and the required information is extracted from the target path information to be output, so that an engineer can directly perform analysis based on the extracted information, the difficulty of reading and analyzing data recorded in the scandump file is effectively relieved, and the efficiency of reading and analyzing the data recorded in the scandump file is improved. And the efficiency of positioning the problem after chip silicon by an engineer can be 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 technology, and more specifically, to an information extraction method, device, electronic device, and computer-readable storage medium. Background Art

[0002] DFT (Design for Testability) is a technology that solves the problem of chip testability. DFT designers link scan cells (hardware logic, usually registers) in the chip netlist into scan chains, which can be accessed from the outside through the chip port.

[0003] When a chip problem occurs (such as a manufacturing defect in a storage element, etc.) and post-silicon problem location is required, the values ​​of all registers on the scan chain at the time of the error can be extracted, and the register paths and their values ​​can be matched and stored as a scan dump file (i.e., a scandump file). In theory, the scandump file saves all on-site information inside the chip at the time of the error, and reasonable reading and analysis can help locate the root cause of the chip problem.

[0004] However, for large-scale chips, the number of registers on the scan chain can reach tens of millions, which results in a very large amount of data in the scandump file, making it very difficult for engineers to read and analyze the required data in the scandump file. In addition, when generating a scandump file, the signals belonging to the same group of reg buses (referring to the values ​​of multi-bit registers in the scandump file, that is, the set of values ​​of a multi-bit register in the scandump file is a group of reg buses) in the RTL (Register Transfer Level) may be split by bit, and the reg bits (referring to a bit of a register) in different reg buses may be spliced ​​together, which will further increase the difficulty for engineers to read and analyze the required data in the scandump file. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide an information extraction method, device, electronic device and computer-readable storage medium to alleviate the problem that it is very difficult to read and analyze the data recorded in the scandump file.

[0006] An embodiment of the present application provides an information extraction method, including: obtaining a scandump file and register path information to be searched; traversing the scandump file to find all target path information in the scandump file that matches the register path information to be searched; extracting information from each of the target path information found and outputting it.

[0007] In the above implementation, by obtaining the scandump file and the register path information to be found, the scandump file is traversed to find all the target path information in the scandump file that matches the register path information to be found, and then the information of each target path information found is extracted and output. In this way, engineers only need to provide the scandump file and the register path information to be found, and they can automatically find the target path information required by the scandump file, and extract the required information from it for output, so that engineers can directly analyze based on the extracted information, effectively alleviating the difficulty of reading and analyzing the data recorded in the scandump file, and thus improving the efficiency of engineers in locating chip post-silicon problems.

[0008] Furthermore, before traversing the scandump file to find all target path information in the scandump file that matches the register path information to be found, the method also includes: converting the register path information to be found into a regular expression; traversing the scandump file to find all target path information in the scandump file that matches the register path information to be found, including: traversing the scandump file to find all target path information in the scandump file that matches the regular expression.

[0009] A regular expression is a pattern that can be used to describe and match strings. In the above implementation, by converting the register path information to be found into a regular expression, and then traversing and searching in the scandump file based on the regular expression, all target path information that matches the register path information to be found can be found more comprehensively, thereby improving the comprehensiveness of the search and reducing the risk of missed detection.

[0010] Furthermore, before converting the register path information to be searched into a regular expression, the method also includes: obtaining a project code of the project to which the scandal file belongs; determining a target processing script corresponding to the project code according to the project code and a correspondence between a preset project code and a processing script; defining a regular expression conversion rule in the target processing script according to the RTL code structure of the project to which the scandal file belongs; converting the register path information to be searched into a regular expression, including: calling the target processing script to convert the register path information to be searched into the regular expression.

[0011] It is understandable that in actual applications, the RTL code structures used in different projects may be different, which leads to certain differences in the information recording structure in the scandal file in different projects. Therefore, corresponding processing scripts can be written in advance for different projects, and the corresponding regular expression conversion rules can be defined in the processing script according to the RTL code structure used by the project. In the above implementation, the target processing script can be found through the project code of the project to which the scandal file belongs, and then the register path information to be searched is converted into a regular expression through the target processing script, so that the converted regular expression can match the RTL code structure used by the project to which the scandal file belongs, so that the converted regular expression can have a better search and matching effect in the scandal file, which can improve the comprehensiveness of the search and reduce the risk of missed detection.

[0012] Furthermore, traversing the scandump file to find all target path information in the scandump file that matches the register path information to be found includes: traversing the scandump file to find all target rows in the scandump file that match the register path information to be found; if the target row contains other strings except the register path information to be found, performing string splitting on the target row; extracting a target string that matches the register path information to be found from each split string; the target string is the target path information.

[0013] It can be understood that, as described in the related art, when generating a scandump file, the signals belonging to the same group of regbus in the RTL may be split by bit, and the reg bits in different reg buses may be spliced ​​together, which will further increase the difficulty for engineers to read and analyze the required data in the scandump file. In the above implementation, when the target row that matches the register path information to be found is found, if other strings other than the register path information to be found are spliced ​​in the target row, the target row is string split, and then the target string that matches the register path information to be found is extracted from each split string, and these target strings are used as target path information for subsequent information extraction, so that the interference of irrelevant signals in the target row in the scandump file can be effectively eliminated, further reducing the difficulty of reading and analyzing the data recorded in the scandump file, and improving the efficiency of engineers in locating chip post-silicon problems.

[0014] Furthermore, information extraction and output are performed on each of the target path information found, including: sorting and outputting the register values ​​in each of the target path information found in order of bits from high to low; or sorting and outputting the register values ​​in each of the target path information found in order of bits from low to high.

[0015] In the above implementation, since each target path information found matches the same register path information to be found, the register value recorded in each target path information found belongs to the same reg bus (that is, the value recorded in the same multi-bit register), so the register value in each target path information is sorted and output in order from high to low bit, or the register value in each target path information found is sorted and output in order from low to high bit, so that engineers can directly and clearly know the complete value recorded in the register indicated by the register path information to be found, which is convenient for engineers to analyze and locate chip post-silicon problems.

[0016] Furthermore, the method also includes: obtaining a bit range to be output; extracting and outputting information for each of the target path information found, including: sorting and outputting the values ​​of each bit in the register values ​​in each of the target path information found that belong to the bit range in order from high to low; or, sorting and outputting the values ​​of each bit in the register values ​​in each of the target path information found that belong to the bit range in order from low to high.

[0017] It can be understood that in some scenarios, there may be situations where engineers need to focus on register values ​​within a certain bit range. To this end, engineers can set the bit range to be output, so that based on the above implementation method, the register values ​​within the bit range in the register indicated by the register path information to be searched can be sorted and output in sequence, so that engineers can directly and clearly know what the register value within the bit range in the register indicated by the register path information to be searched is, which is convenient for engineers to analyze and locate post-silicon problems of the chip.

[0018] Furthermore, the method also includes: when the register path information to be searched is the path information of an element of a FIFO (first-in-first-out buffer), extracting the write pointer information, read pointer information, and / or empty information of the FIFO from the scandump file; determining whether there are unsent packets in the FIFO and determining the position of the last processed packet in the FIFO based on the write pointer information, read pointer information, and / or empty information of the FIFO.

[0019] It can be understood that for a FIFO, it can have multiple elements (each element can store a specified size of data, for example, a FIFO has N elements, assuming that the size of each element is 95 bits, then the size of FIFOI is N*95 bits, and it can store N 95 bits of data). If the path information of the element whose register path information is FIFO needs to be found, it means that the register path information needs to be found to indicate the FIFO. At this time, in order to facilitate the subsequent analysis of engineers to locate the post-silicon problem of the chip, in the above implementation method, the write pointer information, read pointer information, and / or empty information of the FIFO are extracted from the scandump file, and according to the write pointer information, read pointer information, and / or empty information of the FIFO, it is determined whether there are unsent packets in the FIFO, and the position of the last processed packet in the FIFO is determined. In this way, based on this information, engineers can be further assisted in subsequent chip post-silicon problem location, thereby further reducing the difficulty of reading and analyzing the data recorded in the scandump file, and improving the efficiency of engineers in locating chip post-silicon problems.

[0020] Further, the number of register path information to be searched is multiple; traversing the scandump file to find all target path information in the scandump file that matches the register path information to be searched, including: for each register path information to be searched, traversing the scandump file to find all target path information in the scandump file that matches the register path information to be searched; extracting information from each target path information found and outputting it, including: for each register path information to be searched, sorting and outputting the register values ​​in each target path information found that matches the register path information to be searched according to a preset sorting rule; wherein the preset sorting rule includes sorting in order from high to low bits, or sorting in order from low to high bits.

[0021] Through the above implementation, the information extraction and output of multiple register path information to be searched in the scandump file can be realized at one time, thereby improving the efficiency of information extraction.

[0022] Further, for each of the register path information to be searched, the register values ​​in each of the target path information that match the register path information to be searched are sorted according to a preset sorting rule and output, including: for each of the register path information to be searched: determining the target register type corresponding to the register path information to be searched according to a preset correspondence between the register path information and the register type; sorting the register values ​​in each of the target path information that match the register path information to be searched according to a preset sorting rule to obtain a target sorting value; storing the target sorting value in a set corresponding to the target register type; and when the target sorting values ​​of all of the register path information to be searched are respectively stored in their corresponding sets, traversing and outputting the information stored in each of the sets.

[0023] In the above implementation, based on the register type corresponding to each register path information to be searched, the target sort value extracted from the scandump file for each register path information to be searched is stored in the set corresponding to each register type, and then the information stored in each set is traversed and output. In this way, the output information can include not only the information itself, but also the type to which the information belongs, which makes it easier for engineers to analyze and improves the efficiency of engineers in locating post-silicon problems of chips.

[0024] Furthermore, the register type includes: instruction type, data type, read instruction response type and write instruction response type; before traversing and outputting the information stored in each of the sets, the method also includes: when the target register type corresponding to the register path information to be searched is a data type or a read instruction response type, verifying the target sorting value corresponding to the register path information to be searched, and adding the verification result of the target sorting value to the set corresponding to the target sorting value.

[0025] In the above implementation, for data types or read instruction response type data, the data usually contains verification information. For this purpose, the target sorting value of the data type or read instruction response type is verified, and the verification result is added to the set corresponding to the target sorting value. This allows engineers to understand the verification status of the target sorting value of the data type or read instruction response type after traversing and outputting the information stored in each set, which makes it easier for engineers to perform analysis and improves the efficiency of engineers in locating post-silicon problems of chips.

[0026] The embodiment of the present application also provides an information extraction device, including: an acquisition module, used to obtain a scan dump scandump file and register path information to be searched; a matching module, used to traverse the scandump file and find all target path information in the scandump file that matches the register path information to be searched; an extraction module, used to extract and output information from each of the target path information found.

[0027] Furthermore, the device also includes a conversion module for converting the register path information to be searched into a regular expression; the matching module is specifically used to traverse the scandump file and find all target path information in the scandump file that matches the regular expression.

[0028] Furthermore, the acquisition module is also used to obtain the project code of the project to which the scandal file belongs; the conversion module is specifically used to: determine the target processing script corresponding to the project code according to the project code and the correspondence between the preset project code and the processing script; the target processing script defines a regular expression conversion rule according to the RTL code structure of the project to which the scandal file belongs; and call the target processing script to convert the register path information to be found into the regular expression.

[0029] Furthermore, the matching module is specifically used to: traverse the scandump file to find all target lines in the scandump file that match the register path information to be found; if the target line contains other character strings except the register path information to be found, then split the target line into strings; extract the target character string that matches the register path information to be found from each split character string; the target character string is the target path information.

[0030] An embodiment of the present application also provides an electronic device, including a processor and a memory; the processor is used to execute one or more programs stored in the memory to implement any of the above-mentioned information extraction methods.

[0031] A computer-readable storage medium is also provided in an embodiment of the present application. The computer-readable storage medium stores one or more programs. The one or more programs can be executed by one or more processors to implement any of the above-mentioned information extraction methods. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0033] Figure 1 A basic flow chart of an information extraction method provided in an embodiment of the present application;

[0034] Figure 2 A schematic diagram of an information extraction process in a user-defined mode provided in an embodiment of the present application;

[0035] Figure 3 A schematic diagram of an information extraction process in a fixed mode provided in an embodiment of the present application;

[0036] Figure 4 A schematic diagram of the structure of an information extraction device provided in an embodiment of the present application;

[0037] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0039] In order to alleviate the difficulty of reading and analyzing the data recorded in the scandal file, an information extraction method is provided in the embodiment of the present application. Figure 1 As shown, Figure 1 The following is a flow chart of the information extraction method provided in the embodiment of the present application, including:

[0040] S101: Obtain the scandump file and the register path information to be searched.

[0041] The information extraction method provided in the embodiments of the present application can be executed by a programmed product. For example, an information extraction device can be implemented by a program code (for example, python code can be used) to execute the information extraction method provided in the embodiments of the present application.

[0042] In the embodiment of the present application, the scandump file and the register path information to be searched can be directly input by an engineer into a programmed product that executes the information extraction method provided in the embodiment of the present application. In addition, the storage locations of the scandump file and the register path information to be searched can also be pre-set, and then the programmed product that executes the information extraction method provided in the embodiment of the present application can obtain the scandump file and the register path information to be searched by accessing the storage locations of the scandump file and the register path information to be searched.

[0043] In the embodiment of the present application, when engineers pass information into a programmed product that executes the information extraction method provided in the embodiment of the present application, they can use the argparse module in Python to implement it, but this is not a limitation.

[0044] S102: traverse the scandump file to find all target path information in the scandump file that matches the register path information to be found.

[0045] In the embodiment of the present application, the obtained scandal file may be a compressed file. In this case, before executing step S102, the scandal file may be decompressed first.

[0046] In the embodiment of the present application, the scandump file is a text file obtained by using DFT technology to save the register path on the chip scan chain and the actual value of each scan cell on the scan chain at a certain moment. The scandump file is a snapshot of the output value of the scan cell inside the chip at a certain point in time.

[0047] The content of each line in the scandump file usually includes at least two parts: REG and VALUE. REG is the register path on the scan chain, and VALUE is the value of the scan cell corresponding to the register path. Among them, the register path on the scanchain may only include a reg bit path, or it may be composed of multiple reg bit paths spliced ​​together.

[0048] For example, for the register path "A_reg_0_MB_B_reg_1_MB_C_reg", it means that the three reg bits A_reg_0, B_reg_1, and C_reg are spliced ​​together. In the scandump file, it is represented by three lines with the same path. The value values ​​are the values ​​corresponding to the three reg bits, where A, B, and C are different signals, A and B are multi-bit signals, and C is a single-bit signal. A_reg_0 is the 0th bit of signal A, and B_reg_1 is the 1st bit of signal B.

[0049] In the embodiment of the present application, the register path information to be searched may be constructed and input by an engineer according to the structure of the register path in the scandal file. It can be understood that the structure of the register path in the scandal file is related to the structure of the RTL code used in the project to which the scandal file belongs, so the register path information to be searched may be input by an engineer according to the structure of the RTL code used in the project to which the scandal file belongs.

[0050] In a feasible implementation of an embodiment of the present application, the register path information to be found can be directly used to traverse the scandump file. When it is found that the register path in a certain line of the scandump file covers the register path information to be found, the line can be determined as the target path information that matches the register path information to be found.

[0051] For example, if the register path information to be found is "A_reg", the row where the register path "A_reg_0_MB_B_reg_1_MB_C_reg" is located can be determined as the target path information.

[0052] In another feasible implementation of the embodiment of the present application, the register path information to be searched may be first converted into a regular expression, and then the scandump file is traversed to find all target path information matching the regular expression in the scandump file.

[0053] Exemplarily, a regular expression for register path information to be found may be used to traverse the scandump file. When a register path in a row of the scandump file is found to match the regular expression, the row may be determined as target path information matching the register path information to be found.

[0054] It can be understood that a regular expression is a pattern that can be used to describe and match strings. It contains common characters and special characters (metacharacters), and can well implement text matching functions. Therefore, by converting the register path information to be searched into a regular expression, and then traversing and searching in the scandump file based on the regular expression, all target path information that matches the register path information to be searched can be found more comprehensively, which can improve the comprehensiveness of the search and reduce the risk of missed detection.

[0055] It is understandable that in actual applications, the RTL code structures used in different projects may be different, which leads to certain differences in the information recording structure in the scandal file in different projects. Therefore, engineers can pre-write corresponding processing scripts for different projects, and in the processing scripts, the corresponding regular expression conversion rules can be defined according to the RTL code structure used by the project. Then, when information extraction is required, the programmed product that executes the information extraction method provided in the embodiment of the present application can obtain the project code of the project to which the scandal file belongs, and then determine the target processing script corresponding to the project code according to the project code and the correspondence between the preset project code and the processing script, and then call the target processing script to convert the register path information to be searched into a regular expression.

[0056] The conversion rule of the regular expression refers to which characters at which positions are common characters and which characters at which positions are metacharacters for a register path information to be searched.

[0057] The project code of the project to which the scandal file belongs may be actively input by an engineer, or the association between the identification information of the scandal file and the project code may be pre-configured and then searched based on the identification information of the scandal file and the association.

[0058] It can be understood that in the embodiment of the present application, as described above, when generating a scandump file, the signals belonging to the same group of reg buses in the RTL may be split by bit, and the reg bits in different reg buses may be spliced ​​together. Then in the scandump file, there may be multiple lines of the same register path, but corresponding to different values. For example, in the example above, for the register path "A_reg_0_MB_B_reg_1_MB_C_reg", it means that the three reg bits A_reg_0, B_reg_1, and C_reg are spliced ​​together, which is represented as three lines with the same path in the scandump file, and the value values ​​are the values ​​corresponding to the three reg bits respectively.

[0059] However, in the three lines with the same path in the scandump file, the correspondence between the value of each line and each register (reg) in the path is pre-set. For example, in the three lines "A_reg_0_MB_B_reg_1_MB_C_reg", the value of the first line can be defined as the value of C_reg, the value of the second line can be defined as the value of B_reg_1, and the value of the third line can be defined as the value of A_reg_0. Therefore, when multiple identical path information is traversed in the scandump file based on the register path information to be found, the path information where the required value of the register corresponding to the register path information to be found is located can be determined from the multiple identical path information based on the correspondence between each register and value in the path defined in the scandump file, as the target path information for the register path information to be found.

[0060] For example, suppose the register path information to be searched is "A_reg", and suppose the scandump file is traversed to obtain three lines of "A_reg_0_MB_B_reg_1_MB_C_reg", where according to the generation rule of the scandump file, the value of the first line can be defined as the value of C_reg, the value of the second line can be defined as the value of B_reg_1, and the value of the third line can be defined as the value of A_reg_0. Then it can be determined that the third line of the traversed path is the target path information.

[0061] In the embodiment of the present application, as described above, when generating a scandump file, the signals belonging to the same group of regbus in RTL may be split by bit, and the reg bits in different regbus may be spliced ​​together. For example, the register path "A_reg_0_MB_B_reg_1_MB_C_reg" in the above example is this case.

[0062] To this end, in an embodiment of the present application, the scandump file can be traversed to find all target lines in the scandump file that match the register path information to be found. At this time, if the target line contains other strings except the register path information to be found, the target line can be split into strings, and then the target string that matches the register path information to be found is extracted from each split string, and then the target string is used as the target path information. In this way, the interference of irrelevant signals in the target line of the scandump file can be effectively eliminated, and the difficulty of reading and analyzing the data recorded in the scandump file can be further reduced, which improves the efficiency of engineers in locating chip post-silicon problems.

[0063] It is understandable that when splitting the target line, the splitting can be performed based on a preset connecting character. For example, for the register path "A_reg_0_MB_B_reg_1_MB_C_reg", it can be split into the character strings "A_reg_0", "B_reg_1", and "C_reg" based on the connecting character "MB".

[0064] In the embodiment of the present application, if the target path information matching the register path information to be searched is not found in the scandump file, the program can be terminated. In addition, a message indicating that the target path information is not found can also be output to inform the engineer that the target path information is not found.

[0065] S103: extract and output the information of each target path found.

[0066] In a feasible embodiment of the present application, the register values ​​in each target path information found can be sorted and output in the order of bits from high to low; or, the register values ​​in each target path information found can be sorted and output in the order of bits from low to high. In this way, since each target path information found matches the same register path information to be found, the register values ​​recorded in each target path information found belong to the same reg bus (that is, the values ​​recorded in the same multi-bit register), so the register values ​​in each target path information are sorted and output in the order of bits from high to low, or the register values ​​in each target path information found are sorted and output in the order of bits from low to high, so that engineers can directly and clearly know the complete recorded values ​​in the register indicated by the register path information to be found, so as to facilitate engineers to analyze and locate chip post-silicon problems.

[0067] For example, assuming that the target path information found is the row where A_reg_0 is located, the row where A_reg_1 is located, and the row where A_reg_2 is located, and assuming that the VALUE value (i.e., the register value) extracted from the row where A_reg_0 is located is 0, the register value extracted from the row where A_reg_1 is located is 1, and the register value extracted from the row where A_reg_2 is located is 1, then sort the bits in descending order to obtain 110 and output it.

[0068] It can be understood that in some scenarios, there may be situations where engineers need to focus on register values ​​within a certain bit range. For this reason, in some optional implementations of this feasible embodiment, engineers can set the bit range to be output, execute the programmed product of the information extraction method provided in the embodiment of this application to obtain the bit range to be output, and then sort the values ​​of each bit in the register value in each target path information found that belongs to the bit range in the order of the bit from high to low and output; or, sort the values ​​of each bit in the register value in each target path information found that belongs to the bit range in the order of the bit from low to high and output. This allows engineers to directly and clearly know what the register value in the bit range in the register indicated by the register path information to be found is, so as to facilitate engineers to analyze and locate chip post-silicon problems.

[0069] For example, taking the previous example, assuming the bit range is 0 to 1, the bits will be sorted from high to low and the value 10 will be output.

[0070] It can be understood that in this feasible embodiment, when the engineer sets the bit range to be output, all the register values ​​in the target path information found can be sorted and output, and the sorted value only for the set bit range to be output can be output, so that the engineer can know the value fully recorded in the register indicated by the register path information to be found, and can also directly and clearly know the sorted value of the bit range to be output.

[0071] Of course, in this feasible embodiment, when the engineer sets a bit range to be output, only the sorting value of the set bit range to be output may be output.

[0072] In another feasible embodiment of the embodiment of the present application, the register path information to be searched may be pre-set, and in this case, the number of register path information to be searched may be multiple, so that when executing step S102, for each register path information to be searched, the scandump file may be traversed to find all target path information in the scandump file that matches the register path information to be searched; when executing step S103, for each register path information to be searched, the register values ​​in each target path information that matches the register path information to be searched may be sorted according to a preset sorting rule and output; wherein the preset sorting rule includes sorting in order of bits from high to low, or sorting in order of bits from low to high.

[0073] It can be understood that in an optional implementation of this feasible embodiment, for each register path information to be searched: the target register type corresponding to the register path information to be searched can be determined based on the preset correspondence between the register path information and the register type, and then the register values ​​in each target path information found to match the register path information to be searched are sorted according to the aforementioned preset sorting rules to obtain the target sorting value; and then the target sorting value is stored in the set corresponding to the target register type.

[0074] When all target ranking values ​​for register path information to be searched are stored in their corresponding sets respectively, the information stored in each set is traversed and output.

[0075] When outputting the information stored in each set, the register type corresponding to each set and the information stored in the set can be correlated and output. In this way, the output information can include not only the information itself, but also the type to which the information belongs, which makes it easier for engineers to analyze and improves the efficiency of engineers in locating chip post-silicon problems.

[0076] In this optional embodiment, after finding each target path information and extracting the corresponding register value, it can be stored in the form of a key-value pair of "bit: value", for example, in a dictionary. Then, the stored values ​​are concatenated in the order of the key (i.e., the bit) in the key-value pair from large to small or from small to large to obtain the target sort value.

[0077] In this feasible embodiment, the register type may include: instruction type, data type, read instruction response type and write instruction response type, which correspond to 4 sets respectively, recorded as req set, data set, rdrsp set and wrrsp set.

[0078] In this feasible embodiment, each set may be implemented in the form of, but not limited to, a list.

[0079] In this feasible embodiment, engineers can also pre-record the signal types of the bits of the registers corresponding to each register path in the scan chain according to the RTL code, such as the instruction address (addr), instruction type (command), instruction length (length), instruction tag (tag), instruction initiator (unitid), additional description information of the instruction (attribution), data (data), checksum transmitted along with the instruction data (dataparity), error indication information representing that the instruction data is wrong (dataerror), response data (read response: data), response status (status), indication information representing whether the response data is wrong (datastatus), response tag (write response: tag), etc.

[0080] In this optional embodiment, when outputting the target ranking values ​​in each set, it is also possible to find out the signal type corresponding to each target path information from the pre-recorded signal types based on each target path information, and associate the target ranking values ​​in each set with the corresponding signal type and output them.

[0081] In this optional embodiment, before traversing and outputting the information stored in each set, when the target register type corresponding to the register path information to be found is a data type or a read instruction response type, the target sort value corresponding to the register path information to be found can also be verified, and the verification result of the target sort value is added to the set corresponding to the target sort value. In this way, after traversing and outputting the information stored in each set, engineers can understand the verification status of the target sort value of the data type or the read instruction response type, which makes it easier for engineers to perform analysis and improves the efficiency of engineers in locating chip post-silicon problems.

[0082] Exemplarily, when the target ranking value verification fails, information of dperr=1 may be added to the set corresponding to the target ranking value, otherwise information of dperr=0 may be added.

[0083] It is understandable that for data types or read instruction response types, the data usually contains verification information, that is, for target sorting values ​​of data types or read instruction response types, the data of specific bits is a verification code by default, and verification can be achieved based on the verification code. The relevant verification method is a prior art, so it will not be described in detail here.

[0084] In this optional embodiment, when it is necessary to search for path information of an element whose register path information is a FIFO, the write pointer information, the read pointer information, and / or the empty information of the FIFO of the FIFO can be extracted from the scandump file. Furthermore, it is also possible to determine whether there are unsent packets in the FIFO and the position of the last processed packet in the FIFO based on the write pointer information, the read pointer information, and / or the empty information of the FIFO.

[0085] Exemplarily, when the write pointer information and the read pointer information of the FIFO are extracted from the scandump file, it can be determined whether the write pointer information and the read pointer information are the same. If they are the same, it is determined that there are no unsent packets in the FIFO, otherwise it is determined that there are unsent packets in the FIFO. At the same time, the position pointed to by the read pointer information is determined as the position of the last processed packet in the FIFO.

[0086] Exemplarily, when the empty information of the FIFO is extracted from the scandump file, if the empty information is empty, it is determined that there are no unsent packets in the FIFO; otherwise, it is determined that there are unsent packets in the FIFO.

[0087] Exemplarily, when the write pointer information and the read pointer information of the FIFO are extracted from the scandump file, and the empty information of the FIFO is extracted, if the write pointer information and the read pointer information are the same, and the empty information is empty, it is determined that there is no unsent packet in the FIFO; if the write pointer information and the read pointer information are different, and the empty information is not empty, it is determined that there is an unsent packet in the FIFO; if the write pointer information and the read pointer information are different, but the empty information is empty, or the write pointer information and the read pointer information are the same, but the empty information is not empty, an error is reported. In addition, the position pointed to by the read pointer information is determined as the position of the last processed packet in the FIFO.

[0088] It can be understood that, since the structure of the register path in the scandump file is related to the structure of the RTL code used by the project to which the scandump file belongs, the structure of the RTL code of the project to which the scandump file belongs determines which register path information in the scandump file is the path information of the element of the FIFO. Therefore, in the embodiment of the present application, it can be determined whether the acquired register path information is the path information of the element of the FIFO based on the structure of the RTL code of the project to which the scandump file belongs.

[0089] It can also be understood that, for a FIFO, it may have multiple elements (each element may store data of a specified size, for example, a FIFO has N elements, assuming that the size of each element is 95 bits, then the size of FIFOI is N*95 bits, and it may store N data of 95 bits in size). If the path information of an element whose register path information is FIFO needs to be found, it means that the register path information indicating the FIFO needs to be found. At this time, in order to facilitate subsequent analysis by engineers to locate post-silicon problems of the chip, in the above implementation method, the write pointer information, read pointer information, and / or empty information of the FIFO are extracted from the scandump file, and according to the write pointer information, read pointer information, and / or empty information of the FIFO, it is determined whether there are any unsent packets in the FIFO, and the position of the last processed packet in the FIFO is determined. Based on this information, engineers may be further assisted in locating subsequent post-silicon problems of the chip, thereby further reducing the difficulty of reading and analyzing the data recorded in the scandump file, and improving the efficiency of engineers in locating post-silicon problems of the chip.

[0090] It can be understood that in the embodiments of the present application, in the programmed product for executing the information extraction method provided in the embodiments of the present application, only a program for implementing one of the above two optional embodiments can be configured, but the program for implementing the above two optional embodiments can also be configured simultaneously in the programmed product for executing the information extraction method provided in the embodiments of the present application. At this time, different optional embodiments can be configured as different modes, for example, the first optional embodiment is configured as a user-defined mode, and the second optional embodiment is configured as a fixed module. The user realizes the selection of the mode by inputting the mode selection parameter.

[0091] Based on the information extraction method provided in the embodiment of the present application, by obtaining the scandump file and the register path information to be found, the scandump file is traversed to find all the target path information in the scandump file that matches the register path information to be found, and then the information of each target path information found is extracted and output. In this way, engineers only need to provide the scandump file and the register path information to be found, and they can automatically find the target path information required by the scandump file, and extract the required information from it for output, so that engineers can directly analyze based on the extracted information, effectively alleviating the difficulty of reading and analyzing the data recorded in the scandump file, and thus improving the efficiency of engineers in locating chip post-silicon problems.

[0092] To facilitate understanding of the solution provided in the embodiments of the present application, Figure 2 and Figure 3 Taking the specific implementation process shown as an example, the scheme of the embodiment of the present application is further illustrated.

[0093] See also Figure 2 As shown, Figure 2 The process of using the user-defined mode is shown:

[0094] First, the user inputs the scandump file and project code, and needs to find the register path information and mode information (parameters corresponding to the user-defined mode).

[0095] In this process, the information input by the user is passed in with the help of the argparse module in Python.

[0096] Next, determine whether the scandump file is a compressed file. If so, decompress it; if not, go directly to the next step.

[0097] During this process, the scandump file can be decompressed and stored in a temporary folder of Linux (the temporary folder is in the system's / tmp directory, and the folder name can be composed of user name + project information + current system time + process number and other information, but this is not a restriction).

[0098] Next, the register path information to be searched is preprocessed according to the project code.

[0099] In this process, the corresponding target processing script is found according to the project code, and then the target processing script is called to convert the register path information to be found into the regular expression.

[0100] Next, the regular expression is used to traverse the scandump file. If no target path information matching the regular expression is found, the message "no path found" is printed and the program ends.

[0101] If target path information matching the regular expression is found, it is determined whether the target path information is concatenated with other character strings except the register path information to be searched.

[0102] If yes, the target path information is split, and the target string matching the register path information to be searched is extracted from each split string, and then the next step is entered. If no, the next step is entered.

[0103] Next, the bit index of the target string is used as the key and the register value corresponding to the target string is used as the value, and the result is saved to the dictionary in the form of a key-value pair.

[0104] Concatenate the values ​​in each key-value pair in ascending order of index and print them out in hexadecimal format. The output value is the value of the register corresponding to the register path information that needs to be searched in the scandump file at any time.

[0105] Determine whether the user has entered a bit range to be output. If so, concatenate the values ​​in each key-value pair of the bit range to be output in ascending order of index, print them in hexadecimal format, and then end the program; if not, end the program directly.

[0106] See also Figure 3 As shown, Figure 3 The process using fixed mode is shown:

[0107] First, the scandump file and project code are passed in, and the register path information (which can be multiple and pre-set) and mode information (which are parameters corresponding to fixed modes) need to be found.

[0108] In this process, the information input by the user is passed in with the help of the argparse module in Python.

[0109] Next, determine whether the scandump file is a compressed file. If so, decompress it; if not, go directly to the next step.

[0110] During this process, the scandump file can be decompressed and stored in a temporary folder of Linux (the temporary folder is in the system's / tmp directory, and the folder name can be composed of user name + project information + current system time + process number and other information, but this is not a restriction).

[0111] Next, the register path information to be searched is preprocessed according to the project code.

[0112] In this process, the corresponding target processing script is found according to the project code, and then the target processing script is called to convert the register path information to be found into the regular expression.

[0113] Next, the regular expression is used to traverse the scandump file. If no target path information matching the regular expression is found, the message "no path found" is printed and the program ends.

[0114] It can be understood that if there are multiple register path information to be searched, the matching search process of the next register path information to be searched will be entered. If there is no matching target path information for all the register path information to be searched, the program will be terminated.

[0115] If the target path information matching the regular expression is found, determine whether the register path information to be searched is an element of FIFO in RTL. If so, extract the read pointer information, write pointer information and empty information of the FIFO from the scandump file, and determine whether there are any unsent packets in the FIFO and the location of the last processed packet, and add the read pointer information, write pointer information, empty information of the corresponding FIFO, the result of determining whether there are any unsent packets in the FIFO and the location information of the last processed packet to the list to be printed, and proceed to the next step. If not, proceed directly to the next step.

[0116] Next, it is determined whether the target path information is concatenated with other character strings except the register path information to be searched.

[0117] If yes, the target path information is split, and the target string matching the register path information to be searched is extracted from each split string, and then the next step is entered. If no, the next step is entered directly.

[0118] Next, the bit index of the target string is used as the key and the register value corresponding to the target string is used as the value, and the result is saved to the dictionary in the form of a key-value pair.

[0119] The values ​​in each key-value pair are concatenated in ascending order of index, and after conversion into hexadecimal format, the converted target sorted values ​​are added to the req list or data list or rdrsp list or wrrsp list according to the corresponding register type.

[0120] If the target register type corresponding to the register path information to be found is a data type or a read instruction response type, the target sort value corresponding to the register path information to be found is verified, and the verification result of the target sort value is added to the set corresponding to the target sort value. For example, if the verification fails, the information of dperr=1 is added, otherwise the information of dperr=0 is added.

[0121] When all the target sorting values ​​of the register path information to be searched are stored in their respective corresponding sets, the information stored in each set is traversed and printed out (including the read pointer information, write pointer information, empty information of the corresponding FIFO, the judgment result of whether there are any unsent packets in the FIFO, and the location information of the last processed packet, dperr information, target sorting value, register type, etc.).

[0122] Based on the above method, engineers can effectively read and analyze the data recorded in the scandump file, which can improve the efficiency of engineers in locating chip post-silicon problems and help shorten the post-silicon verification time. Taking a scandump file of about 17,000,000 lines and 4.4GB in size as an example, using the above fixed mode for signal extraction can generate an output file of about 2,100 lines and 264KB in size, which contains information that helps locate problems and can effectively reduce duplication of work.

[0123] Moreover, the above method can be implemented based on Python program, and the scandump file can be processed in an environment that supports Python, with high compatibility and strong portability.

[0124] Based on the same inventive concept, an information extraction device 400 is also provided in the embodiment of the present application. Figure 4 As shown, Figure 4 Shows the use of Figure 1 The information extraction device of the method shown. It should be understood that the specific functions of the device 400 can be referred to the description above, and the detailed description is appropriately omitted here to avoid repetition. The device 400 includes at least one software function module that can be stored in a memory in the form of software or firmware or fixed in the operating system of the device 400. Specifically:

[0125] See also Figure 4 As shown, the apparatus 400 includes: an acquisition module 401, a matching module 402 and an extraction module 403. Among them:

[0126] An acquisition module 401 is used to acquire a scan dump file and register path information to be searched;

[0127] A matching module 402 is used to traverse the scandump file and find all target path information in the scandump file that matches the register path information to be found;

[0128] The extraction module 403 is used to extract and output the found target path information.

[0129] In a feasible implementation of the embodiment of the present application, the device 400 also includes a conversion module for converting the register path information to be searched into a regular expression; the matching module 402 is specifically used to: traverse the scandump file and find all target path information in the scandump file that matches the regular expression.

[0130] In this feasible implementation manner, the acquisition module 401 is also used to obtain the project code of the project to which the scandal file belongs; the conversion module is specifically used to: determine the target processing script corresponding to the project code according to the project code and the correspondence between the preset project code and the processing script; the target processing script defines a regular expression conversion rule according to the RTL code structure of the project to which the scandal file belongs; and call the target processing script to convert the register path information to be searched into the regular expression.

[0131] In a feasible implementation of an embodiment of the present application, the matching module 402 is specifically used to: traverse the scandump file to find all target lines in the scandump file that match the register path information to be found; if the target line contains other strings except the register path information to be found, then the target line is string split; the target string that matches the register path information to be found is extracted from each split string; the target string is the target path information.

[0132] In a feasible implementation manner of an embodiment of the present application, the extraction module 403 is specifically used to: sort and output the register values ​​in each of the target path information found in order of bits from high to low; or sort and output the register values ​​in each of the target path information found in order of bits from low to high.

[0133] In a feasible implementation manner of the embodiment of the present application, the acquisition module 401 is also used to obtain the bit range to be output; the extraction module 403 is specifically used to: sort the values ​​of each bit in the register value in each target path information found that belongs to the bit range in the order of the bit from high to low and output; or, sort the values ​​of each bit in the register value in each target path information found that belongs to the bit range in the order of the bit from low to high and output.

[0134] In a feasible implementation manner of the embodiment of the present application, the extraction module 403 is also used for: when the register path information to be found is the path information of an element of a first-in-first-out buffer FIFO, extracting the write pointer information, read pointer information, and / or empty information of the FIFO from the scandump file; determining whether there are unsent packets in the FIFO and determining the position of the last processed packet in the FIFO based on the write pointer information, read pointer information, and / or empty information of the FIFO.

[0135] In a feasible implementation of the embodiment of the present application, the number of register path information to be searched is multiple; the matching module 402 is specifically used to: for each register path information to be searched, traverse the scandump file, and find all target path information in the scandump file that matches the register path information to be searched; the extraction module 403 is specifically used to: for each register path information to be searched, sort the register values ​​in each target path information that matches the register path information to be searched according to a preset sorting rule and output; wherein the preset sorting rule includes sorting in order from high to low bits, or sorting in order from low to high bits.

[0136] In the above feasible implementation manner, the extraction module 403 is specifically used for: for each register path information to be searched: determining the target register type corresponding to the register path information to be searched according to the preset correspondence between the register path information and the register type; sorting the register values ​​in each target path information that matches the register path information to be searched according to a preset sorting rule to obtain a target sorting value; storing the target sorting value in a set corresponding to the target register type; and when the target sorting values ​​of all the register path information to be searched are respectively stored in their respective corresponding sets, traversing and outputting the information stored in each of the sets.

[0137] In the above feasible implementation mode, the register type includes: instruction type, data type, read instruction response type and write instruction response type; the extraction module 403 is also used for: before traversing and outputting the information stored in each of the sets, when the target register type corresponding to the register path information to be found is a data type or a read instruction response type, verifying the target sorting value corresponding to the register path information to be found, and adding the verification result of the target sorting value to the set corresponding to the target sorting value.

[0138] It should be understood that, for the sake of brevity, some of the contents described in the method embodiments will not be repeated in the device embodiments.

[0139] Based on the same inventive concept, the present application also provides an electronic device, see Figure 5 As shown, it includes a processor 501 and a memory 502. Among them:

[0140] The processor 501 is used to execute one or more programs stored in the memory 502 to implement the above information extraction method.

[0141] It is understood that the processor 501 may be a processor core or a processor chip, or other circuits capable of program configuration and operation, and the memory 502 may be a RAM (Random Access Memory), a ROM (Read-Only Memory), a flash memory, etc., but is not limited thereto.

[0142] It is understandable. Figure 5 The structure shown is for illustration only. The electronic device may also include Figure 5 More or fewer components as shown, or with Figure 5 For example, it may also have an internal communication bus for realizing communication between the processor 501 and the memory 502; for another example, it may also have an external communication interface, such as a USB (Universal Serial Bus) interface, a CAN (Controller Area Network) bus interface, etc.; for another example, it may also have an information display component such as a display screen, but this is not a limitation.

[0143] Based on the same inventive concept, this embodiment also provides a computer-readable storage medium, such as a floppy disk, an optical disk, a hard disk, a flash memory, a USB flash disk, an SD (Secure Digital Memory Card) card, an MMC (Multimedia Card) card, etc., in which one or more programs for implementing the above steps are stored, and the one or more programs can be executed by one or more processors to implement the above information extraction method. No further details will be given here.

[0144] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0145] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0146] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0147] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0148] As used herein, a plurality refers to two or more than two.

[0149] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. An information extraction method, characterized in that: include: Get the scan dump file and the register path information to be searched; Traversing the scandump file, finding all target path information in the scandump file that matches the register path information to be found; Extract and output the found target path information.

2. The information extraction method according to claim 1, characterized in that: Before traversing the scandump file to find all target path information in the scandump file that matches the register path information to be found, the method further includes: converting the register path information to be found into a regular expression; Traverse the scandump file to find all target path information in the scandump file that matches the register path information to be found, including: The scandump file is traversed to find all target path information matching the regular expression in the scandump file.

3. The information extraction method according to claim 2, characterized in that: Before converting the register path information to be searched into a regular expression, the method further includes: Get the project code of the project to which the scandal file belongs; According to the project code and the correspondence between the preset project code and the processing script, a target processing script corresponding to the project code is determined; the target processing script defines a conversion rule of a regular expression according to the RTL code structure of the project to which the scandal file belongs; Converting the register path information to be searched into a regular expression includes: The target processing script is called to convert the register path information to be searched into the regular expression.

4. The information extraction method according to claim 1, characterized in that: Traverse the scandump file to find all target path information in the scandump file that matches the register path information to be found, including: Traversing the scandump file, finding all target lines in the scandump file that match the register path information to be found; If the target line contains other character strings except the register path information to be searched, the target line is split into character strings; A target character string matching the register path information to be found is extracted from each split character string; the target character string is the target path information.

5. The information extraction method according to any one of claims 1 to 4, characterized in that: Extracting and outputting the found target path information, including: The register values ​​in the target path information found are sorted in descending order of bits and output; Alternatively, the register values ​​in each of the target path information found are sorted in order of bits from low to high and output.

6. The information extraction method according to any one of claims 1 to 4, characterized in that: The method further includes: obtaining a bit range to be output; Extracting and outputting the found target path information, including: Sorting the values ​​of each bit in the register value in each target path information that is found and belongs to the bit range in order from high to low bits and outputting them; Alternatively, the values ​​of each bit in the register value in each of the target path information found and belonging to the bit range are sorted in order from low to high bit and output.

7. The information extraction method according to any one of claims 1 to 4, characterized in that: The method further comprises: When the register path information to be searched is path information of an element of a first-in first-out buffer FIFO, extracting write pointer information, read pointer information, and / or empty information of the FIFO from the scandump file; According to the write pointer information, the read pointer information, and / or the empty information of the FIFO, it is determined whether there are unsent packets in the FIFO, and the position of the last processed packet in the FIFO is determined.

8. The information extraction method according to any one of claims 1 to 4, characterized in that: The number of register path information to be searched is multiple; Traverse the scandump file to find all target path information in the scandump file that matches the register path information to be found, including: For each register path information to be searched, traverse the scandump file to find all target path information in the scandump file that matches the register path information to be searched; Extracting and outputting the found target path information, including: For each of the register path information to be searched, the register values ​​in each of the target path information that match the register path information to be searched are sorted according to a preset sorting rule and output; The preset sorting rule includes sorting in order from high to low bits, or sorting in order from low to high bits.

9. The information extraction method according to claim 8, characterized in that: For each register path information to be searched, the register values ​​in each target path information that matches the register path information to be searched are sorted according to a preset sorting rule and output, including: For each of the above, you need to find the register path information: Determine the target register type corresponding to the register path information to be searched according to the preset correspondence between the register path information and the register type; Sorting the register values ​​in each of the target path information that matches the register path information to be searched according to a preset sorting rule to obtain a target sorting value; Storing the target sort value into a set corresponding to the target register type; When all the target ranking values ​​of the register path information to be searched are stored in their corresponding sets respectively, the information stored in each set is traversed and output.

10. The information extraction method according to claim 9, characterized in that: The register types include: instruction type, data type, read instruction response type and write instruction response type; Before traversing and outputting the information stored in each of the sets, the method further includes: When the target register type corresponding to the register path information to be searched is a data type or a read instruction response type, the target sort value corresponding to the register path information to be searched is verified, and the verification result of the target sort value is added to the set corresponding to the target sort value.

11. An information extraction device, characterized in that: include: The acquisition module is used to obtain the scan dump file and the register path information to be searched; A matching module, used for traversing the scandump file, and finding all target path information in the scandump file that matches the register path information to be found; The extraction module is used to extract and output the found target path information.

12. The information extraction device according to claim 11, characterized in that: The device also includes a conversion module, which is used to convert the register path information to be searched into a regular expression; The matching module is specifically used to traverse the scandump file and find all target path information matching the regular expression in the scandump file.

13. The information extraction device according to claim 12, characterized in that: The acquisition module is also used to obtain the project code of the project to which the scandal file belongs; The conversion module is specifically used for: determining a target processing script corresponding to the project code according to the project code and the correspondence between the preset project code and the processing script; defining a regular expression conversion rule in the target processing script according to the RTL code structure of the project to which the scandal file belongs; and calling the target processing script to convert the register path information to be searched into the regular expression.

14. The information extraction device according to any one of claims 11 to 13, characterized in that: The matching module is specifically used for: Traversing the scandump file, finding all target lines in the scandump file that match the register path information to be found; If the target line contains other character strings except the register path information to be searched, the target line is split into character strings; A target character string matching the register path information to be found is extracted from each split character string; the target character string is the target path information.

15. An electronic device, characterized in that: include: Processor and memory; The processor is used to execute one or more programs stored in the memory to implement the information extraction method according to any one of claims 1 to 10.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the information extraction method according to any one of claims 1 to 10.

Citation Information

Cited By

  • System for debugging integrated circuit

    CN120104412A