CN114218026A - Score board generation method and device, electronic equipment and storage medium - Google Patents

Score board generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114218026A
CN114218026A CN202111434528.6A CN202111434528A CN114218026A CN 114218026 A CN114218026 A CN 114218026A CN 202111434528 A CN202111434528 A CN 202111434528A CN 114218026 A CN114218026 A CN 114218026A
Authority
CN
China
Prior art keywords
information
function module
general
score
general function
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.)
Granted
Application number
CN202111434528.6A
Other languages
Chinese (zh)
Other versions
CN114218026B (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111434528.6A priority Critical patent/CN114218026B/en
Publication of CN114218026A publication Critical patent/CN114218026A/en
Application granted granted Critical
Publication of CN114218026B publication Critical patent/CN114218026B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database

Abstract

The disclosure provides a score board generation method, a score board generation device, electronic equipment and a storage medium, and relates to the field of artificial intelligence such as artificial intelligence chips and cloud computing, wherein the method comprises the following steps: packaging the general functions of different score boards into general function modules, and storing the general function modules in a score board general function library; and generating a self-defined function module according to the function requirements except the general functions corresponding to the score board to be generated, wherein the self-defined function module inherits the score board general function library to obtain the generated score board. By applying the scheme disclosed by the disclosure, resource waste and the like can be reduced.

Description

Score board generation method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of artificial intelligence technologies, and in particular, to a score board generation method and apparatus, an electronic device, and a storage medium in the fields of artificial intelligence chips and cloud computing.
Background
The score board (scoreboard) is an essential part in Integrated Circuit (IC) chip verification, and its function is to compare result information output by a Device Under Test (DUT) with expected information output by a simulation model (cmodel) corresponding to the DUT, and complete chip function verification. The chip can be an intelligent voice chip and the like.
In different projects, due to the reasons that the functions of the tested equipment are different and the like, corresponding score boards are required to be developed independently again, and therefore resource waste is caused.
Disclosure of Invention
The disclosure provides a score board generation method, a score board generation device, an electronic device and a storage medium.
A scoreboard generation method, comprising:
packaging the general functions of different score boards into general function modules, and storing the general function modules in a score board general function library;
and generating a self-defined function module according to the function requirements except the general functions corresponding to the score board to be generated, wherein the self-defined function module inherits the score board general function library to obtain the generated score board.
A scoreboard generation apparatus, comprising: the device comprises a preprocessing module and a generating module;
the preprocessing module is used for packaging the general functions of different scoring boards into a general function module and storing the general function module in a scoring board general function library;
the generation module is used for generating a self-defined function module according to the function requirements, corresponding to the score board to be generated, of the score board except the general functions, and the self-defined function module inherits the score board general function library to obtain the generated score board.
An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method as described above.
A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method as described above.
A computer program product comprising computer programs/instructions which, when executed by a processor, implement a method as described above.
One embodiment in the above disclosure has the following advantages or benefits: the universal functions in different scoring boards can be extracted and packaged and then stored in the scoring board universal function library, and the scoring boards corresponding to different projects can inherit the scoring board universal function library to generate the scoring boards corresponding to the different projects, so that resource reuse is realized, resource waste is reduced, and the like.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a flow chart of an embodiment of a scoreboard generation method according to the present disclosure;
FIG. 2 is a schematic diagram of an architecture of a scoreboard generated in accordance with the teachings of the present disclosure;
FIG. 3 is a schematic diagram of a component structure of an embodiment 300 of a scoreboard generating apparatus according to the present disclosure;
FIG. 4 shows a schematic block diagram of an electronic device 400 that may be used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In addition, it should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Fig. 1 is a flowchart of an embodiment of a score plate generation method according to the present disclosure. As shown in fig. 1, the following detailed description 1 is included.
In step 101, the general functions of different score boards are packaged into general function modules, and stored in the score board general function library.
In step 102, a user-defined function module is generated according to a function requirement except the general function corresponding to the score board to be generated, and the user-defined function module inherits the score board general function library to obtain the generated score board.
It can be seen that, in the scheme of the embodiment of the method, the general functions in different score boards can be extracted and stored in the score board general function library after being encapsulated, and the score boards corresponding to different projects can inherit the score board general function library to generate the score boards corresponding to different projects, so that resource reuse is realized, and resource waste is reduced.
In practical application, the score board sends the acquired source information to the simulation model to calculate expected information, and compares the expected information with result information output by the tested equipment. The simulation model can be written by adopting a high-level language and is used for simulating the processing process of the tested equipment, and the calculation result can be considered to be accurate.
The scoring board and the simulation model can communicate with each other through a Direct Programming Interface (DPI). In an embodiment of the present disclosure, a structure (info _ struct) may be used as a medium for information transmission between the score board and the simulation model, that is, one structure may be defined in the verification platform and the simulation model, and the structure may be used as a medium for information transmission. For any tested device needing a simulation model, communication needs to be carried out by means of a DPI interface. By utilizing the structural body, the information transmission between the scoring board and the simulation model can be conveniently and efficiently realized.
Accordingly, in an embodiment of the present disclosure, a first general function module (DPI _ task) may be generated to implement DPI interface communication between the score board and the simulation model, that is, the DPI interface function may be encapsulated as one general function module. The first general function module can transmit the acquired source information into the structural body, call the simulation model to complete corresponding calculation, generate expected information, namely an expected value, and further can acquire the expected information and the like through the structural body.
In addition, as mentioned above, the score board compares the expected information output by the simulation model with the result information output by the device under test, and this part of functions can also be packaged as a general functional module.
Accordingly, in one embodiment of the present disclosure, a second general function module (compare _ task) may be generated for implementing a comparison between the expected information output by the simulation model and the result information output by the device under test.
The generated general function modules can be uniformly stored in a scoreboard general function library (scoreboard _ base).
Thus, for any scoreboard to be generated, a custom function module (scoreboard _ new) can be generated according to the function requirements except the general function corresponding to the scoreboard to be generated, and the custom function module inherits the scoreboard general function library, so that the generated scoreboard is obtained.
In one embodiment of the present disclosure, the functional requirements may include: the method comprises the steps of converting obtained result information into a preset data structure type, converting obtained source information into a preset data structure type and realizing data synchronization between expected information and the result information, wherein the source information is used for generating the expected information by a simulation model.
In practical applications, the score board may obtain source information from a test case (testcase) or a device under test (dut), and may obtain result information generated by the dut from the dut through a monitor (monitor). Because interfaces and the like of the tested equipment outputting result information in different projects are usually different, and the data format types acquired by the monitor are also different, in order to enable the universal function module to be adaptive to different score boards, a data structure type serving as a standard needs to be defined, and other data structure types need to be converted into the data structure type.
Correspondingly, the custom function module needs to perform information interaction with the tested device, the test case and the like, convert the obtained result information into a predetermined data structure type, and convert the obtained source information into a predetermined data structure type.
In addition, the custom function module needs to implement data synchronization between the expected information and the result information, that is, the second general function module can be called for comparison after the expected information and the result information are both obtained.
The specific data structure type of the preset data structure type is not limited, and can be determined according to actual needs, so that the method is very flexible and convenient.
In an embodiment of the present disclosure, the predetermined data structure type may include: an instruction space array, a source data space array, a desired information space array, and a parameter information space array. The instructions, source data, and parameter information are included in the source information. In addition, the dimensionality of each space array can be dynamically distributed according to actual needs.
The instruction refers to a calculation instruction, the source data refers to source data provided to the simulation model for calculating desired information, the desired information refers to desired information calculated by the simulation model, and the parameter information refers to parameter information used in the calculation. For example, in the case of an addition calculation, the source data may include a and b, the parameter may be "+", and the desired information is the result of adding a and b.
By defining the predetermined data structure type as described above, the universal function module can be made to adapt to different scoreboards.
In an embodiment of the present disclosure, the structure body may adopt a structure matching with a predetermined data structure type, for example, the structure body may include an instruction space array, a source data space array, an expected information space array, and a parameter information space array, and may dynamically allocate the dimensions of each space array according to actual needs.
The user-defined function module can inherit the score board general function library, so that the user-defined function module can be directly called without repeatedly developing the general function module in the score board general function library, and according to actual needs, only part of the general function modules can be called, and all the general function modules can also be called.
For a Chip with complex functions, a plurality of self-defined function modules can be generated by inheriting a score board universal function library, each self-defined function module can verify certain functions respectively, and each self-defined function module is inherited to the score board universal function library, so that all the self-defined function modules are required to be instantiated in a System On Chip (SOC) environment during subsequent integration, the method is very convenient, the verification efficiency can be effectively improved, and the like.
Based on the above description, fig. 2 is a schematic diagram of an architecture of a scoreboard generated in a manner consistent with the present disclosure.
As shown in fig. 2, the general functions of different score boards can be packaged into general function modules and stored in the score board general function library, assuming that the score board general function library includes a first general function module and a second general function module.
As shown in FIG. 2, it is assumed that the custom function module obtains the source information from the test case and then converts it into a predetermined data structure type, and in addition, the custom function module can also obtain the result information from the device under test through a monitor (not shown for simplifying the figure) and can convert it into a predetermined data structure type.
The predetermined data structure types may include: an instruction space array, a source data space array, a desired information space array, and a parameter information space array.
As shown in fig. 2, the custom function module may inherit the score board general function library and may call each general function module therein, for example, may call the first general function module, and send the source information converted into the predetermined data structure type to the simulation model through the first general function module, and may obtain the expected information generated by the simulation model.
As shown in fig. 2, a structure body may be used as a medium for information transmission between the first general-purpose function module and the simulation model, and in addition, the structure body may be configured to match a predetermined data structure type.
As shown in fig. 2, after determining that both the expected information and the result information (the result information after being converted into the predetermined data structure type) are obtained, the custom function module may further invoke the second general function module to compare the expected information and the result information.
It is noted that while for simplicity of explanation, the foregoing method embodiments are described as a series of acts, those skilled in the art will appreciate that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required for the disclosure.
The above is a description of embodiments of the method, and the embodiments of the apparatus are further described below.
Fig. 3 is a schematic structural diagram of a score plate generation apparatus 300 according to an embodiment of the present disclosure. As shown in fig. 3, includes: a preprocessing module 301 and a generation module 302.
The preprocessing module 301 is configured to encapsulate the general functions of different score boards into a general function module, and store the general function module in the score board general function library.
The generating module 302 is configured to generate a custom function module according to a function requirement, other than the general function, corresponding to the scoreboard to be generated, where the custom function module inherits the scoreboard general function library to obtain the generated scoreboard.
In the scheme of the embodiment of the device, the universal functions in different score boards can be extracted and packaged and then stored in the score board universal function library, and the score boards corresponding to different projects can inherit the score board universal function library to generate the score boards corresponding to different projects, so that resource reuse is realized, and resource waste is reduced.
In one embodiment of the present disclosure, the general function module may include: the device comprises a first general function module and a second general function module, wherein the first general function module is used for realizing DPI interface communication between a score board and a simulation model corresponding to the tested equipment, and the second general function module is used for realizing comparison between expected information output by the simulation model and result information output by the tested equipment.
In addition, the preprocessing module 301 may store all the generated general-purpose function modules in the score board general-purpose function library in a unified manner.
Thus, for any score board to be generated, the generating module 302 may generate a self-defined function module according to a function requirement, other than the general function, corresponding to the score board to be generated, where the self-defined function module inherits the score board general function library, so as to obtain the generated score board.
In one embodiment of the present disclosure, the functional requirements may include: the method comprises the steps of converting obtained result information into a preset data structure type, converting obtained source information into a preset data structure type and realizing data synchronization between expected information and the result information, wherein the source information is used for generating the expected information by a simulation model.
In practical applications, the score board may obtain source information from the test cases or the devices under test, and may obtain result information generated by the devices under test from the devices under test through the monitor. Because interfaces and the like of the tested equipment outputting result information in different projects are usually different, and the data format types acquired by the monitor are also different, in order to enable the universal function module to be adaptive to different score boards, a data structure type serving as a standard needs to be defined, and other data structure types need to be converted into the data structure type.
Correspondingly, the custom function module needs to perform information interaction with the tested device, the test case and the like, convert the obtained result information into a predetermined data structure type, and convert the obtained source information into a predetermined data structure type.
In addition, the custom function module needs to implement data synchronization between the expected information and the result information, that is, the second general function module can be called for comparison after the expected information and the result information are both obtained.
The specific data structure type of the preset data structure type is not limited, and can be determined according to actual needs, so that the method is very flexible and convenient.
In an embodiment of the present disclosure, the predetermined data structure type may include: an instruction space array, a source data space array, a desired information space array, and a parameter information space array. The instructions, source data, and parameter information are included in the source information. In addition, the dimensionality of each space array can be dynamically distributed according to actual needs.
In an embodiment of the present disclosure, the structure body may further serve as a medium for information transmission between the scoreboard and the simulation model, and the structure body may adopt a structure matching with a predetermined data structure type, such as an instruction space array, a source data space array, an expected information space array, and a parameter information space array, and may dynamically allocate dimensions of each space array according to actual needs.
The specific working flow of the embodiment of the apparatus shown in fig. 3 can refer to the related description of the foregoing method embodiments.
In a word, by adopting the scheme of the embodiment of the device disclosed by the invention, resource reuse can be realized, so that the waste of resources is reduced, the integration can be convenient, the verification efficiency is effectively improved, and the like.
The scheme disclosed by the disclosure can be applied to the field of artificial intelligence, in particular to the fields of artificial intelligence chips, cloud computing and the like. Artificial intelligence is a subject for studying a computer to simulate some thinking processes and intelligent behaviors (such as learning, reasoning, thinking, planning and the like) of a human, and has a hardware technology and a software technology, the artificial intelligence hardware technology generally comprises technologies such as a sensor, a special artificial intelligence chip, cloud computing, distributed storage, big data processing and the like, and the artificial intelligence software technology mainly comprises a computer vision technology, a voice recognition technology, a natural language processing technology, machine learning/deep learning, a big data processing technology, a knowledge graph technology and the like.
In addition, in the technical scheme of the disclosure, the processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the related users all accord with the regulations of related laws and regulations, and do not violate the good custom of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 4 shows a schematic block diagram of an electronic device 400 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 4, the apparatus 400 includes a computing unit 401 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)402 or a computer program loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
A number of components in device 400 are connected to I/O interface 405, including: an input unit 406 such as a keyboard, a mouse, or the like; an output unit 407 such as various types of displays, speakers, and the like; a storage unit 408 such as a magnetic disk, optical disk, or the like; and a communication unit 409 such as a network card, modem, wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Computing unit 401 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 401 performs the various methods and processes described above, such as the methods described in this disclosure. For example, in some embodiments, the methods described in this disclosure may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 400 via the ROM 402 and/or the communication unit 409. When loaded into RAM 403 and executed by computing unit 401, may perform one or more steps of the methods described in the present disclosure. Alternatively, in other embodiments, the computing unit 401 may be configured by any other suitable means (e.g., by means of firmware) to perform the methods described by the present disclosure.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (13)

