CN107563025B - Verification platform management method and device - Google Patents

Verification platform management method and device Download PDF

Info

Publication number
CN107563025B
CN107563025B CN201710712059.7A CN201710712059A CN107563025B CN 107563025 B CN107563025 B CN 107563025B CN 201710712059 A CN201710712059 A CN 201710712059A CN 107563025 B CN107563025 B CN 107563025B
Authority
CN
China
Prior art keywords
script
function script
command
function
verification
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.)
Active
Application number
CN201710712059.7A
Other languages
Chinese (zh)
Other versions
CN107563025A (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 Wuxin Technology Co ltd
Beijing Armyfly Technology Co Ltd
Original Assignee
Beijing Wuxin Technology Co ltd
Beijing Armyfly 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 Wuxin Technology Co ltd, Beijing Armyfly Technology Co Ltd filed Critical Beijing Wuxin Technology Co ltd
Priority to CN201710712059.7A priority Critical patent/CN107563025B/en
Publication of CN107563025A publication Critical patent/CN107563025A/en
Application granted granted Critical
Publication of CN107563025B publication Critical patent/CN107563025B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the field of integrated circuit design verification, in particular to a verification platform management method and a verification platform management device.

Description

Verification platform management method and device
Technical Field
The invention relates to the field of integrated circuit design verification, in particular to a verification platform management method and device.
Background
Currently, the management of verification platforms for integrated circuits is typically implemented using scripts.
In the prior art, in one mode, makefile scripts are adopted for management, and makefile can be used for management for simple small module verification, so that the method is convenient to use, and the verification environment is relatively simple due to the fact that the modules are simple. However, if the module is a complex module, the verification environment of the module is also complex, and the restriction of makefile is reflected by managing the complex structure.
In order to solve the problems of management of a plurality of modules and convenience in operation process, in the prior art, in another mode, a script of a shell language or a perl language is used for managing a verification platform, the verification platform is realized through a plurality of scripts written by the perl language, and each function corresponds to one script.
Referring to fig. 1, in the prior art, a management platform of a verification platform needs a script set, and scripts of each function are simply combined into a set, so that the structure of the set can be conveniently transplanted among projects, and extensibility is also realized. However, although this structure is optimized for the management of the verification platform to some extent, each function needs to be implemented by finding the corresponding script position first, and each script may be in a different folder according to the difference of the function, which results in very complicated script management.
Disclosure of Invention
The embodiment of the invention provides a verification platform management method and device, and aims to solve the problem that in the prior art, verification platform management complexity is high.
The embodiment of the invention provides the following specific technical scheme:
a verification platform management method is provided, aiming at the verification platform, a three-layer structure of a script is designed in advance, the three-layer structure comprises an entry script, a first-level function script and a second-level function script, and the method specifically comprises the following steps:
when a command is received, determining a primary function script corresponding to the command according to a mapping relation between the preset command in an entry script and the primary function script;
determining the execution condition of a secondary function script corresponding to the primary function script according to a verification environment variable configured in the command;
and running the first-stage function script and the second-stage function script according to the execution conditions of the determined first-stage function script and the second-stage function script corresponding to the first-stage function script, and verifying.
Preferably, the entry script represents a script which stores a mapping relationship between a first-level function script and a command and is used for identifying the command;
the first-level function script represents an independent function script which is compiled according to relatively independent functions in the verification process;
the second-level function script represents a function script compiled according to the division of different functions in the first-level function script.
Preferably, further comprising:
and if a new primary function script is added, creating a mapping relation between the new primary function script and the command in the entry script.
Preferably, further comprising:
when the transplanting script is determined, the primary function script is not modified in the transplanting process, and the corresponding secondary function script is modified according to actual requirements.
Preferably, the format of the command is: and the name of the entry script, the space, the corresponding primary function script determined after the entry script is analyzed, the space and the configured verification environment variable required by the primary function script are determined.
Preferably, the entry script, the first-level function script and the second-level function script are written by using perl language or shell language.
Preferably, before receiving the command, the method further comprises:
generating a basic directory according to a basic file required by verification;
preferably, further comprising: in the verification process, a compiling directory and a simulation directory are generated according to the command and the basic file, corresponding primary function scripts and secondary function scripts are operated according to the compiling directory and the simulation directory, and the compiling directory and the simulation directory are deleted after the verification is confirmed to be completed.
The utility model provides a verify platform management device, aim at verify platform, the three-layer construction of predesigned script includes entry script, one-level function script and second grade function script, specifically includes:
the first determining unit is used for determining a primary function script corresponding to a command according to a mapping relation between the command preset in an entry script and the primary function script when the command is received;
a second determining unit, configured to determine, according to the verification environment variable configured in the command, an execution condition of a secondary function script corresponding to the primary function script;
and the running unit is used for running the first-level function script and the second-level function script according to the execution conditions of the determined first-level function script and the second-level function script corresponding to the first-level function script, and verifying the first-level function script and the second-level function script.
Preferably, the entry script represents a script which stores a mapping relationship between a first-level function script and a command and is used for identifying the command;
the first-level function script represents an independent function script which is compiled according to relatively independent functions in the verification process;
the second-level function script represents a function script compiled according to the division of different functions in the first-level function script.
Preferably, further comprising:
and the updating unit is used for creating the mapping relation between the new primary function script and the command in the entry script if a new primary function script is added.
Preferably, further comprising:
and the transplanting unit is used for not modifying the primary function script in the transplanting process and modifying the corresponding secondary function script according to actual requirements when the transplanting script is determined.
Preferably, the format of the command is: and the name of the entry script, the space, the corresponding primary function script determined after the entry script is analyzed, the space and the configured verification environment variable required by the primary function script are determined.
Preferably, the entry script, the first-level function script and the second-level function script are written by using perl language or shell language.
Preferably, further comprising:
the generating unit is used for generating a basic directory according to a basic file required by verification before receiving the command, and generating a compiling directory and a simulation directory according to the command and the basic file in the verification process;
the operation unit is further used for operating the corresponding primary function script and the corresponding secondary function script according to the compiling catalog and the simulation catalog;
and the deleting unit is used for deleting the compiling directory and the simulation directory after the verification is determined to be completed.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of any of the above-described verification platform management methods.
Aiming at the verification platform, a three-layer structure of scripts is designed in advance, and the three-layer structure comprises an entrance script, a first-level function script and a second-level function script, and specifically comprises the following steps: when a command is received, determining a primary function script corresponding to the command according to a mapping relation between the preset command in an entry script and the primary function script; determining the execution condition of a secondary function script corresponding to the primary function script according to a verification environment variable configured in the command; the method comprises the steps of running a first-level function script and a second-level function script according to the execution condition of the determined first-level function script and the second-level function script corresponding to the first-level function script, and verifying, so that the script structure is designed to be a three-layer structure comprising an entry script, the first-level function script and the second-level function script, the script structure not only has high portability and expansibility, but also greatly simplifies the complexity of script management, and improves the management efficiency of a verification platform. Based on the script structure, when a command is received, the corresponding first-level function script and second-level function script can be selected and executed through the analysis of the inlet script, a user does not need to search the position of the function script when verifying, only the command in the inlet script needs to be known in advance, the method is very simple, and the complexity of the verification platform management is reduced.
Drawings
FIG. 1 is a management script set of a verification platform in the prior art;
FIG. 2 is a three-layer structure of a script according to an embodiment of the present invention;
FIG. 3 is a block diagram illustrating data changes in a collected simulation data script for different projects, in accordance with an embodiment of the present invention;
FIG. 4 is a flowchart of a verification platform management method according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a structure of a verification platform management apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problem of high complexity of verification platform management in the prior art, in the embodiment of the invention, a script structure is designed, the script structure is a three-layer structure, when a command is received, the command is analyzed through an entry script, a primary function script corresponding to the command is determined, the execution condition of a secondary function script corresponding to the primary function script is determined according to a verification environment variable configured in the command, and then the primary function script and the secondary function script are run for verification.
The present invention will be described in detail with reference to specific examples, but it is to be understood that the present invention is not limited to the examples.
In practice, for the management of the verification platform of the integrated circuit, scripts are usually adopted for implementation, each function corresponds to one script to form a set, and in the verification operation process, the position of the script needs to be found out from the set first.
Therefore, for the convenience of the following description, the three-layer structure of the script designed in the embodiment of the present invention is described below.
Referring to fig. 2, a three-layer structure of a script is designed according to an embodiment of the present invention.
In the embodiment of the invention, a script structure is designed aiming at the managed script of the verification platform, and the script structure is a three-layer structure and comprises an entrance script, a first-level function script and a second-level function script.
The entry script, the primary function script and the secondary function script are written by using perl language or shell language. Of course, the present invention may also be written in other languages, and the embodiments of the present invention are not limited thereto.
1) An entry script.
And the entry script represents a script which stores the mapping relation between the primary function script and the command and is used for identifying the command.
In the embodiment of the invention, the command corresponding to each primary function script is preset respectively aiming at each primary function script, and then the mapping relation between each primary function script and the corresponding command is established respectively in the entry script.
Therefore, the entry script can automatically find the first-level function script corresponding to the command easily according to the received command, a user does not need to search for needed scripts in a directory structure one by one, the user can call the corresponding function script only by knowing the command of the entry script, and the script management is very simple and convenient.
Further, if a new primary function script is added, a mapping relation between the new primary function script and the command is created in the entry script.
That is to say, in the embodiment of the present invention, a new primary function script may be added, and only the entry of the new primary function script needs to be correspondingly created in the entry script, that is, a command is set for the new primary function script, and a mapping relationship between the new primary function script and the command is established, and the entry script can expand more primary function scripts, so that in the embodiment of the present invention, the three-layer structure of the script has high extensibility.
In addition, in the embodiment of the invention, the mapping relation between the primary function script and the command established in the entry script does not need to be modified, so that a user can conveniently know the command corresponding to each primary function script.
2) A primary function script.
And the primary function script represents an independent function script which is compiled according to the relatively independent function in the verification process.
That is to say, in the embodiment of the present invention, according to the functions or works required to be used in the verification process, preferably, the relatively independent functions are compiled into the primary function script, for example, referring to fig. 2, the primary function script may be a compiled script, an emulated script, a verdi-enabled script, or the like, and a user may compile a plurality of primary function scripts according to actual situations.
Further, a first-level function script may be added, for example, if a certain problem is solved in the verification process, a script is written, and the script is helpful for other items, the script may be added, and the script may be used later only by creating a mapping relationship between the script and the command in the entry script.
In addition, in the embodiment of the invention, the primary function script is a relatively independent function which needs to be used in each verification stage in a project, so that the primary function script can be conveniently transplanted to another project, and the primary function script is not modified in the transplanting process generally and can be applied to a plurality of different projects.
3) A secondary function script.
And the secondary function script represents a function script compiled according to the division of different functions in the primary function script.
In the embodiment of the present invention, the secondary function scripts corresponding to the primary function scripts are further set, because more steps need to be divided at a certain verification stage in some primary function scripts, and each step has a very tedious setting, which is convenient for management and simplification, so that a plurality of secondary function scripts can be further divided in the complex primary function scripts according to different specific functions, and the secondary function scripts can also be expanded.
For example, referring to fig. 2, for the emulation script in the primary function script, the following secondary function scripts may be included, respectively: collecting simulation data scripts, executing C model scripts, executing simulation scripts, executing result comparison scripts and the like.
And, these secondary function scripts are related to specific projects, so, in the migration process, it can be modified according to the different projects. For example, according to the difference of the project, the data required during simulation is different, so that the migration operation can be completed only by modifying the data information collected in the collected simulation data script during migration, for example, as shown in fig. 3, in the embodiment of the present invention, the data change of the simulation data script is collected for different projects, the collected simulation data script corresponds to the a-type file, the B-type file, and the C-type file for the first project, the collected simulation data script corresponds to the E-type file, the B-type file, and the D-type file for the second project, the files of the first project and the second project are changed, and the collected simulation data script is modified accordingly during migration.
It should be noted that, in the embodiment of the present invention, each primary function script does not necessarily have a corresponding secondary function script, and a plurality of secondary function scripts may not need to be divided for some simple primary function scripts, and a specific user may divide and set the scripts according to actual situations.
Therefore, in the embodiment of the invention, a three-layer structure of the script is creatively designed, the three-layer structure of the script forms a management platform of the verification platform, the verification of a complex structure can be efficiently managed, the whole set of script structure can be completely transplanted to another project during the transplantation, only some secondary function scripts are required to be modified, the modification of an entry script and a primary function script is not required, and the transplantation is simple and convenient; moreover, more first-level function scripts can be expanded, only commands are added in the entry scripts, and the expansion is simple to realize;
meanwhile, compared with the prior art, when a certain script runs in the verification process, the position of the script needs to be found first and then executed, for a new verification person, the corresponding function script needs to be found by being familiar with the directory structure, and therefore training needs to be carried out for a period of time, and the use and management of a user are inconvenient.
Therefore, the script structure designed in the embodiment of the invention not only has high portability and expansibility, but also greatly simplifies the complexity of script management and improves the management efficiency of the verification platform.
Based on the above embodiment, referring to fig. 4, in the embodiment of the present invention, a specific process of the verification platform management method is as follows:
step 400: when a command is received, determining a primary function script corresponding to the command according to a mapping relation between the preset command in the entry script and the primary function script.
In the embodiment of the invention, the mapping relation between the primary function script and the command is stored in the entry script. The user knows the commands in advance, and can input corresponding commands when needing to call a certain function script during verification, and the entry script can execute different first-level function scripts by recognizing external commands.
The format of the command may be: the name of the entry script + space + the corresponding primary function script determined after the entry script is parsed + space + the parameter options (i.e., configured verification environment variables) required by the primary function script.
Further, if a new primary function script is added, a mapping relation between the new primary function script and the command is created in the entry script.
Therefore, in the embodiment of the invention, the entry script can expand the primary function script, and the expandability of the script is improved.
Step 410: and determining the execution condition of the secondary function script corresponding to the primary function script according to the verification environment variable configured in the command.
In the embodiment of the invention, the second-level function scripts corresponding to one first-level function script do not need to be executed, and the execution condition of the second-level function scripts is determined according to the verification environment variables configured in the command, namely, the second-level function scripts are selected to be executed.
In the embodiment of the present invention, in a specific implementation, each configured verification environment variable may be referred to as an option of the primary function script, and an option may be added or deleted.
For example, for an emulation script in a first level functional script, the following verification environment variables, DUMP _ EN, may be included: whether to generate a waveform option, NEW _ SEED: whether to use the new SEED option, gress _ EN: whether to regress option, COVER _ EN: whether or not to generate a COVER option, COVER _ TYPE: and a COVER type option and the like, wherein if the option is configured to be ON, the execution is carried out, if the option is configured to be OFF, the execution is not carried out, and further, the corresponding secondary function script is selected according to the configuration of the verification environment variables.
Step 420: and running the first-stage function script and the second-stage function script according to the execution conditions of the determined first-stage function script and the second-stage function script corresponding to the first-stage function script, and verifying.
Further, in the embodiment of the present invention, when the migration script is determined, the primary function script is not modified in the migration process, and the corresponding secondary function script is modified according to actual requirements.
That is to say, in the embodiment of the present invention, when determining to migrate a migration script, for example, from item one to item two, it may not be necessary to modify a primary function script and an entry script, but only a corresponding secondary script may be modified according to different requirements of the item, because, in the embodiment of the present invention, the primary function script is a relatively independent function that needs to be used in each verification stage in the item, and is generally the same for different items, and because the mapping relationship between the primary function script and the command is stored in the entry script, the primary function script does not need to be modified, and therefore, the entry script does not need to be modified accordingly. For example, some options may not be needed for item two, and the secondary function script corresponding to the option may be deleted during migration.
Further, in the embodiment of the present invention, before verification, a structure directory of basic files required for verification is pre-established, which may also be referred to as a base directory, and the basic files are stored separately, and since the basic files are usually basic source code files, the occupied memory is generally small.
In the verification process, a compiling directory and a simulation directory are generated according to the script, wherein the compiling directory is generated according to an executable file compiled from a basic file, the simulation directory is created according to different requirements of projects, and generally one test case corresponds to one simulation directory. In the verification process, various simulation data and compilation files generated in the verification process can be separately stored and stored in a memory different from a basic file, so that the simulation data and the compilation files in the verification process are different for different items and generally do not need to be reserved, and after the verification is finished, the simulation data and the compilation files generated in the verification process, such as a simulation directory, a simulation waveform, a compilation directory and the like, can be deleted by calling a first-level function script clear, so that the memory can be further released.
Therefore, based on the three-layer script structure in the embodiment of the invention, the corresponding first-level function script and second-level function script can be selected and executed through the analysis of the inlet script according to the received command, the user does not need to search the position of the function script during verification, only the command in the inlet script needs to be known in advance, the method is very simple, and the complexity of the verification platform management is reduced.
Based on the foregoing embodiments, as shown in fig. 5, in an embodiment of the present invention, a verification platform management apparatus specifically includes:
the first determining unit 50 is configured to determine, when a command is received, a primary function script corresponding to the command according to a mapping relationship between the command preset in the entry script and the primary function script;
a second determining unit 51, configured to determine, according to the verification environment variable configured in the command, an execution condition of a secondary function script corresponding to the primary function script;
and the running unit 52 is configured to run the first-level function script and the second-level function script according to the execution conditions of the determined first-level function script and the second-level function script corresponding to the first-level function script, and perform verification.
Preferably, the entry script represents a script which stores a mapping relationship between a first-level function script and a command and is used for identifying the command;
the first-level function script represents an independent function script which is compiled according to relatively independent functions in the verification process;
the second-level function script represents a function script compiled according to the division of different functions in the first-level function script.
Preferably, further comprising:
and the updating unit 53 is configured to create a mapping relationship between a new primary function script and a command in the entry script if the new primary function script is added.
Preferably, further comprising:
and the transplanting unit 54 is configured to, when the transplanting script is determined, modify the corresponding secondary function script according to actual requirements without modifying the primary function script in the transplanting process.
Preferably, the format of the command is: and the name of the entry script, the space, the corresponding primary function script determined after the entry script is analyzed, the space and the configured verification environment variable required by the primary function script are determined.
Preferably, the entry script, the first-level function script and the second-level function script are written by using perl language or shell language.
Preferably, further comprising:
a generating unit 55, configured to generate a basic directory according to a basic file required for verification before receiving the command, and generate a compiled directory and a simulated directory according to the command and the basic file in a verification process;
the running unit 52 is further configured to run a corresponding primary function script and a corresponding secondary function script according to the compiled directory and the emulated directory;
and the deleting unit 56 is used for deleting the compiling directory and the simulation directory after the verification is determined to be completed.
In the embodiment of the present invention, a three-layer structure of a script is pre-designed for the verification platform, including an entry script, a first-level function script, and a second-level function script, and specifically includes: when a command is received, determining a primary function script corresponding to the command according to a mapping relation between the preset command in an entry script and the primary function script; determining the execution condition of a secondary function script corresponding to the primary function script according to a verification environment variable configured in the command; the method comprises the steps of running a first-level function script and a second-level function script according to the execution condition of the determined first-level function script and the second-level function script corresponding to the first-level function script, and verifying, so that the script structure is designed to be a three-layer structure comprising an entry script, the first-level function script and the second-level function script, the script structure not only has high portability and expansibility, but also greatly simplifies the complexity of script management, and improves the management efficiency of a verification platform. Based on the script structure, when a command is received, the corresponding first-level function script and second-level function script can be selected and executed through the analysis of the inlet script, a user does not need to search the position of the function script when verifying, only the command in the inlet script needs to be known in advance, the method is very simple, and the complexity of the verification platform management is reduced.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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, embedded processor, 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (8)

