CN115630036A - Error information processing method, apparatus, device, storage medium and program product - Google Patents

Error information processing method, apparatus, device, storage medium and program product Download PDF

Info

Publication number
CN115630036A
CN115630036A CN202211419358.9A CN202211419358A CN115630036A CN 115630036 A CN115630036 A CN 115630036A CN 202211419358 A CN202211419358 A CN 202211419358A CN 115630036 A CN115630036 A CN 115630036A
Authority
CN
China
Prior art keywords
information
log
user
query result
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211419358.9A
Other languages
Chinese (zh)
Inventor
牟秋娟
张英杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Innoda Chengdu Electronic Technology Co ltd
Original Assignee
Innoda Chengdu Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Innoda Chengdu Electronic Technology Co ltd filed Critical Innoda Chengdu Electronic Technology Co ltd
Priority to CN202211419358.9A priority Critical patent/CN115630036A/en
Publication of CN115630036A publication Critical patent/CN115630036A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Library & Information Science (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses an error information processing method, an error information processing device, error information processing equipment, a storage medium and a program product, wherein the method comprises the following steps: creating a log file, and recording verification log information generated in the running process of electronic design automation software into the log file, wherein each verification log information has a corresponding information identifier; receiving a query request of a user for a first information identifier in the log file; responding to the query request, querying an object in first verification log information corresponding to the first information identifier in the log file to obtain an object query result, wherein the object query result comprises related information of the queried object, and the related information comprises at least one of name information, attribute information and connection object information; and outputting the object query result. The method and the device can help a user to discover the chip design problem as early as possible and improve the chip design, and reduce the time cost and the economic cost brought by the design deviation.

Description

Error information processing method, apparatus, device, storage medium and program product
Technical Field
The present application relates to the field of electronic design automation, and in particular, to an error reporting information processing method, apparatus, device, storage medium, and program product.
Background
Electronic Design Automation (EDA) software refers to Design software that uses computer-aided Design (CAD) to complete the processes of functional Design, integration, verification, physical Design (including layout, wiring, layout, design rule check, etc.) of very large scale integrated circuit (VLSI) chips.
In order to record various error messages in the operation process of the system, for example: information such as crash, error or warning is generally recorded in the EDA software by using a system log, and if information such as crash, error or warning is detected during the running process of the program, the log system records key information such as the position of occurrence, the object of occurrence, the time of occurrence, the cause of the occurrence of the error information, and specifically, the log system is roughly divided into three types: application logs, system logs, and security logs, a log system typically comprising: the system comprises five modules of log collection, log transmission, log storage, log analysis and error report. Users can obtain the system running state through inquiring the log, and system operation and development personnel can also know the real-time information generated in the running system, the error in the checking and configuring process and the reason of the error through the log.
Existing EDA software uses logs to record error information encountered: after the chip design file and the related library file are read in and the system is started, the system verifies the content in the design file according to each detection item, and information such as errors, warnings and the like in verification is immediately recorded in a log file until the system is completely operated. However, existing EDA software is difficult to help a user find out a root cause of an error, and after that, the user needs to query a log file generated by a system to find a problem occurring in a design, for example, to browse each piece of information recorded in a log one by one according to a time sequence to perform information query, or to use Linux commands such as grep, awk, and wc to implement retrieval and statistics, so that efficiency is low, the user is difficult to find a problem point where an error-reporting object is more accurate through the log file, and cannot conveniently query target information, and such a method is still necessary for higher-requirement query, sorting, and statistics, particularly, more detailed information of a related object that needs to generate error information in an error troubleshooting process, and the like.
Therefore, the EDA software needs an error information processing method to help the chip designer to find the problem as early as possible, to provide the user with design error information to help find the problem as early as possible and to improve the chip design, reducing the time cost and economic cost due to the design deviation.
Disclosure of Invention
The embodiment of the application provides an error information processing method, an error information processing device, error information processing equipment, an error information storage medium and a program product, which can help a chip designer to find chip design problems as early as possible and improve chip design, and reduce time cost and economic cost caused by design deviation.
In a first aspect, an embodiment of the present application provides an error information processing method, where the method includes:
creating a log file, and recording verification log information generated in the running process of the electronic design automation software into the log file, wherein each verification log information has a corresponding information identifier;
receiving a query request of a user for a first information identifier in the log file;
responding to the query request, querying an object in first verification log information corresponding to the first information identifier in the log file to obtain an object query result, wherein the object query result comprises related information of the queried object, and the related information comprises at least one item of name information, attribute information and connection object information;
and outputting the object query result.
In a second aspect, an embodiment of the present application provides an error information processing apparatus, including:
the system comprises a first creating module, a second creating module and a third creating module, wherein the first creating module is used for creating a log file and recording verification log information generated by electronic design automation software in the running process into the log file, and each verification log information has a corresponding information identifier;
the first receiving module is used for receiving a query request of a user for a first information identifier in the log file;
a first query module, configured to query, in response to the query request, an object in the first verification log information corresponding to the first information identifier in the log file to obtain an object query result, where the object query result includes related information of the queried object, and the related information includes at least one of name information, attribute information, and connection object information;
and the first output module is used for outputting the object query result.
In a third aspect, an embodiment of the present application provides an error information processing apparatus, including: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the error information processing method according to the first aspect.
In a fourth aspect, the present application provides a computer storage medium, where the computer storage medium has stored thereon computer program instructions, and the computer program instructions, when executed by a processor, implement the error information processing method according to the first aspect.
In a fifth aspect, the present application provides a computer program product, and when executed by a processor of an electronic device, the instructions of the computer program product cause the electronic device to execute the error information processing method according to the first aspect.
In the embodiment of the application, the log file records verification log information generated by the EDA software in the running process and information identifiers corresponding to each verification log information, and a user can query relevant information of an object in the first verification log information corresponding to the first information identifier through the first information identifier in the log file, wherein the relevant information includes at least one of name information, attribute information and connection object information. Therefore, the method can help a user to find the chip design problem as early as possible and improve the chip design, and reduce the time cost and the economic cost brought by the design deviation.
Drawings
Fig. 1 is a flowchart of an error message processing method according to an embodiment of the present application;
fig. 2 is a second flowchart of an error message processing method according to an embodiment of the present disclosure;
fig. 3 is a data flow diagram of an error information processing method according to an embodiment of the present application;
FIG. 4 is a block diagram of an error message processing device according to an embodiment of the present disclosure;
fig. 5 is a third flowchart of an error message processing method according to an embodiment of the present application;
fig. 6 is a block diagram of an error information processing apparatus according to an embodiment of the present application;
fig. 7 is a second structural diagram of an error information processing apparatus according to an embodiment of the present application.
Detailed Description
Features of various aspects and exemplary embodiments of the present application will be described in detail below, and in order to make objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are intended to be illustrative only and are not intended to be limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising 8230; \8230;" comprises 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The error information processing method provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings through some embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart of an error message processing method according to an embodiment of the present application. As shown in fig. 1, the error information processing method may include the following steps:
step 101, creating a log file, and recording verification log information generated in the running process of the electronic design automation software into the log file, wherein each verification log information has a corresponding information identifier.
In specific implementation, the EDA software can verify the contents of the chip design file and the related library file during the operation process to obtain the verification log information. The verification log information may include information such as crashes, errors, warnings, etc. encountered in the verification. The verification log information may record the location where the above information (crash, error, warning, etc.) appears, the object of occurrence, the time of occurrence, the cause of the occurrence, and the like.
In the embodiment of the present application, each verification log Message has a corresponding Message ID (Msg ID). The information identification corresponding to each verification log information has uniqueness and can be inquired. Thus, the user can query the relevant information of the object in the verification log information through the information identification, which is described in detail below.
In some embodiments, the electronic design automation software is any one of: a layout and wiring tool, a hardware simulation acceleration tool, a timing analysis tool, a power consumption verification tool, a power consumption analysis tool, a physical verification tool, a form verification tool, a logic simulation tool and a logic synthesis tool.
And 102, receiving a query request of a user for the first information identifier in the log file.
The first information identifier may be any information identifier in the log file.
In some embodiments, the receiving a query request identified by a user for first information in the log file includes:
receiving a selection operation of a user on first content in the log file;
and responding to the selection operation, and determining that a query request of a user for a first information identifier in the log file is received, wherein the first information identifier is an information identifier corresponding to the first content.
In specific implementation, a user may read the log file and select an interested content, that is, a first content, from the log file, where the first content may be a part or all of the content in the first verification log information, and the first verification log information is the verification log information corresponding to the first information identifier. In this way, the information identifier corresponding to the first content may be determined as the first information identifier, and the query request of the user for the first information identifier may be received.
As can be seen, in this embodiment, if a selection operation of the user on the first content in the log file is received, a query request of the user on the information identifier corresponding to the first content may be visually received. The first information identification is the information identification corresponding to the first content, and the first information identification is selected by a user in a self-defined mode after the user reads the log file.
In other embodiments, step 102 is embodied as: first information identification input by a user is received.
In this embodiment, if the first information identifier input by the user is received, a query request of the user for the first information identifier may be considered to be received. The first information identification is autonomously input by the user.
In the embodiment of the application, the user can self-define and query the information of the object related to the object according to the requirement, so that the user can fully exert subjective initiative to quickly locate the problem, and the user can conveniently and efficiently track and analyze the problem.
Step 103, in response to the query request, querying an object in the first verification log information corresponding to the first information identifier in the log file to obtain an object query result, where the object query result includes related information of the queried object, and the related information includes at least one of name information, attribute information, and connection object information.
For convenience of description, an object in the first authentication log information is hereinafter referred to as a first object.
After receiving the query request, a query operation on the first object may be performed to obtain at least one of name information, attribute information, and connection object information of the first object.
The following describes objects in the authentication log information.
In some embodiments, the object may include: an object of operation in a digital chip design. Further, the operation objects in the digital chip design may include, but are not limited to: a connection (net), a module (cell), a pin (pin), and a port (port).
In other embodiments, the object may include: objects of a unified low power format standard. Further, the objects of the unified power consumption format standard may include, but are not limited to, at least one of power domains (power domains), power lines (supply nets), connection relationships between power nodes, isolation Circuits (Isolation Circuits), level-shifting Circuits (level-shifting Circuits), and state-retention Circuits (state-retention Circuits).
The attribute information of the object is explained below.
In some embodiments, the attribute information may include, but is not limited to, at least one of: hierarchy (scope) information, netlist (owner) information, netlist instance (view) information. In other words, the attribute information of the object includes scope, owner, view, and the like information of the object. In this way, the relationship information of the object and other objects can be provided through the attribute information of the object, and the associated object of the first object can be determined.
The following describes connection target information of a target.
In some embodiments, the connection object information may include, but is not limited to, name information and attribute information of the connection object.
For convenience of description, the connection object of the first object is hereinafter referred to as a second object. In this way, the relationship information between the connection object of the object and other objects can be provided through the connection object information of the object, and the associated object of the second object can be determined.
In the embodiment of the application, a user can inquire the information of the first object, the information of the associated object of the first object and/or the information of the associated object of the second object through the first information identifier, so that the user can be helped to quickly find out a chip design problem and the positioning speed of the chip design problem is improved.
For ease of understanding, the examples are illustrated below: one of the original verification log information recorded in the log file of the electronic design automation software is as follows: 2022-10-19 (IsoUnmatched): PD2_ iso2_0_UPF _ISO:/test _ data/check/no _ drive, wherein the information is identified as IsoUnmatched, which indicates that the module (cell) of the isolation type has the problem of failure to match, and PD2_ iso2_0_UPF _ISOis the name information of the object of the cell.
In this embodiment, the verification log information is used as first verification log information, and the information identifier "isoumamated" in the verification log information is used as a first information identifier in this embodiment, and an object in the first verification log information is queried in response to the first information identifier.
Further, the error information processing device, upon receiving the first information identifier, is: after the query request corresponding to the information identifier isoumatched, the object in the first verification log information corresponding to the first information identifier that can be queried at least includes the following item: name information of the object, such as PD2_ iso2_0_UPF _ISO; attribute information of an object, such as PowerDomain (power domain) of PD2_ iso2_0_upf _iso; connection information of the object, for example: PD2_ iso2_0_upf _isoconnected net (connection line) and port (port). Thus, the user can quickly locate the Net with the problem in the verification log information and prompt possible reasons according to the information.
And 104, outputting the object query result.
In a specific implementation, the object query result may be written in at least one of a log file, a Comma-Separated Values (CSV) file, and a console for a user to obtain.
It should be noted that in the scenario where the object query result is written into the log file, the log file written by the object query result may be different from the log file in step 101, so that the user may directly query the related information of the first object by looking up the log file, thereby improving the information query efficiency.
In some embodiments, the step 104 of outputting the object query result may specifically include:
judging whether the inquired object belongs to an object which is interested by the user, if so, simultaneously taking the name information of the object, the attribute information or the connection object information as an output object inquiry result;
if not, the obtained name information of the object is used as an output object query result;
and after the user views the log file or the object query result reported by the electronic design automation software, the object interested by the user is selected according to the information prompt of the viewed log file or the viewed object query result.
According to the error information processing method, verification log information generated by EDA software in the running process and information identification corresponding to each verification log information are recorded in a log file, a user can inquire relevant information of an object in the first verification log information corresponding to the first information identification through the first information identification in the log file, and the relevant information comprises at least one item of name information, attribute information and connection object information. Therefore, the method can help a user to find the chip design problem as early as possible and improve the chip design, and reduce the time cost and the economic cost brought by the design deviation.
According to the error reporting information processing method, the query result of the object which is rich in information and can be operated is reported to the user, so that the user is effectively helped to accurately locate the chip design problem, the problem reason is convenient to analyze, the reading cost of the user for directly querying the log file content is reduced, the tool developer is convenient to quickly locate and diagnose the problem of the tool, repeated time-consuming long trial operation is avoided, and the query and problem analysis efficiency is improved; the object query result can supplement or replace only log output under the default condition of the system, the user can select and organize the content and format of the object by himself, the more directional and rich output information is beneficial to the user to find the source of errors quickly, the user-defined query scheme has flexible screening and tracing capacity for the data object, the size of log files can be greatly reduced, information with strong pertinence is provided, and the debugging efficiency can be improved to a great extent.
It should be noted that the embodiment of the present application is not limited to a specific implementation manner of querying the related information of the first object, and any implementation manner that can implement querying the related information of the first object may fall within the scope of the embodiment of the present application. Such as:
in some embodiments, the device may query the first object according to a predefined query rule to obtain the related information of the first object, and the query rule may be used to query the related information of each object.
In some embodiments, said querying, in response to the query request, an object in the first verification log information corresponding to the first information identifier is queried in the log file to obtain an object query result, where the querying may include:
responding to the query request, executing a first target function corresponding to the first information identification to obtain an object query result;
wherein the first objective function is used for querying the object in the first verification log information.
The target function can be registered by the user based on own requirements, namely the target function can be customized by the user. The present application does not limit the concrete expression of the objective function, and in an alternative implementation, the objective function may be a tool Command Language program (Tools Command Language program, also called "TCL Proc"), but is not limited thereto.
In this embodiment, the object query result may be obtained by executing a first target function corresponding to the first information identifier, and an execution result of the first target function is the object query result.
The first objective function may be obtained by receiving in advance, or obtained by registering in advance, which may be determined according to actual requirements, and this is not limited in this embodiment of the application. For the latter, in some embodiments, before the executing the first objective function in response to the query request and obtaining the object query result, the method further includes:
acquiring a first function script corresponding to the first information identifier;
registering the first function script through an extensible interface of the electronic design automation software according to the first information identifier to obtain a first target function;
and establishing a corresponding relation between the first objective function and the first information identifier.
In this embodiment, a user may browse each piece of verification log information recorded in the log file, and if a piece of verification log information is interested, the user may write a function script by using an information identifier corresponding to the verification log information to query related information of an object in the verification log information, thereby achieving an effect of root tracing.
In specific implementation, after a first function script corresponding to a first information identifier is obtained, the first function script may be registered through an expandable interface of EDA software by using the first information identifier to create and obtain the first objective function, and a corresponding relationship between the first objective function and the first information identifier is established.
Therefore, after receiving a query request of a user for the first information identifier, the first target function can be called to query the relevant information of the object in the first verification log information, and the information query efficiency is improved.
In the case where the objective function is a Tcl Proc function, the objective function may be obtained using a Tcl Command (Tcl Command) registration function script.
The Tcl command is a way for the electronic design automation software to provide a user with a control system, and the user can issue commands to the system via the Tcl language. The Tcl command may include at least one of:
use _ tcl _ proc: may be used to register the Tcl function according to message _ id;
set _ param: may be used to update configuration information;
get _ param: can be used to obtain configuration information;
check _ upf: may be used to issue an authentication command;
the issue _ message can be used for outputting information corresponding to the Msg _ ID;
set _ msg _ timing-message _ id abc 123-timing _ level LOG _ INFO: the error reporting method can be used for setting corresponding error reporting information as an error reporting grade given by a user according to the Msg _ ID and the error reporting severity grade given by the user;
get _ message _ help-message _ id abc123: can be used for inquiring the help information of the error message according to the Msg _ ID input by the user.
Such as the above, to the user. The electronic design automation software can perform corresponding operation according to the command, and relevant information in the system operation process is written into a log file or a configuration file.
In an optional implementation manner, the step of receiving a registration command from a user using the electronic design automation software, and registering or updating the first function script corresponding to the first information identifier may register the first function script using use _ Tcl _ proc in a Tcl command, so as to obtain the first objective function.
For ease of understanding, examples are illustrated below:
in this example, the first function script (tclprocforsmsgid) may be as follows:
proc TclProcForMsgId { msg_body portNf obj1 } {
if {[IsObjOfInterest $obj1] } {
issueMessage(msg_body)
issueMessage(“ Port info is as follows”, obj1->Name(), obj1->Parent()->Name())
} else {
issueMessage($msg_body, $id, $obj1->Name())
}
}
the registration is then performed using the use _ tcl _ proc command:
use_tcl_proc mssage_id TclProcForMsgId
the creation of the first objective function Tcl Proc is completed through the above operations, and the association between the first objective function Tcl Proc and the first information identifier Message _ ID is established.
Tcl prco is shown below:
Following TCL proc exist for portNf
proc TclProcForMsgId { msg_body portNf obj1 } {
if {[IsObjOfInterest $obj1] } {
issueMessage(msg_body)
issueMessage(“ Port info is as follows”, obj1->Name(), obj1->Parent()->Name())
} else {
issueMessage($msg_body, $id, $obj1->Name())
}
}
the results of the implementation of Tcl prco are shown below:
ERROR: 31-08-21 16:30 Serious error
ERROR 31-08-21 16. The Port info is as follows is description information about the result of the object query, 129 is name information of the object in the result of the object query, and parent _ name is name information of the connected object in the result of the object query.
In specific implementation, the first function script may be obtained in multiple ways, which is specifically described as follows:
in some embodiments, the obtaining the first information identifier corresponding to the first function script may include:
1) Under the condition that the first function script which is defined in advance exists in a configuration file of the electronic design automation software, the first function script in the configuration file is operated;
alternatively, the first and second liquid crystal display panels may be,
2) And receiving a first function script corresponding to the first information identifier which is registered or updated by a user by using a registration command in the electronic design automation software.
In 1), the first function foot is predefined in and obtained from a configuration file of the EDA software. In 2), the first function script is obtained by registering or updating a user by using a registration command of the EDA software, and in specific implementation, the user may register or update the first function script by using the registration command use _ tcl _ proc when the EDA software is started or after the EDA software finishes running.
By the method, the function script can be acquired in various ways, and the acquisition modes of the function script are enriched.
In some embodiments, said executing, in response to the query request, the first information identification corresponding to the first objective function to obtain an object query result may include:
responding to the query request, and checking whether a first target function corresponding to the first information identification exists;
under the condition that the first objective function exists, executing the first objective function to obtain an object query result;
the method further comprises the following steps:
under the condition that the first objective function does not exist, inquiring a first severity level and a first detailed degree corresponding to the first information identification;
inquiring information in the first verification log information in the log file according to the first severity level and the first detail degree to obtain an information inquiry result;
and outputting the information query result.
It is to be understood that there is not necessarily a corresponding objective function for each information identifier in the log file. Therefore, in this embodiment, when an inquiry request for a certain information identifier in a log file is received, it may be checked first whether an objective function corresponding to the information identifier exists, and based on the check result, a corresponding inquiry operation is performed.
For ease of understanding, reference is made to fig. 2. And under the condition that the corresponding target function exists, calling the target function, and inquiring the relevant information of the object by using the target function.
Under the condition that the corresponding target function does not exist, the corresponding severity level and the detail degree can be inquired, then, the spdlog function can be called, the information in the corresponding verification log information can be inquired from the log file according to the corresponding severity level and the detail degree, the information inquiry result is obtained, and the information inquiry result is output. The information query result may include at least one of: help information; and verifying the printing information of the log information, such as the upper limit of the number of printing and the like.
By the method, after the query request of a certain information identifier is received, the corresponding query operation can be executed based on whether the check result of the target function corresponding to the information identifier exists, so that the flexibility of information query can be improved.
In some embodiments, before recording verification log information generated by the electronic design automation software during the operation process into the log file, the method further comprises:
acquiring a JSON configuration file, wherein the JSON configuration file comprises information blocks;
the recording of the verification log information generated by the electronic design automation software in the running process into the log file comprises the following steps:
recording verification log information generated by electronic design automation software in the running process into the log file according to a format specified by the information block;
wherein the information block includes:
a format string field including a first field and a placeholder, wherein the first field is used for filling in the verification log information or the description information of the object query result, and the placeholder is used for placeholdering the object in the verification log information;
an information identifier (message _ id) character string used for filling the information identifier;
and the target function character string is used for filling the function script.
Further, the information block corresponding to each piece of information may further include at least one of: help (help) field; an internal (internal) field; a maximum occurrence limit (maxOccurrenceLimit) field; a severity field.
The above-described fields are explained below.
formatted _ string: the information not only comprises the verification log information or the description information of the object query result, but also occupies the object in the verification log information. And the filling of the object is delayed to the system operation, so that the decoupling between the verification log information and the object and more flexible information combination are realized. In addition, the formatted _ string also unifies the format of the error information, and the reading cost of the user is reduced. The description information of the object query result may represent a description or interpretation of the object query result by the user.
Help: indicating the help information corresponding to each message _ id.
Internal: information indicating printing inside the system is not displayed to the user.
maxOccurrenceLimit: indicating an upper limit of the number of times a piece of authentication log information is printed in the system.
message _ id: an information identifier unique to each piece of authentication log information is indicated.
Setting: indicating the level of error information. The following six grades are mainly classified:
LOG _ CRITICAL: the system verifies the critical error information and cannot be downgraded.
LOG _ ERROR: error information verified by the system, but error level can be reduced by the user to LOG WARNING.
LOG _ WARNING: the system verifies the warning message.
LOG _ INFO: the information that the system needs to output in operation.
LOG _ DEBUG: and when the system is set to the debug mode, outputting corresponding information needing debug.
LOG _ ALWAYS is the information which needs to be output by default in the running of the system and is used for testing.
The initialized configuration file may be as follows:
{
"formattedString":"Net/Port is not present in the current scope : %",
"help":"This message is to be used when Net/Port is not present in the current scope",
"internal":"NO",
"maxOccurrenceLimit":"100",
"messageId":"NetUnkown",
"severity":"LOG_ERROR",
"tclProc":""
}
in the above example, the description information of the object query result identified by the information about netunsewn is Net/Port is not present in the current scope, and the placeholder of the object query result is expressed in%.
In an alternative implementation, the configuration file may be a JSON configuration file. The JSON configuration file can be used for storing the verification log information in a structured mode, is simple and easy to read and write, enables the analysis and the query of the verification log information to be convenient and efficient, and can be directly interacted with the development of a server end system. The JSON and C + + (business processing end) interactive tool can be nhlomann, and the tool has the advantages of high reliability, high interactive speed, source opening, sustainable maintenance and the like.
In some embodiments, the method may further comprise:
and receiving the first function script filled in the target function character string by the user.
In this way, a pre-definition of the first function script in the configuration file of the EDA software can be achieved.
In some embodiments, after the receiving the JSON configuration file, the method may further comprise:
creating a comma separated value cvs file according to the JSON configuration file;
displaying a graphical user interface according to the cvs file, wherein the graphical user interface comprises a first sub-area and a second sub-area, the first sub-area comprises at least one row, and each row is used for displaying the following information corresponding to one piece of verification log information in the cvs file: severity level, information identification, object query result, absolute path and row number of the object query result;
receiving a first input of a user to an ith row in the at least one row, wherein i is a positive integer;
in response to the first input, highlighting the ith row and displaying information of the ith row in the second sub-region;
receiving a second input of an object query result of a jth line in the at least one line by a user, wherein j is a positive integer;
in response to the second input, displaying the object query result of the jth row.
In this example, the csv file may be used to provide an efficient and fast information query file for a Graphical User Interface (GUI). The GUI directly captures information display from the csv file, provides a display window for verifying log information for a user, and provides multiple convenient operation modes.
In the GUI of this embodiment, the first column of the first sub-area is the version of the information, the second column is the Message ID of the information, the third column is the object query result (Message), and the fourth column is the absolute path (Source/relationship) and the line number of the object query result.
Notably, in the embodiment of the present application, the GUI interface may be used for a user to perform a plurality of convenient operation modes, so as to further improve the information query efficiency.
Such as: the user may trigger the GUI to highlight the ith row in the first sub-area and display information corresponding to the ith row in the second sub-area by performing the first input to the ith row. The user can click the line of the interested verification log information by right clicking and then click the Open in Source, the line of information can be displayed in the upper large window, and the line is highlighted, so that the user can know the specific error reporting information more clearly, and the user can analyze the design problem conveniently.
The user can trigger the jump display by executing the second input of the object query result of the jth line, or the object query result of the jth line is displayed in the second sub-area. The object is displayed in the message in the quotation mark.
Through the mode, the user can flexibly inquire the information through interaction with the GUI, so that the information inquiry efficiency can be further improved.
In some embodiments, the method may further comprise:
creating a log data structure in the memory;
the method further includes, after querying an object in the first verification log information corresponding to the first information identifier in the log file in response to the query request and obtaining an object query result, and before outputting the object query result, the method further includes:
storing the object query results in the log data structure;
before outputting the object query result, the method further comprises:
and reading the object query result from the log data structure.
In this embodiment, a log data structure (Message data structure) may be created, and the log data structure is stored in the memory. The log data structure may be used to store information about the queried object.
In a specific implementation, after the object query result is obtained, the object query result may be stored in a log data structure, and then, the object query result may be read from the log data structure to be output.
Through the mode, the log data structure can store the relevant information of each object, and a user can know the incidence relation among all the objects through the log data structure, so that the user can be helped to quickly locate the chip design problem.
In some embodiments, after the outputting the object query result, the method further comprises:
receiving a second information identifier input by the user, wherein the second information identifier is an interested associated information identifier determined by the user based on the object query result;
acquiring a second function script corresponding to the second information identifier;
registering the second function script through an extensible interface of the electronic design automation software according to the second information identifier to obtain a second target function;
executing the second target function, and inquiring an object corresponding to the second information identifier from a log data structure;
and outputting the inquired related information of the second information identification corresponding to the object.
In this embodiment, the user may view the object query result, and under the prompt of the object query result, may select another interested information identifier associated with the first information identifier, that is, the second information identifier, from the log file.
And then, a second function script corresponding to the second information identifier can be obtained, and the second function script is registered through an expandable interface of the EDA software to obtain a second target function.
And then, by executing a second objective function, the related information of the object corresponding to the second information identifier is inquired from the log data structure, so that a user can be helped to quickly locate the chip design problem, and the efficiency of solving the chip design problem is improved.
For ease of understanding, reference is made to fig. 3. In fig. 3, the error information processing apparatus includes a log management system of the electronic design automation software, and the log management system records the verification log information into a log file according to the format of the information block in the JSON configuration file, and stores the object query result into a log data structure, where the log data structure includes the related information of each object and the associated information of each object.
After the second information identifier in the log file selected by the user is obtained, a second function script (user-defined) corresponding to the second information identifier can be obtained, and the second function script is registered through use _ Tcl _ proc in the Tcl command by using the second information identifier, so that a second target function is obtained.
Thereafter, a second objective function may be executed, the log data structure may be queried for information related to the object corresponding to the second information identifier, and the queried information may be output.
In some embodiments, as shown in fig. 4, an error information processing apparatus (which may also be referred to as a dynamic log framework) may include the following modules: 1. user definitions (User Config, including Tcl Procs and log configuration). 2. User Data input (User Data). 3. User Script (User Script). 4. Tcl Procs and Message _ id mapping modules (MsgID and Tcl Proc Map). 5. System module (Tool Process). 6. A Log database module (Log Message).
With respect to fig. 4, the query request in the above method embodiment may be entered via User Data. The function Script may be input through a User Script. The function script may be registered by the User Config. The correspondence between the message identity and the objective function may be stored in the MsgID and Tcl Proc Map. After receiving the message identifier, the Tool Process may input the message identifier into the MsgID and Tcl Proc Map, return the corresponding target function from the MsgID and Tcl Proc Map, execute the target function by the Tool Process, obtain an execution result, and output the execution result.
The Tool Process includes a log manager (Logger), which is mainly responsible for the following functions:
loading configuration information;
generating log information in power consumption verification according to the configuration information;
output to log files, csv files, and consoles;
a user registers or updates a Tcl function and a Message _ id registered by the user by using a command 'use _ Tcl _ proc', and a log manager queries the corresponding registered Tcl _ proc according to the given Message _ id;
executing the inquired Tcl proc;
writing the information concerned by the user into a log file, a csv file and a console so that the user can acquire the information;
managing timestamps for log files and csv files.
In the embodiment of the application, verification log information can be written into a log file by adopting a spdlog open source tool, the spdlog is an excellent lightweight log management library based on C + + 11, only a header file needs to be introduced when the system is used, the system has natural adhesiveness with a power consumption verification system developed by C + +, no middleware is needed, and the system is convenient and quick.
In the embodiment of the present application, each piece of information (also referred to as error reporting information or event) such as an error, an alarm, and the like has its corresponding information ID (i.e., message _ ID, msg _ ID for short), and the system ensures the uniqueness of the information ID and can query, and according to the information ID, the embodiment of the present application can query the occurrence object of the error information. In addition, the state of the object with error information and the state of the associated object can be obtained according to the searched object.
Firstly, the system reads in User Data (User Data): chip design file (. V), library file (. Lib), low power consumption intention design file (. Upf), according to the user's file type and user's order read in, the system (Tool Process) will enter the verification of the corresponding stage, the system will read in the user data analysis to the corresponding data structure and container, store in the system.
Then, the user sends a command to the verification system for verification through a script or a command mode, and the system inputs verification Log information (Log Message) to a Log file given by the user after verification.
The user can obtain the Message _ ID related to the error information from the log file, and register the Tcl Procs of the corresponding Message by using the registration command use _ Tcl _ proc. These additional, user-defined queries can be output to the log file via the user's own reorganized content and format to replace log output in the default case of the system. This more directional and rich output information helps the user to quickly find the source of the error; because the user-defined query scheme has flexible screening and tracing capabilities on the data objects, the size of the log file can be greatly reduced, information with extremely strong pertinence is provided, and the debugging efficiency can be improved to a great extent.
The user can report the error object information in the targeted query system verification so as to quickly locate the error reason. For example, after detection, a certain Net (i.e., object) is found to have a problem in the log file, so that the Net name (i.e., object name information) of the Net object is queried, the Owner of the Net, which ports are connected with the Net, and other information can be queried through the Tcl function script, and a user can locate and analyze the error reason according to the information of the objects related to the Net, i.e., the object query result.
The embodiment of the application starts from the perspective of a user, the requirement that the user needs to quickly and accurately locate the problem when inquiring the log is fully considered for improvement and innovation, therefore, the design provides an operable object with rich information for the user, the user can inquire the information of the object related to the object according to the requirement, the user can fully exert subjective initiative and quickly locate the problem, the problem reason is analyzed, the efficiency is improved, and the cost is saved. Not only can the convenience of customers carry out efficient problem tracking and analysis, but also can the convenience of tool developers to quickly locate and diagnose the problem of the tool, and avoid repeated long-time test operation. Specifically, the design can also facilitate tool developers to quickly position and diagnose the problems of the tool, and avoid repeated long-time and time-consuming test operation.
It should be noted that, in the embodiments of the present application, various optional implementations that are described in the embodiments of the present application may be implemented in combination with each other or may be implemented separately without conflicting with each other, and the embodiments of the present application are not limited to this.
As shown in FIG. 5, a developer (developer) may initialize the JSON file of the log file, and a user may register to get the Tcl Proc using the Tcl command. And then, the log manager of the electronic design automation software can execute the target function to obtain an execution result, input the execution result into a log file, a cvs file and a console, and display a GUI through the cvs file.
Based on the error information processing method provided by the above embodiment, correspondingly, the present application also provides a specific implementation manner of the error information processing apparatus. Please see the examples below.
Referring to fig. 6, an error information processing apparatus provided in an embodiment of the present application may include:
a first creating module 701, configured to create a log file, and record verification log information generated by electronic design automation software in an operating process into the log file, where each verification log information has a corresponding information identifier;
a first receiving module 702, configured to receive a query request of a user for a first information identifier in the log file;
a first query module 703, configured to, in response to the query request, query, in the log file, an object in the first verification log information corresponding to the first information identifier to obtain an object query result, where the object query result includes related information of the queried object, and the related information includes at least one of name information, attribute information, and connection object information;
a first output module 704, configured to output the object query result.
In some embodiments, the first querying module 703 is specifically configured to:
responding to the query request, executing a first target function corresponding to the first information identification to obtain an object query result;
wherein the first objective function is used for querying an object in the first verification log information.
In some embodiments, the apparatus further comprises:
the second acquisition module is used for acquiring a first function script corresponding to the first information identifier;
the first registration module is used for registering the first function script through an extensible interface of the electronic design automation software according to the first information identifier to obtain the first target function;
and the first establishing module is used for establishing the corresponding relation between the first target function and the first information identifier.
In some embodiments, the second obtaining module is specifically configured to:
under the condition that the first predefined function script exists in a configuration file of the electronic design automation software, running the first function script in the configuration file;
alternatively, the first and second liquid crystal display panels may be,
and when the electronic design automation software is started or after the electronic design automation software is operated, receiving a first function script corresponding to the first information identifier registered or updated by a user by using a registration command in the electronic design automation software.
In some embodiments, the first query module 703 includes:
the checking unit is used for responding to the query request and checking whether a first target function corresponding to the first information identification exists or not;
the execution unit is used for executing the first target function under the condition that the first target function exists to obtain an object query result;
the device further comprises:
the second query module is used for querying the first severity level and the first detail degree corresponding to the first information identifier under the condition that the first objective function does not exist;
the third query module is used for querying information in the first verification log information in the log file according to the first severity level and the first detail degree to obtain an information query result;
and the second output module is used for outputting the information query result.
In some embodiments, the first receiving module comprises:
the receiving unit is used for receiving the selection operation of a user on the first content in the log file;
and the determining unit is used for responding to the selection operation and determining that a query request of a user for a first information identifier in the log file is received, wherein the first information identifier is an information identifier corresponding to the first content.
In some embodiments, the apparatus further comprises:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a JSON configuration file, and the JSON configuration file comprises information blocks;
a first creation module specifically configured to:
recording verification log information generated by electronic design automation software in the running process into the log file according to a format specified by the information block;
wherein the information block includes:
the format character string field comprises a first field and a placeholder, the first field is used for filling the verification log information, and the placeholder occupies an object in the verification log information;
the information identification character string is used for filling in the information identification;
and the target function character string is used for filling the function script.
In some embodiments, the apparatus further comprises:
and the second receiving module is used for receiving the first function script filled in the target function character string by the user.
In some embodiments, the apparatus further comprises:
the second creating module is used for creating a comma separation value cvs file according to the JSON configuration file;
a first display module, configured to display a graphical user interface according to the cvs file, where the graphical user interface includes a first sub-area and a second sub-area, the first sub-area includes at least one row, and each row is used to display the following information corresponding to one piece of verification log information in the cvs file: severity level, information identification, object query result, absolute path and row number of the object query result;
a third receiving module, configured to receive a first input from a user to an ith row of the at least one row, where i is a positive integer;
a second display module, configured to highlight the ith row and display information of the ith row in the second sub-area in response to the first input;
a fourth receiving module, configured to receive a second input of an object query result of a jth line in the at least one line from a user, where j is a positive integer;
and the third display module is used for responding to the second input and displaying the object query result of the jth line.
In some embodiments, the apparatus further comprises:
a third creating module, configured to create a log data structure in the memory;
the storage module is used for storing the object query result into the log data structure;
and the reading module is used for reading the object query result from the log data structure.
In some embodiments, the apparatus further comprises:
a fifth receiving module, configured to receive a second information identifier input by the user, where the second information identifier is an interested associated information identifier determined by the user based on the object query result;
the second obtaining module is used for obtaining a second function script corresponding to the second information identifier;
the second registration module is used for registering the second function script through an extensible interface of the electronic design automation software according to the second information identifier to obtain a second target function;
the second execution module is used for executing the second target function and inquiring an object corresponding to the second information identifier from a log data structure;
and the third output module is used for outputting the related information of the object corresponding to the inquired second information identifier.
In some embodiments, the object comprises: an object of operation in a digital chip design.
In some embodiments, the operation objects in the digital chip design include: wires, modules, pins, ports.
In some embodiments, the object comprises: objects of a unified low power format standard.
In some embodiments, the objects of the unified power consumption format standard include at least one of a power consumption domain, a power line, a connection relationship between power nodes, an isolation circuit, a level conversion circuit, and a state holding circuit.
In some embodiments, the attribute information comprises at least one of: hierarchical structure information, netlist instance information.
In some embodiments, the connection object information includes name information and attribute information of the connection object.
In some embodiments, the electronic design automation software is any one of: a layout and wiring tool, a hardware simulation acceleration tool, a timing analysis tool, a power consumption verification tool, a power consumption analysis tool, a physical verification tool, a form verification tool, a logic simulation tool and a logic synthesis tool.
Fig. 7 shows a hardware structure diagram of an error information processing apparatus according to an embodiment of the present application.
The error message handling device may include a processor 801 and a memory 802 storing computer program instructions.
Specifically, the processor 801 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 802 may include mass storage for data or instructions. By way of example, and not limitation, memory 802 may include a Hard Disk Drive (HDD), a floppy Disk Drive, flash memory, an optical Disk, a magneto-optical Disk, magnetic tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 802 may include removable or non-removable (or fixed) media, where appropriate. The memory 802 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 802 is a non-volatile solid-state memory.
The Memory may include Read-Only Memory (ROM), random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash Memory devices, electrical, optical, or other physical/tangible Memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors), it is operable to perform operations described with reference to the methods according to an aspect of the present disclosure.
The processor 801 reads and executes the computer program instructions stored in the memory 802 to implement any one of the error information processing methods in the above embodiments.
In one example, the error message processing device may also include a communication interface 803 and a bus 810. As shown in fig. 7, the processor 801, the memory 802, and the communication interface 803 are connected via a bus 810 to complete communication therebetween.
The communication interface 803 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present application.
Bus 810 includes hardware, software, or both to couple the components of the error message processing device to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industrial Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 810 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
In addition, in combination with the error information processing method in the foregoing embodiment, the embodiment of the present application may provide a computer storage medium to implement. The computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement any one of the error information processing methods in the above embodiments.
It is to be understood that the present application is not limited to the particular arrangements and instrumentalities described above and shown in the attached drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions or change the order between the steps after comprehending the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include an electronic circuit, a semiconductor memory device, a ROM, a flash memory, an Erasable ROM (EROM), a floppy disk, a CD-ROM, an optical disk, a hard disk, an optical fiber medium, a Radio Frequency (RF) link, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based computer instructions which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As described above, only the specific embodiments of the present application are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered within the scope of the present application.