1. A scoreboard generation method, comprising:
packaging the general functions of different score boards into general function modules, and storing the general function modules in a score board general function library;
and generating a self-defined function module according to the function requirements except the general functions corresponding to the score board to be generated, wherein the self-defined function module inherits the score board general function library to obtain the generated score board.
2. The method of claim 1, wherein,
the general function module comprises: the first universal function module and the second universal function module;
the first general function module is used for realizing direct programming interface communication between the score counting board and a simulation model corresponding to the tested equipment, and the second general function module is used for realizing comparison between expected information output by the simulation model and result information output by the tested equipment.
3. The method of obtaining as defined in claim 2, wherein,
the functional requirements include: converting the obtained result information into a preset data structure type, converting the obtained source information into the preset data structure type, and realizing data synchronization between the expected information and the result information, wherein the source information is used for the simulation model to generate the expected information.
4. The method of claim 3, wherein,
a structural body is used as a medium for information transmission between the scoring board and the simulation model;
the structure body adopts a structure matched with the preset data structure type.
5. The method of claim 3 or 4,
the predetermined data structure type comprises: an instruction space array, a source data space array, an expected information space array, and a parameter information space array; the instructions, the source data, and the parameter information are included in the source information.
6. A scoreboard generation apparatus, comprising: the device comprises a preprocessing module and a generating module;
the preprocessing module is used for packaging the general functions of different scoring boards into a general function module and storing the general function module in a scoring board general function library;
the generation module is used for generating a self-defined function module according to the function requirements, corresponding to the score board to be generated, of the score board except the general functions, and the self-defined function module inherits the score board general function library to obtain the generated score board.
7. The apparatus of claim 6, wherein,
the general function module comprises: the first universal function module and the second universal function module;
the first general function module is used for realizing direct programming interface communication between the score counting board and a simulation model corresponding to the tested equipment, and the second general function module is used for realizing comparison between expected information output by the simulation model and result information output by the tested equipment.
8. The obtaining apparatus according to claim 7, wherein,
the functional requirements include: converting the obtained result information into a preset data structure type, converting the obtained source information into the preset data structure type, and realizing data synchronization between the expected information and the result information, wherein the source information is used for the simulation model to generate the expected information.
9. The apparatus of claim 8, wherein,
a structural body is used as a medium for information transmission between the scoring board and the simulation model;
the structure body adopts a structure matched with the preset data structure type.
10. The apparatus of claim 8 or 9,
the predetermined data structure type comprises: an instruction space array, a source data space array, an expected information space array, and a parameter information space array; the instructions, the source data, and the parameter information are included in the source information.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1-5.
13. A computer program product comprising a computer program/instructions which, when executed by a processor, implement the method of any one of claims 1-5.
CN202111434528.6A 2021-11-29 2021-11-29 Score board generation method and device, electronic equipment and storage medium Active CN114218026B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111434528.6A CN114218026B (en) 2021-11-29 2021-11-29 Score board generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111434528.6A CN114218026B (en) 2021-11-29 2021-11-29 Score board generation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114218026A true CN114218026A (en) 2022-03-22
CN114218026B CN114218026B (en) 2022-10-28