1. A verification platform management method is characterized in that a three-layer structure of a script is designed in advance aiming at the verification platform, the three-layer structure comprises an entry script, a first-level function script and a second-level function script, and the method specifically comprises the following steps:
when a command is received, determining a primary function script corresponding to the command according to a mapping relation between the preset command in an entry script and the primary function script, wherein the format of the command is as follows: the name of the entry script, the space, the corresponding primary function script determined after the entry script is analyzed, the space and the parameter options required by the primary function script are selected;
determining the execution condition of a secondary function script corresponding to the primary function script according to a verification environment variable configured in the command, wherein the secondary function script is an option of a specific test case under the primary function script;
running the first-stage function script and the second-stage function script according to the execution conditions of the determined first-stage function script and the second-stage function script corresponding to the first-stage function script, and verifying, wherein the entry script represents a script which stores the mapping relation between the first-stage function script and the command and is used for identifying the command; the first-level function script represents an independent function script which is compiled according to relatively independent functions in the verification process; the second-level function script represents a function script written according to the division of different functions in the first-level function script, and the second-level function script is related to a specific project.
2. The method of claim 1, further comprising:
and if a new primary function script is added, creating a mapping relation between the new primary function script and the command in the entry script.
3. The method of claim 2, further comprising:
when the transplanting script is determined, the primary function script is not modified in the transplanting process, and the corresponding secondary function script is modified according to actual requirements.
4. The method of claim 1, wherein prior to receiving the command, further comprising: generating a basic directory according to a basic file required by verification;
further comprising: in the verification process, a compiling directory and a simulation directory are generated according to the command and the basic file, corresponding primary function scripts and secondary function scripts are operated according to the compiling directory and the simulation directory, and the compiling directory and the simulation directory are deleted after the verification is confirmed to be completed.
5. The utility model provides a verification platform management device, its characterized in that, aim at verification platform, the three-layer construction of predesigned script includes entry script, one-level function script and second grade function script, specifically includes:
the first determining unit is configured to determine, when a command is received, a primary function script corresponding to the command according to a mapping relationship between the command preset in an entry script and the primary function script, where a format of the command is: the name of the entry script, the space, the corresponding primary function script determined after the entry script is analyzed, the space and the parameter options required by the primary function script are selected;
a second determining unit, configured to determine, according to a verification environment variable configured in the command, an execution condition of a secondary function script corresponding to the primary function script, where the secondary function script is an option of a specific test case under the primary function script;
the running unit is used for running the first-stage function script and the second-stage function script according to the execution conditions of the determined first-stage function script and the second-stage function script corresponding to the first-stage function script for verification, wherein the entry script represents a script which stores the mapping relation between the first-stage function script and the command and is used for identifying the command; the first-level function script represents an independent function script which is compiled according to relatively independent functions in the verification process; the second-level function script represents a function script written according to the division of different functions in the first-level function script, and the second-level function script is related to a specific project.
6. The apparatus of claim 5, further comprising:
and the updating unit is used for creating the mapping relation between the new primary function script and the command in the entry script if a new primary function script is added.
7. The apparatus of claim 6, further comprising:
and the transplanting unit is used for not modifying the primary function script in the transplanting process and modifying the corresponding secondary function script according to actual requirements when the transplanting script is determined.
8. The apparatus of claim 5, further comprising:
the generating unit is used for generating a basic directory according to a basic file required by verification before receiving the command, and generating a compiling directory and a simulation directory according to the command and the basic file in the verification process;
the operation unit is further used for operating the corresponding primary function script and the corresponding secondary function script according to the compiling catalog and the simulation catalog;
and the deleting unit is used for deleting the compiling directory and the simulation directory after the verification is determined to be completed.
CN201710712059.7A 2017-08-18 2017-08-18 Verification platform management method and device Active CN107563025B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710712059.7A CN107563025B (en) 2017-08-18 2017-08-18 Verification platform management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710712059.7A CN107563025B (en) 2017-08-18 2017-08-18 Verification platform management method and device