Claims (22)

1. An error information processing method, comprising:
creating a log file, and recording verification log information generated in the running process of electronic design automation software into the log file, wherein each verification log information has a corresponding information identifier;
receiving a query request of a user for a first information identifier in the log file;
responding to the query request, querying an object in first verification log information corresponding to the first information identifier in the log file to obtain an object query result, wherein the object query result comprises related information of the queried object, and the related information comprises at least one item of name information, attribute information and connection object information;
and outputting the object query result.
2. The method according to claim 1, wherein the querying, in response to the query request, an object in first verification log information corresponding to the first information identifier in the log file to obtain an object query result includes:
responding to the query request, executing a first target function corresponding to the first information identification to obtain an object query result;
wherein the first objective function is used for querying the object in the first verification log information.
3. The method according to claim 2, wherein before the executing the first objective function in response to the query request to obtain the object query result, the method further comprises:
acquiring a first function script corresponding to the first information identifier;
registering the first function script through an extensible interface of the electronic design automation software according to the first information identifier to obtain the first target function;
and establishing a corresponding relation between the first objective function and the first information identifier.
4. The method according to claim 3, wherein the obtaining of the first function script corresponding to the first information identifier includes:
under the condition that the first function script which is defined in advance exists in a configuration file of the electronic design automation software, the first function script in the configuration file is operated;
alternatively, the first and second electrodes may be,
and receiving a first function script corresponding to the first information identifier which is registered or updated by a user by using a registration command in the electronic design automation software.
5. The method according to claim 2, wherein the executing, in response to the query request, the first objective function corresponding to the first information identifier to obtain an object query result includes:
responding to the query request, and checking whether a first target function corresponding to the first information identification exists;
under the condition that the first objective function exists, executing the first objective function to obtain an object query result;
the method further comprises the following steps:
under the condition that the first objective function does not exist, inquiring a first severity level and a first detail degree corresponding to the first information identification;
inquiring information in the first verification log information in the log file according to the first severity level and the first detail degree to obtain an information inquiry result;
and outputting the information query result.
6. The method according to claim 1, wherein the receiving a query request from a user for the first information identifier in the log file includes:
receiving a selection operation of a user on first content in the log file;
and responding to the selection operation, and determining that a query request of a user for a first information identifier in the log file is received, wherein the first information identifier is an information identifier corresponding to the first content.
7. The method for processing error information according to claim 1, wherein before the logging the verification log information generated by the electronic design automation software during operation into the log file, the method further comprises:
acquiring a JSON configuration file, wherein the JSON configuration file comprises information blocks;
the recording of the verification log information generated by the electronic design automation software in the running process into the log file comprises the following steps:
recording verification log information generated by electronic design automation software in the running process into the log file according to a format specified by the information block;
wherein the information block includes:
the format character string field comprises a first field and a placeholder, the first field is used for filling the verification log information, and the placeholder occupies an object in the verification log information;
the information identification character string is used for filling in the information identification;
and the target function character string is used for filling the function script.
8. The error information processing method according to claim 7, further comprising:
and receiving the first function script filled in the target function character string by the user.
9. The method according to claim 7, wherein after receiving the JSON configuration file, the method further comprises:
creating a comma separated value cvs file according to the JSON configuration file;
displaying a graphical user interface according to the cvs file, wherein the graphical user interface comprises a first sub-area and a second sub-area, the first sub-area comprises at least one row, and each row is used for displaying the following information corresponding to one piece of verification log information in the cvs file: severity level, information identification, object query result, absolute path and row number of the object query result;
receiving a first input of a user to the ith row in the at least one row, wherein i is a positive integer;
in response to the first input, highlighting the ith row and displaying information of the ith row in the second sub-region;
receiving a second input of an object query result of a jth line in the at least one line by a user, wherein j is a positive integer;
in response to the second input, displaying the object query result of the jth row.
10. The method of claim 1, further comprising:
creating a log data structure in the memory;
the method further includes, after querying an object in the first verification log information corresponding to the first information identifier in the log file in response to the query request and obtaining an object query result, and before outputting the object query result, the method further includes:
storing the object query results in the log data structure;
before outputting the object query result, the method further comprises:
and reading the object query result from the log data structure.
11. The error information processing method according to claim 1, wherein after the outputting the object query result, the method further comprises:
receiving a second information identifier input by the user, wherein the second information identifier is an interested associated information identifier determined by the user based on the object query result;
acquiring a second function script corresponding to the second information identifier;
registering the second function script through an extensible interface of the electronic design automation software according to the second information identifier to obtain a second target function;
executing the second target function, and inquiring an object corresponding to the second information identification from a log data structure;
and outputting the related information of the corresponding object of the second information identification obtained by query.
12. The error information processing method according to claim 1, wherein the object includes: an object of operation in a digital chip design.
13. The method of claim 12, wherein the operation objects in the digital chip design comprise: wires, modules, pins, ports.
14. The error information processing method according to claim 1, wherein the object includes: objects of a unified low power format standard.
15. The error information processing method according to claim 14, wherein the objects of the unified power consumption format standard include at least one of a power consumption domain, a power line, a connection relationship between power nodes, an isolation circuit, a level shift circuit, and a state holding circuit.
16. The error message processing method of claim 1, wherein the attribute information comprises at least one of: hierarchical structure information, netlist instance information.
17. The error information processing method according to claim 1, wherein the connection object information includes name information and attribute information of a connection object.
18. The error information processing method according to claim 1, wherein the method is used for electronic design automation software, and the electronic design automation software is any one of: a layout and wiring tool, a hardware simulation acceleration tool, a timing analysis tool, a power consumption verification tool, a power consumption analysis tool, a physical verification tool, a form verification tool, a logic simulation tool and a logic synthesis tool.
19. An error information processing apparatus, comprising:
the system comprises a first creating module, a second creating module and a third creating module, wherein the first creating module is used for creating a log file and recording verification log information generated by electronic design automation software in the running process into the log file, and each verification log information has a corresponding information identifier;
the first receiving module is used for receiving a query request of a user for a first information identifier in the log file;
a first query module, configured to query, in response to the query request, an object in first verification log information corresponding to the first information identifier in the log file to obtain an object query result, where the object query result includes related information of the queried object, and the related information includes at least one of name information, attribute information, and connection object information;
and the first output module is used for outputting the object query result.
20. An error information processing apparatus, characterized in that the apparatus comprises: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the error information processing method of any of claims 1 to 18.
21. A computer-readable storage medium, on which computer program instructions are stored, which, when executed by a processor, implement the error information processing method according to any one of claims 1 to 18.
22. A computer program product, characterized in that instructions in the computer program product, when executed by a processor of an electronic device, cause the electronic device to perform the error information processing method according to any one of claims 1 to 18.
CN202211419358.9A 2022-11-14 2022-11-14 Error information processing method, apparatus, device, storage medium and program product Pending CN115630036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211419358.9A CN115630036A (en) 2022-11-14 2022-11-14 Error information processing method, apparatus, device, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211419358.9A CN115630036A (en) 2022-11-14 2022-11-14 Error information processing method, apparatus, device, storage medium and program product