Family

ID=80698880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111434528.6A Active CN114218026B (en) 2021-11-29 2021-11-29 Score board generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114218026B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914307A (en) * 2014-04-22 2014-07-09 浪潮电子信息产业股份有限公司 Interactive-interface fast implementation method based on reusable library
CN204719741U (en) * 2015-07-02 2015-10-21 成都智明达数字设备有限公司 A kind of generic validation plateform system
CN108984991A (en) * 2018-09-20 2018-12-11 西安微电子技术研究所 A kind of reusable emulation verification method for low power dissipation design
CN109472061A (en) * 2018-10-17 2019-03-15 北京广利核系统工程有限公司 A kind of reusable simulation and verification platform and emulation verification method
CN112100014A (en) * 2020-11-18 2020-12-18 北京智芯微电子科技有限公司 Passive wireless communication chip verification platform, construction method and chip verification method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914307A (en) * 2014-04-22 2014-07-09 浪潮电子信息产业股份有限公司 Interactive-interface fast implementation method based on reusable library
CN204719741U (en) * 2015-07-02 2015-10-21 成都智明达数字设备有限公司 A kind of generic validation plateform system
CN108984991A (en) * 2018-09-20 2018-12-11 西安微电子技术研究所 A kind of reusable emulation verification method for low power dissipation design
CN109472061A (en) * 2018-10-17 2019-03-15 北京广利核系统工程有限公司 A kind of reusable simulation and verification platform and emulation verification method
CN112100014A (en) * 2020-11-18 2020-12-18 北京智芯微电子科技有限公司 Passive wireless communication chip verification platform, construction method and chip verification method