Publications (2)

Publication Number Publication Date
CN107563025A CN107563025A (en) 2018-01-09
CN107563025B true CN107563025B (en) 2021-08-20

Family

ID=60976072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710712059.7A Active CN107563025B (en) 2017-08-18 2017-08-18 Verification platform management method and device

Country Status (1)

Country Link
CN (1) CN107563025B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727583B (en) * 2019-09-09 2022-11-15 无锡江南计算技术研究所 Method for constructing verification environment based on extensible verification component

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622471A (en) * 2012-02-22 2012-08-01 山东华芯半导体有限公司 Integrated circuit front-end verification method
CN102799528A (en) * 2012-07-12 2012-11-28 中国科学院声学研究所 Script debugging method, script debugging device and system thereof for circuit board level test
CN105893685A (en) * 2016-04-11 2016-08-24 浪潮电子信息产业股份有限公司 VLSI (very Large Scale integration) formalization verification platform and method
CN106547679A (en) * 2015-09-17 2017-03-29 腾讯科技(深圳)有限公司 The method and script management platform of script management

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541587B (en) * 2011-11-23 2014-04-09 中标软件有限公司 Method for installing Linux operating system in loongson platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622471A (en) * 2012-02-22 2012-08-01 山东华芯半导体有限公司 Integrated circuit front-end verification method
CN102799528A (en) * 2012-07-12 2012-11-28 中国科学院声学研究所 Script debugging method, script debugging device and system thereof for circuit board level test
CN106547679A (en) * 2015-09-17 2017-03-29 腾讯科技(深圳)有限公司 The method and script management platform of script management
CN105893685A (en) * 2016-04-11 2016-08-24 浪潮电子信息产业股份有限公司 VLSI (very Large Scale integration) formalization verification platform and method

Also Published As

Publication number Publication date
CN107563025A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN109491662A (en) Code packaging method, computer installation and computer readable storage medium, code packaging system
US9501594B2 (en) Graphical design verification environment generator
CN108614701B (en) Linux operating system customizing method and device
CN104714788B (en) A kind of method and device that software installation packet automatically generates
WO2017185606A1 (en) Overlay mechanism-based apk development method and system
GB2508643A (en) Method for Performing a Regression Test after Modifying Source Code File
US9176490B2 (en) Control program generation device, control program generation program, and control program generation method
CN105117233A (en) API calling method and device
WO2016026328A1 (en) Information processing method and device and computer storage medium
CN112270149A (en) Verification platform automation integration method and system, electronic equipment and storage medium
CN109324799A (en) A kind of code compiling method, computer installation and computer readable storage medium
US20070061641A1 (en) Apparatus and method for generating test driver
CN111859834B (en) UVM-based verification platform development method, system, terminal and storage medium
CN110083360A (en) A kind of Compilation Method of application code, device, equipment and storage medium
CA3155732A1 (en) Business process configuring method, business request processing method, and devices
CN103744684A (en) Heterogeneous hardware and software collaborative developing method and system
CN111638877A (en) Visual rapid development method for Web project
EP1548581A2 (en) Methods, apparatus and programs for system development
CN110531985A (en) SDK initial method and system, electronic equipment, storage medium
CN112882718A (en) Compiling processing method, device, equipment and storage medium
Yie et al. Advanced traceability for ATL
CN104881311A (en) Method and apparatus for judging version compatibility
CN113254054B (en) Intelligent contract one-stop development system and method
CN107563025B (en) Verification platform management method and device
CN108304184B (en) Compiling method and device

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