Publications (1)

Publication Number Publication Date
CN115630036A true CN115630036A (en) 2023-01-20

Family

ID=84910785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211419358.9A Pending CN115630036A (en) 2022-11-14 2022-11-14 Error information processing method, apparatus, device, storage medium and program product

Country Status (1)

Country Link
CN (1) CN115630036A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116383155A (en) * 2023-06-05 2023-07-04 成都融见软件科技有限公司 Log query system based on EDA verification simulator
CN116467975A (en) * 2023-06-16 2023-07-21 英诺达(成都)电子科技有限公司 Data processing method, device, electronic equipment and storage medium
CN116562204A (en) * 2023-07-12 2023-08-08 英诺达(成都)电子科技有限公司 Chip verification method and device, electronic equipment and computer readable storage medium
CN116595932A (en) * 2023-07-17 2023-08-15 芯耀辉科技有限公司 Log printing method and related device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116383155A (en) * 2023-06-05 2023-07-04 成都融见软件科技有限公司 Log query system based on EDA verification simulator
CN116383155B (en) * 2023-06-05 2023-08-11 成都融见软件科技有限公司 Log query system based on EDA verification simulator
CN116467975A (en) * 2023-06-16 2023-07-21 英诺达(成都)电子科技有限公司 Data processing method, device, electronic equipment and storage medium
CN116467975B (en) * 2023-06-16 2023-09-26 英诺达(成都)电子科技有限公司 Data processing method, device, electronic equipment and storage medium
CN116562204A (en) * 2023-07-12 2023-08-08 英诺达(成都)电子科技有限公司 Chip verification method and device, electronic equipment and computer readable storage medium
CN116562204B (en) * 2023-07-12 2023-09-22 英诺达(成都)电子科技有限公司 Chip verification method and device, electronic equipment and computer readable storage medium
CN116595932A (en) * 2023-07-17 2023-08-15 芯耀辉科技有限公司 Log printing method and related device
CN116595932B (en) * 2023-07-17 2023-10-20 芯耀辉科技有限公司 Log printing method and related device