Also Published As

Publication number Publication date
CN114218026B (en) 2022-10-28

Similar Documents

Publication Publication Date Title
US20240144570A1 (en) Method for generating drivable 3d character, electronic device and storage medium
CN114417780A (en) State synchronization method and device, electronic equipment and storage medium
CN115481594B (en) Scoreboard implementation method, scoreboard, electronic equipment and storage medium
CN114218026B (en) Score board generation method and device, electronic equipment and storage medium
US20230195945A1 (en) Integrated circuit chip verification method and apparatus, electronic device, and storage medium
CN114743586B (en) Mirror image storage implementation method and device of storage model and storage medium
CN113408304B (en) Text translation method and device, electronic equipment and storage medium
CN114385829A (en) Knowledge graph creating method, device, equipment and storage medium
CN116302218B (en) Function information adding method, device, equipment and storage medium
US11669672B1 (en) Regression test method, electronic device and storage medium
CN113835893B (en) Data processing method, device, equipment, storage medium and program product
CN114816758B (en) Resource allocation method and device
CN114896114B (en) Score board implementation method and device, score board, electronic equipment and storage medium
CN115098405B (en) Software product evaluation method and device, electronic equipment and storage medium
CN113961405B (en) State switching instruction verification method and device, electronic equipment and storage medium
CN115034198B (en) Method for optimizing computation of embedded module in language model
US20240095869A1 (en) Information acquisition method and apparatus, electronic device, and storage medium
CN116302218A (en) Function information adding method, device, equipment and storage medium
CN113656070A (en) Random instruction verification method and device for processor, electronic equipment and storage medium
CN117972035A (en) Data display method, device, equipment, medium and program product
CN114997329A (en) Method, apparatus, device, medium and product for generating a model
CN114841137A (en) Model acquisition method and device, electronic equipment and storage medium
CN114863215A (en) Method and device for generating static graph model based on deep learning framework
CN117539477A (en) Optimization method and device for application program interface API of deep learning framework
CN115510203A (en) Question answer determining method, device, equipment, storage medium and program product

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
GR01 Patent grant
GR01 Patent grant