Similar Documents

Publication Publication Date Title
CN115630036A (en) Error information processing method, apparatus, device, storage medium and program product
US8555234B2 (en) Verification of soft error resilience
CN111459982A (en) Data query method and device, terminal device and storage medium
CN102054100A (en) Static analysis-based method and system for detecting RTL (Resistor Transistor Logic) design errors
JP3825572B2 (en) Semiconductor integrated circuit design verification apparatus, method, and storage medium
CN113887161A (en) Verification method, device, equipment and medium for network-on-chip design example
CN112241370B (en) API interface class checking method, system and device
US10830818B2 (en) Ensuring completeness of interface signal checking in functional verification
CN114816980A (en) Automatic testing device and method for embedded communication system
CN111309586A (en) Command testing method, device and storage medium thereof
CN111737148A (en) Automatic regression testing method and device, computer equipment and storage medium
CN111597069A (en) Program processing method, program processing apparatus, electronic device, and storage medium
CN116909934B (en) Command test method, device, equipment and medium of electronic automation design software
CN111159028B (en) Webpage testing method and device
CN115422865B (en) Simulation method and device, computing equipment and computer readable storage medium
CN112567375A (en) Format verification method, information identification method, device and storage medium
US9354962B1 (en) Memory dump file collection and analysis using analysis server and cloud knowledge base
CN113282496B (en) Automatic interface testing method, device, equipment and storage medium
US20230060213A1 (en) System and method for generating automation test scripts dynamically for human machine interface testing
CN115481025A (en) Script recording method and device for automatic test, computer equipment and medium
CN108521350A (en) A kind of industrial gateway equipment automatization test method driving script based on XML
Karnane et al. Automating root-cause analysis to reduce time to find bugs by up to 50%
CN113238940A (en) Interface test result comparison method, device, equipment and storage medium
CN113051171A (en) Interface test method, device, equipment and storage medium
CN112003647A (en) Detection method, device and equipment for recycled optical modem and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination