WO2018228528A1 - Batch circuit simulation method and system - Google Patents

Batch circuit simulation method and system Download PDF

Info

Publication number
WO2018228528A1
WO2018228528A1 PCT/CN2018/091483 CN2018091483W WO2018228528A1 WO 2018228528 A1 WO2018228528 A1 WO 2018228528A1 CN 2018091483 W CN2018091483 W CN 2018091483W WO 2018228528 A1 WO2018228528 A1 WO 2018228528A1
Authority
WO
WIPO (PCT)
Prior art keywords
simulation
stage
same
test
test case
Prior art date
Application number
PCT/CN2018/091483
Other languages
French (fr)
Chinese (zh)
Inventor
肖基诰
肖铁
王文杰
李云鹏
潘勇
Original Assignee
北京紫光得瑞科技有限公司
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 北京紫光得瑞科技有限公司 filed Critical 北京紫光得瑞科技有限公司
Publication of WO2018228528A1 publication Critical patent/WO2018228528A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/398Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Definitions

  • the present invention relates to the field of circuit design simulation technologies, and in particular, to a batch circuit simulation method and system.
  • the simulation speed is one of the key factors that determine whether the simulation task can be completed on time. With the rapid growth of the chip scale, the scale of circuit simulation is also getting larger and larger. Relatively, the time for completing the simulation process is getting longer and longer, and the simulation speed is also slower and slower.
  • multiple servers are often used for batch simulation.
  • the current routine of batch circuit simulation is to first compile all the input files of the circuit, generate one or more simulation preparation files, and then simulate based on the simulation preparation files. The whole process is divided into two parts: compiling and emulation, so that although the compile time can be reduced, the entire simulation phase of each test case needs to be completely run, resulting in waste of resources.
  • test cases are almost the same initial configuration process.
  • DDR initialization, NAND Flash initialization, etc. are required before the official test starts, and these initialization processes take a long time.
  • the initialization process of each test case needs to be performed once. Referring to FIG. 1, in the batch simulation method proposed in the prior art, the entire simulation process of each test case is completely executed, which results in a long time and affects the progress of the project.
  • each test case in the simulation process may not all be performed in parallel.
  • the hardware server resources are limited. Only several simulation processes can be run at the same time. All the above factors are combined, which ultimately leads to long time and speed of simulation. Slow, the simulation efficiency is relatively low.
  • the invention provides a batch circuit simulation method and system, which can reduce the overall simulation time consumption, thereby greatly speeding up the batch circuit simulation speed and improving the simulation efficiency.
  • a method for simulating a batch circuit comprising:
  • Test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, and the same simulation stage is a simulation stage having the same simulation operation and the execution order of each simulation operation is consistent;
  • the same simulation phase of each test case in the same group is uniformly simulated according to the execution order of each simulation stage, and the subsequent simulation stages of each test case in the group are simulated separately based on the simulation results.
  • the simulation process of each test case to be simulated is divided into multiple simulation phases, including:
  • the simulation process of each test case to be simulated is divided into multiple simulation stages.
  • the method further includes:
  • the configuration file corresponding to each test case is set according to the configuration type of each simulation stage in each test case to be simulated.
  • test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, including:
  • test cases to which the simulation stages of the same configuration type in the configuration file belong are divided into the same group according to the execution order of each simulation stage, and the configuration types are used to describe the simulation operations included in the corresponding simulation stage and the execution of each simulation operation. order.
  • the method further includes:
  • a batch circuit simulation system comprising:
  • a dividing module configured to divide the simulation process of each test case to be simulated into multiple simulation stages
  • a grouping module configured to sequentially group test cases having the same simulation stage according to an execution sequence of each simulation stage, where the same simulation stage is a simulation stage having the same simulation operation and the execution order of each simulation operation is consistent;
  • the simulation module is used for uniformly simulating the same simulation stage of each test case in the same group according to the execution order of each simulation stage in the simulation process, and performing subsequent simulation of each test case in the group based on the simulation result.
  • the phases are simulated separately.
  • the dividing module is specifically configured to divide the simulation process of each test case to be simulated into multiple simulation stages according to the test function implemented by the test case.
  • system further comprises:
  • a configuration module configured to set each test according to a configuration type of each simulation phase in each test case to be simulated before the dividing module divides a simulation process of each test case to be simulated into multiple simulation phases
  • the configuration file corresponding to the use case.
  • the grouping module includes a parsing submodule and a grouping submodule
  • the parsing sub-module is configured to parse a configuration file corresponding to each test case to obtain a configuration type of each simulation stage in each test case;
  • the grouping sub-module is configured to sequentially divide the test cases to which the simulation phase of the configuration type in the configuration file belongs into the same group according to the execution order of each simulation stage, where the configuration type is used to describe the corresponding simulation stage.
  • the simulation operation and the execution order of each simulation operation are configured to sequentially divide the test cases to which the simulation phase of the configuration type in the configuration file belongs into the same group according to the execution order of each simulation stage, where the configuration type is used to describe the corresponding simulation stage.
  • the grouping module is further configured to: after the test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, the same simulation is performed in each group according to the execution order of each simulation stage.
  • the test cases of the stage are sub-grouped.
  • the batch circuit simulation method and system provided by the embodiments of the present invention divide the simulation phases of each test case, extract the same simulation phase between each test case, and group the test cases with the same simulation phase to realize The simulation intermediate results of the same simulation stage are shared in the group with the same simulation stage, thereby reducing the overall simulation time, thereby greatly speeding up the batch circuit simulation speed and improving the simulation efficiency.
  • FIG. 2 is a flow chart of a method for simulating a batch circuit according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for simulating a batch circuit according to another embodiment of the present invention.
  • FIG. 4 is a flow chart of simulation of a batch circuit simulation method according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a batch circuit simulation system according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of a batch circuit simulation system according to another embodiment of the present invention.
  • FIG. 2 is a flow chart schematically showing a batch circuit simulation method according to an embodiment of the present invention.
  • an embodiment of the present invention specifically includes the following steps:
  • test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, and the same simulation stage is a simulation stage having the same simulation operation and the execution order of each simulation operation is consistent.
  • the batch circuit simulation method provided by the embodiment of the present invention extracts the same simulation phase between each test case by dividing each test case into a simulation stage, and groups the test cases having the same simulation stage to realize The simulation intermediate results of the same simulation stage are shared in the same simulation stage group, thereby reducing the overall simulation time consumption, thereby greatly speeding up the batch circuit simulation speed and improving the simulation efficiency.
  • FIG. 3 is a flow chart schematically showing a method of simulating a batch circuit according to another embodiment of the present invention.
  • the batch circuit simulation method provided by the embodiment of the present invention specifically includes the following steps:
  • test cases are grouped according to the test function, but the grouping process of the present invention is not limited to grouping according to the function test, and any equivalent grouping manner falls within the scope of the present invention.
  • Step S23 Group test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage. Wherein, the same simulation phase is a simulation phase having the same simulation operation and the execution order of each simulation operation is consistent.
  • Step S23 is specifically implemented by the following steps: parsing the configuration files corresponding to the respective test cases, and obtaining the configuration type of each simulation stage in each test case.
  • the test cases to which the simulation stages of the same configuration type in the configuration file belong are divided into the same group according to the execution order of each simulation stage, and the configuration types are used to describe the simulation operations included in the corresponding simulation stage and the execution of each simulation operation. order.
  • test cases are almost the same as the initial configuration process.
  • DDR initialization, NAND Flash initialization, etc. are required before the official test starts, and these initialization processes take a long time. Therefore, the technical solution of the present invention will be explained below by taking the initialization simulation process in the test case as a specific embodiment.
  • the initial simulation process of each test case to be simulated may be separately divided into multiple simulation stages according to the test function implemented by the initialization simulation process in the test case.
  • the initialization simulation process in the test case may be divided into a plurality of simulation stages according to the initialization module, and the division of the simulation stage may be implemented based on the initialization step or the initialization time, and the embodiment of the present invention does not specifically limited.
  • the configuration file corresponding to each test case needs to be set according to the configuration type of each simulation phase in each test case to be simulated.
  • the number of specific test cases is seven, which are Test A, Test B, Test C, Test D, Test E, Test F, and Test G.
  • the initialization process of these seven embodiments is divided into four phases: A, B, C, and D. These four phases have 3, 3, 2, and 4 different configuration types, respectively.
  • the configuration files corresponding to each test case are parsed, and the configuration types of each simulation phase in each test case are obtained.
  • the different configurations are numbered by numbers.
  • the configuration types of the phase A are 1, 2, and 3, respectively
  • the configuration types of the phase D are 1, 2, 3, and 4, respectively.
  • the different phases are the same.
  • the configuration represented by the numbered configuration is different.
  • A1 and D1 are two configurations, respectively, and there is no connection between them.
  • the specific configuration of the test case is shown in Table 1:
  • test cases to which the simulation stages of the same configuration type in the configuration file belong are sequentially divided into the same group, and the configuration types are used to describe the simulation operations included in the corresponding simulation stage and the respective simulation operations.
  • the order of execution. Specifically, the initialization order of the simulation is ABCD in order, so the analysis starts from phase A, and it is found that there are three configuration types at this stage: Test A and Test B are configuration 1, Test C, Test D, Test E are configuration 2, Test F, Test G is configuration 3, so we divide Test A and Test B into Group 1, Test C, Test D and Test E in Group 2, Test F, Test G in Group 3.
  • the batch circuit simulation method further includes the following steps not shown in the figure: Test cases with the same simulation phase in each group are sub-grouped according to the execution order of each simulation phase.
  • Group 1 For the two test cases in Phase B: Group 1, there is a differentiation. The two configurations are B3 and B2 respectively, then Group 1 ends here, which includes Phase A. Configuration 1, referred to as A1; look at Group 2, which includes test cases C, D, E three, also appeared in phase B differentiation, where the configuration of Test C and Test D is still the same, are B2, but The configuration of Test E is B3.
  • A1 Configuration 1
  • Group 2 it includes configuration 2 of phase A and configuration 2 of phase B (referred to as A2+B2), and Group 2 ends here, which includes the stage.
  • Configuration 2 of A (referred to as A2). Looking at Group 3, it includes two tests, Test F and Test G, which are still the same configuration in Phase B, both of which are 1, so Group 3 continues to be valid and not yet finished.
  • Phase C Phase C of Test C and Test D are configuration 1, so Group 4 continues to be valid and has not yet ended;
  • Test F and Test G the configuration of phase C is different, which is 2 and 1, respectively, so Group 3 ends, which includes configuration 3 of phase A and configuration 1 of phase B, referred to as A3+B1;
  • Phase D Currently only Group 4 is left. Test C and Test D are differentiated in Phase 4 configuration, so Group 4 ends, it includes Group 2, Phase B configuration 2 and Configuration 1 of phase C, referred to as Group 2+A2+B2+C1.
  • Group 4 Group 2+B2+C1
  • This information is stored in text in a specific format for easy use in the simulation process.
  • FIG. 4 is a schematic flow chart showing a simulation method of a batch circuit simulation method according to an embodiment of the present invention.
  • Group 1, Group 2, and Group 3 are not dependent on any other simulation process, so the simulation is performed. At the beginning, they can run in parallel; as shown in Figure 4, at the end of Group 2, copy the current simulation process and run Group 4 from the current point in time. When any Group ends, the test cases it depends on can be run.
  • Test A and Test B can copy the simulation process on the basis of Group 1, and start running the remaining simulation phases.
  • Test F and Test G can be copied on the basis of Group 3. The simulation process starts running the rest of the simulation phase.
  • the “secondary” in the “secondary packet” proposed in the embodiment of the present invention is not used to define a specific number of groupings, and the case where the test cases in a certain group are grouped multiple times is not excluded. If the test cases after the second grouping in each simulation stage still have the same simulation stage, the grouping is continued, and the same simulation stage of each test case in the same group is uniformly simulated. For example, after grouping Test C, Test D, and Test E for the first time, group 2 is formed, and phase B is formed. Group 2 is grouped into Group 4, D phase, and group 4 is grouped again. It can be seen that the case of multiple times grouping test cases in a certain group falls within the protection scope of the present invention.
  • test cases are divided into several groups, and the test cases in the same group have the same initialization process.
  • the same part is uniformly simulated.
  • different function point configurations begin to appear between the test cases in the same group.
  • it is divided into multiple tasks to start execution. This approach significantly reduces redundant initialization processes and reduces overall simulation time.
  • FIG. 5 is a block diagram showing the structure of a batch circuit simulation system according to an embodiment of the present invention.
  • the batch circuit simulation system of the embodiment of the present invention specifically includes a partitioning module 101, a grouping module 102, and a simulation module 103, where:
  • the dividing module 101 is configured to divide the simulation process of each test case to be simulated into multiple simulation stages;
  • the grouping module 102 is configured to sequentially group test cases having the same simulation stage according to an execution sequence of each simulation stage, where the same simulation stage is a simulation stage having the same simulation operation and the execution order of each simulation operation is consistent. ;
  • the simulation module 103 is configured to perform unified simulation on the same simulation phase of each test case in the same group according to the execution order of each simulation phase in the simulation process, and based on the simulation result, The subsequent simulation phases of the test cases are simulated separately.
  • the dividing module 101 is specifically configured to divide the simulation process of each test case to be simulated into multiple simulation stages according to the test function implemented by the test case.
  • FIG. 6 is a block diagram showing the structure of a batch circuit simulation system according to another embodiment of the present invention.
  • the batch circuit simulation system of the embodiment of the present invention specifically includes a configuration module 100, a partitioning module 101, a grouping module 102, and a simulation module 103, where:
  • the configuration module 100 is configured to set a configuration file corresponding to each test case according to a configuration type of each simulation phase in each test case to be simulated.
  • the dividing module 101 divides the simulation processes of the respective test cases to be simulated into multiple simulation phases, respectively, according to the configuration of each simulation phase in each test case to be simulated.
  • the dividing module 101 is configured to divide the simulation process of each test case to be simulated into multiple simulation stages according to the test function implemented by the test case.
  • the grouping module 102 is configured to sequentially group test cases having the same simulation stage according to an execution sequence of each simulation stage, where the same simulation stage is a simulation stage having the same simulation operation and the execution order of each simulation operation is consistent. .
  • the simulation module 103 is configured to perform unified simulation on the same simulation phase of each test case in the same group according to the execution order of each simulation phase in the simulation process, and based on the simulation result, The subsequent simulation phases of the test cases are simulated separately.
  • grouping module 102 further includes a parsing submodule and a grouping submodule, wherein:
  • the parsing sub-module is configured to parse a configuration file corresponding to each test case, and obtain a configuration type of each simulation stage in each test case;
  • the grouping sub-module is configured to sequentially divide the test cases to which the simulation phase of the configuration type in the configuration file belongs into the same group according to the execution order of each simulation phase, where the configuration type is used to describe the corresponding simulation phase.
  • the simulation operation and the execution order of each simulation operation are configured to sequentially divide the test cases to which the simulation phase of the configuration type in the configuration file belongs into the same group according to the execution order of each simulation phase, where the configuration type is used to describe the corresponding simulation phase.
  • the grouping module 102 is further configured to: after the test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, each group is performed according to the execution order of each simulation stage. Test cases with the same simulation phase are sub-grouped.
  • the batch circuit simulation method and system provided by the invention divides the simulation phases of each test case, extracts the same simulation phase between each test case, and groups the test cases with the same simulation phase to realize The simulation intermediate results of the same simulation stage are shared in the same simulation stage group, thereby reducing the overall simulation time, especially for large-scale circuit batch simulation, which can save a lot of simulation time, thereby greatly accelerating the batch circuit. Simulation speed to improve simulation efficiency.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in the specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • embodiments of the present invention can 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 a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

The present invention provides a batch circuit simulation method and system. The method comprises: dividing a simulation process of test cases to be simulated into multiple simulation stages; grouping the test cases with the same simulation stage sequentially based on an execution sequence of simulation stages, the same simulation stage being the simulation stage having the same simulation operations and a consistent simulation operation execution sequence; and carrying out uniform simulation for the same simulation stage of the test cases in the same group based on the execution sequence of each simulation stage during the simulation process, and simulating the subsequent simulation stage of each test case in the group on the basis of the simulation result. According to the present invention, by extracting the same simulation stage of test cases, grouping the test cases, and sharing the simulation intermediate result in the group with the same simulation stage, the total time consumed by simulation is reduced, the batch circuit simulation speed is increased greatly, and the simulation efficiency is improved.

Description

一种批量化电路仿真方法和系统Batch circuit simulation method and system 技术领域Technical field
本发明涉及电路设计仿真技术领域,尤其涉及一种批量化电路仿真方法和系统。The present invention relates to the field of circuit design simulation technologies, and in particular, to a batch circuit simulation method and system.
背景技术Background technique
在芯片设计的前期开发过程中,为了确保芯片能够正常运行,必须进行详尽的电路仿真,仿真速度是决定仿真任务能否按时完成的关键因素之一。随着芯片规模的快速增长,电路仿真的规模也越来越大,相对的,完成仿真过程的时间也越来越长,导致仿真速度也越来越慢。为了加快仿真速度,往往采用多台服务器进行批量化仿真。目前批量化电路仿真的常规是:先对电路的所有输入文件进行编译,生成一个或多个仿真预备文件,然后基于仿真预备文件进行仿真。整个过程分为编译和仿真两个部分,这样虽然可以减少编译时间,但是,每个测试用例的整个仿真阶段都需要完整的运行,造成了资源的浪费。In the early development of chip design, in order to ensure the normal operation of the chip, detailed circuit simulation must be carried out. The simulation speed is one of the key factors that determine whether the simulation task can be completed on time. With the rapid growth of the chip scale, the scale of circuit simulation is also getting larger and larger. Relatively, the time for completing the simulation process is getting longer and longer, and the simulation speed is also slower and slower. In order to speed up the simulation, multiple servers are often used for batch simulation. The current routine of batch circuit simulation is to first compile all the input files of the circuit, generate one or more simulation preparation files, and then simulate based on the simulation preparation files. The whole process is divided into two parts: compiling and emulation, so that although the compile time can be reduced, the entire simulation phase of each test case needs to be completely run, resulting in waste of resources.
而且,在大型电路的仿真过程中,不同的测试用例之间往往有很多类似的步骤,尤其是在初始化阶段,很多测试用例是几乎一样的初始化配置流程。例如在移动处理器SoC芯片设计里面,在正式测试开始之前需要进行DDR初始化,NAND Flash初始化等等,这些初始化过程耗时较长。在目前传统的仿真方式模式下,每个测试用例的初始化过程都需要执行一遍。参照图1,在现有技术中提出的批量化仿真方法中,每个测试用例的整个仿真过程都要完整的执行,从而导致耗费的时间较长,影响项目进度。Moreover, in the simulation process of large-scale circuits, there are often many similar steps between different test cases, especially in the initialization phase, many test cases are almost the same initial configuration process. For example, in the mobile processor SoC chip design, DDR initialization, NAND Flash initialization, etc. are required before the official test starts, and these initialization processes take a long time. In the current traditional simulation mode, the initialization process of each test case needs to be performed once. Referring to FIG. 1, in the batch simulation method proposed in the prior art, the entire simulation process of each test case is completely executed, which results in a long time and affects the progress of the project.
而且,由于硬件资源的限制,仿真过程中的各个测试用例并不一定能全部并行进行。而且对于大规模电路的仿真,测试用例普遍有上百条之多,而硬件服务器资源有限,只能同时运行几个仿真进程,综合以上的所有的因素,最终导致了仿真耗时较长,速度缓慢,仿真效率比较低。Moreover, due to limitations of hardware resources, each test case in the simulation process may not all be performed in parallel. Moreover, for the simulation of large-scale circuits, there are hundreds of test cases, and the hardware server resources are limited. Only several simulation processes can be run at the same time. All the above factors are combined, which ultimately leads to long time and speed of simulation. Slow, the simulation efficiency is relatively low.
发明内容Summary of the invention
本发明提出了一种批量化电路仿真方法和系统,能够减少整体的仿真耗时,从而极大的加快了批量化电路仿真速度,提高仿真效率。The invention provides a batch circuit simulation method and system, which can reduce the overall simulation time consumption, thereby greatly speeding up the batch circuit simulation speed and improving the simulation efficiency.
为解决上述技术问题,本发明采用如下技术方案:In order to solve the above technical problem, the present invention adopts the following technical solutions:
本发明的一个方面,提供了一种批量化电路仿真方法,所述方法包括:In one aspect of the invention, a method for simulating a batch circuit is provided, the method comprising:
将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段;Dividing the simulation process of each test case to be simulated into multiple simulation stages;
根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组,所述相同仿真阶段为具有相同仿真操作且各个仿真操作的执行顺序一致的仿真阶段;Test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, and the same simulation stage is a simulation stage having the same simulation operation and the execution order of each simulation operation is consistent;
在仿真过程中,根据每一仿真阶段的执行顺序对同一分组中各个测试用例的相同仿真阶段进行统一仿真,并在仿真结果的基础上对该分组中各个测试用例的后续仿真阶段分别进行仿真。In the simulation process, the same simulation phase of each test case in the same group is uniformly simulated according to the execution order of each simulation stage, and the subsequent simulation stages of each test case in the group are simulated separately based on the simulation results.
其中,所述将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段,包括:The simulation process of each test case to be simulated is divided into multiple simulation phases, including:
根据测试用例所实现的测试功能将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段。According to the test function implemented by the test case, the simulation process of each test case to be simulated is divided into multiple simulation stages.
其中,在所述将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段之前,所述方法还包括:Before the simulation process of each test case to be simulated is divided into multiple simulation stages, the method further includes:
根据所述待仿真的各个测试用例中的每一仿真阶段的配置类型设置各个测试用例对应的配置文件。The configuration file corresponding to each test case is set according to the configuration type of each simulation stage in each test case to be simulated.
其中,所述根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组,包括:Wherein, the test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, including:
对各个测试用例对应的配置文件进行解析,得到每一测试用例中各个仿真阶段的配置类型;Parsing the configuration files corresponding to each test case to obtain the configuration type of each simulation stage in each test case;
根据每一仿真阶段的执行顺序依次将配置文件中配置类型相同的仿真阶段所属的测试用例划分为同一分组,所述配置类型用于描述相应的仿真阶段所包括的仿真操作以及各个仿真操作的执行顺序。The test cases to which the simulation stages of the same configuration type in the configuration file belong are divided into the same group according to the execution order of each simulation stage, and the configuration types are used to describe the simulation operations included in the corresponding simulation stage and the execution of each simulation operation. order.
其中,在所述根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组之后,所述方法还包括:After the test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, the method further includes:
根据每一仿真阶段的执行顺序将每一分组中具有相同仿真阶段的测试用例进行二次分组。Test cases with the same simulation phase in each group are sub-grouped according to the execution order of each simulation phase.
本发明的另一个方面,还提供了一种批量化电路仿真系统,所述系统包括:In another aspect of the present invention, a batch circuit simulation system is further provided, the system comprising:
划分模块,用于将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段;a dividing module, configured to divide the simulation process of each test case to be simulated into multiple simulation stages;
分组模块,用于根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组,所述相同仿真阶段为具有相同仿真操作且各个仿真操作的执行顺序一致的仿真阶段;a grouping module, configured to sequentially group test cases having the same simulation stage according to an execution sequence of each simulation stage, where the same simulation stage is a simulation stage having the same simulation operation and the execution order of each simulation operation is consistent;
仿真模块,用于在仿真过程中,根据每一仿真阶段的执行顺序对同一分组中各个测试用例的相同仿真阶段进行统一仿真,并在仿真结果的基础上对该分组中各个测试用例的后续仿真阶段分别进行仿真。The simulation module is used for uniformly simulating the same simulation stage of each test case in the same group according to the execution order of each simulation stage in the simulation process, and performing subsequent simulation of each test case in the group based on the simulation result. The phases are simulated separately.
其中,所述划分模块,具体用于根据测试用例所实现的测试功能将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段。The dividing module is specifically configured to divide the simulation process of each test case to be simulated into multiple simulation stages according to the test function implemented by the test case.
其中,所述系统还包括:Wherein, the system further comprises:
配置模块,用于在所述划分模块将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段之前,根据所述待仿真的各个测试用例中的每一仿真阶段的配置类型设置各个测试用例对应的配置文件。a configuration module, configured to set each test according to a configuration type of each simulation phase in each test case to be simulated before the dividing module divides a simulation process of each test case to be simulated into multiple simulation phases The configuration file corresponding to the use case.
其中,所述分组模块,包括解析子模块和分组子模块;The grouping module includes a parsing submodule and a grouping submodule;
所述解析子模块,用于对各个测试用例对应的配置文件进行解析,得到每一测试用例中各个仿真阶段的配置类型;The parsing sub-module is configured to parse a configuration file corresponding to each test case to obtain a configuration type of each simulation stage in each test case;
所述分组子模块,用于根据每一仿真阶段的执行顺序依次将配置文件中配置类型相同的仿真阶段所属的测试用例划分为同一分组,所述配置类型用于描述相应的仿真阶段所包括的仿真操作以及各个仿真操作的执行顺序。The grouping sub-module is configured to sequentially divide the test cases to which the simulation phase of the configuration type in the configuration file belongs into the same group according to the execution order of each simulation stage, where the configuration type is used to describe the corresponding simulation stage. The simulation operation and the execution order of each simulation operation.
其中,所述分组模块,还用于在所述根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组之后,根据每一仿真阶段的执行顺序将每一分组中具有相同仿真阶段的测试用例进行二次分组。The grouping module is further configured to: after the test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, the same simulation is performed in each group according to the execution order of each simulation stage. The test cases of the stage are sub-grouped.
与现有技术相比,本发明技术方案主要的优点如下:Compared with the prior art, the main advantages of the technical solution of the present invention are as follows:
本发明实施例提供的批量化电路仿真方法和系统,通过将各个测试用例进行仿真阶段的划分,提取各个测试用例之间的相同仿真阶段,并将具有相同仿真阶段的测试用例进行分组,以实现在具有相同仿真阶段的分组内共享相同仿真阶段的仿真中间结果,以此来减少整体的仿真耗时,从而极大的加快了批量化电路仿真速度,提高仿真效率。The batch circuit simulation method and system provided by the embodiments of the present invention divide the simulation phases of each test case, extract the same simulation phase between each test case, and group the test cases with the same simulation phase to realize The simulation intermediate results of the same simulation stage are shared in the group with the same simulation stage, thereby reducing the overall simulation time, thereby greatly speeding up the batch circuit simulation speed and improving the simulation efficiency.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the invention will be set forth in the description which follows, The objectives and other advantages of the invention may be realized and obtained by means of the structure particularly pointed in the appended claims.
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solution of the present invention will be further described in detail below through the accompanying drawings and embodiments.
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1为背景技术中提出的批量化电路仿真方法的仿真流程图;1 is a simulation flow chart of a batch circuit simulation method proposed in the background art;
图2为本发明一个实施例的一种批量化电路仿真方法的流程图;2 is a flow chart of a method for simulating a batch circuit according to an embodiment of the present invention;
图3为本发明另一实施例的一种批量化电路仿真方法的流程图;FIG. 3 is a flowchart of a method for simulating a batch circuit according to another embodiment of the present invention; FIG.
图4为本发明一个实施例的一种批量化电路仿真方法的仿真流程图;4 is a flow chart of simulation of a batch circuit simulation method according to an embodiment of the present invention;
图5为本发明一个实施例的一种批量化电路仿真系统的结构框图;FIG. 5 is a structural block diagram of a batch circuit simulation system according to an embodiment of the present invention; FIG.
图6为本发明另一实施例的一种批量化电路仿真系统的结构框图。FIG. 6 is a structural block diagram of a batch circuit simulation system according to another embodiment of the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood and the scope of the disclosure will be fully disclosed.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art will appreciate that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs, unless otherwise defined. It should also be understood that terms such as those defined in a general dictionary should be understood to have meaning consistent with the meaning in the context of the prior art, and will not be idealized or overly formal unless specifically defined. To explain.
图2示意性示出了本发明一个实施例的一种批量化电路仿真方法的流程图。参照图2,本发明实施例具体包括以下步骤:FIG. 2 is a flow chart schematically showing a batch circuit simulation method according to an embodiment of the present invention. Referring to FIG. 2, an embodiment of the present invention specifically includes the following steps:
S11、将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段。S11. The simulation process of each test case to be simulated is divided into multiple simulation stages.
S12、根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组,所述相同仿真阶段为具有相同仿真操作且各个仿真操作的执行顺序一致的仿真阶段。S12. The test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, and the same simulation stage is a simulation stage having the same simulation operation and the execution order of each simulation operation is consistent.
S13、在仿真过程中,根据每一仿真阶段的执行顺序对同一分组中各个测试用例的相同仿真阶段进行统一仿真,并在仿真结果的基础上对该分组中各个测试用例的后续仿真阶段分别进行仿真。S13. In the simulation process, the same simulation stage of each test case in the same group is uniformly simulated according to the execution order of each simulation stage, and the subsequent simulation stages of each test case in the group are separately performed on the basis of the simulation result. simulation.
本发明实施例提供的批量化电路仿真方法,通过将各个测试用例进行仿真阶段的划分,提取各个测试用例之间的相同仿真阶段,并将具有相同仿真阶段的测试用例进行分组,以实现在具有相同仿真阶段的分组内共享相同仿真阶段的仿真中间结果,以此来减少整体的仿真耗时,从而极大的加快了批量化电路仿真速度,提高仿真效率。The batch circuit simulation method provided by the embodiment of the present invention extracts the same simulation phase between each test case by dividing each test case into a simulation stage, and groups the test cases having the same simulation stage to realize The simulation intermediate results of the same simulation stage are shared in the same simulation stage group, thereby reducing the overall simulation time consumption, thereby greatly speeding up the batch circuit simulation speed and improving the simulation efficiency.
图3示意性示出了本发明另一个实施例的批量化电路仿真方法的流程图。参照图3,本发明实施例提供的批量化电路仿真方法具体包括以下步骤:FIG. 3 is a flow chart schematically showing a method of simulating a batch circuit according to another embodiment of the present invention. Referring to FIG. 3, the batch circuit simulation method provided by the embodiment of the present invention specifically includes the following steps:
S21、根据所述待仿真的各个测试用例中的每一仿真阶段的配置类型设置各个测试用例对应的配置文件。S21. Set a configuration file corresponding to each test case according to a configuration type of each simulation phase in each test case to be simulated.
S22、根据测试用例所实现的测试功能将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段。S22. The simulation process of each test case to be simulated is divided into multiple simulation stages according to the test function implemented by the test case.
在本实施例中,测试用例是按照测试功能来进行分组的,但是本发明的分组过程不限于按照功能测试进行分组,任何等同的分组方式,都落入本发明的保护范围。In the present embodiment, the test cases are grouped according to the test function, but the grouping process of the present invention is not limited to grouping according to the function test, and any equivalent grouping manner falls within the scope of the present invention.
S23、根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组。其中,所述相同仿真阶段为具有相同仿真操作且各个仿真操作的执行顺序一致的仿真阶段。步骤S23具体通过以下步骤实现:对各个测试用例对应的配置文件进行解析,得到每一测试用例中各个仿真阶段的配置类型。根据每一仿真阶段的执行顺序依次将配置文件中配置类型相同的仿真阶段所属的测试用例划分为同一分组,所述配置类型用于描述相应的仿真阶段所包括的仿真操作以及各个仿真操作的执行顺序。S23. Group test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage. Wherein, the same simulation phase is a simulation phase having the same simulation operation and the execution order of each simulation operation is consistent. Step S23 is specifically implemented by the following steps: parsing the configuration files corresponding to the respective test cases, and obtaining the configuration type of each simulation stage in each test case. The test cases to which the simulation stages of the same configuration type in the configuration file belong are divided into the same group according to the execution order of each simulation stage, and the configuration types are used to describe the simulation operations included in the corresponding simulation stage and the execution of each simulation operation. order.
S24、在仿真过程中,根据每一仿真阶段的执行顺序对同一分组中各个测试用例的相同仿真阶段进行统一仿真,并在仿真结果的基础上对该分组中各个测试用例的后续仿真阶段分别进行仿真。S24. In the simulation process, the same simulation stage of each test case in the same group is uniformly simulated according to the execution order of each simulation stage, and the subsequent simulation stages of each test case in the group are separately performed on the basis of the simulation result. simulation.
由于不同的测试用例之间往往有很多类似的步骤,尤其是在初始化阶段,很多测试用例是几乎一样的初始化配置流程。例如在移动处理器SoC芯片设计里面,在正式测试开始之前需要进行DDR初始化,NAND Flash初始化等等,而且这些初始化过程耗时较长。因此,下面以测试用例中的初始化仿真过程为具体实施例,对本发明技术方案进行解释说明。Since there are often many similar steps between different test cases, especially in the initialization phase, many test cases are almost the same as the initial configuration process. For example, in the mobile processor SoC chip design, DDR initialization, NAND Flash initialization, etc. are required before the official test starts, and these initialization processes take a long time. Therefore, the technical solution of the present invention will be explained below by taking the initialization simulation process in the test case as a specific embodiment.
本发明实施例中,首先可以根据测试用例中的初始化仿真过程所实现的测试功能将待仿真的各个测试用例的初始化仿真仿真过程分别划分为多个仿真阶段。具体的,可以根据初始化模块来将测试用例中的初始化仿真过程划分成若干仿真阶段,除此之外还可以基于初始化步骤或初始化时间实现仿真阶段的划分,对此,本发明实施例不做具体限定。In the embodiment of the present invention, the initial simulation process of each test case to be simulated may be separately divided into multiple simulation stages according to the test function implemented by the initialization simulation process in the test case. Specifically, the initialization simulation process in the test case may be divided into a plurality of simulation stages according to the initialization module, and the division of the simulation stage may be implemented based on the initialization step or the initialization time, and the embodiment of the present invention does not specifically limited.
在对初始化仿真过程进行仿真阶段划分之前,在创建测试用例时,需要根据所述待仿真的各个测试用例中的每一仿真阶段的配置类型设置各个测试用例对应的配置文件。本实施例中,具体的测试用例的数量为七个,分别为Test A、Test B、Test C、Test D、Test E、Test F、Test G。这七个实施例的初始化过程划分为四个阶段:A、B、C、D,这四个阶段分别有3、3、2、4种不同的配置类型。Before the simulation phase is divided into the initialization simulation process, when the test case is created, the configuration file corresponding to each test case needs to be set according to the configuration type of each simulation phase in each test case to be simulated. In this embodiment, the number of specific test cases is seven, which are Test A, Test B, Test C, Test D, Test E, Test F, and Test G. The initialization process of these seven embodiments is divided into four phases: A, B, C, and D. These four phases have 3, 3, 2, and 4 different configuration types, respectively.
在进行仿真阶段划分时,首先通过对各个测试用例对应的配置文件进行解析,得到每一测试用例中各个仿真阶段的配置类型。具体的,把不同的配置采用数字来编号,例如阶段A的配置类型分别为1、2、3,阶段D的配置类型分别为1、2、3、4,在本实施例中,不同阶段相同编号的配置所代表的配置是不一样的,例如A1和D1分别是两种配置,它们之间并无联系。测试用例的具体配置如下表1所示:When performing the simulation phase division, firstly, the configuration files corresponding to each test case are parsed, and the configuration types of each simulation phase in each test case are obtained. Specifically, the different configurations are numbered by numbers. For example, the configuration types of the phase A are 1, 2, and 3, respectively, and the configuration types of the phase D are 1, 2, 3, and 4, respectively. In this embodiment, the different phases are the same. The configuration represented by the numbered configuration is different. For example, A1 and D1 are two configurations, respectively, and there is no connection between them. The specific configuration of the test case is shown in Table 1:
表1 测试用例的配置表Table 1 Configuration Table of Test Cases
Figure PCTCN2018091483-appb-000001
Figure PCTCN2018091483-appb-000001
然后,根据每一仿真阶段的执行顺序依次将配置文件中配置类型相同的仿真阶段所属的测试用例划分为同一分组,所述配置类型用于描述相应的仿真阶段所包括的仿真操作以及各个仿真操作的执行顺序。具体的,仿真的初始化顺序依次是ABCD,所以先从阶段A开始分析,发现在这个阶段有三种配置类型:Test A和Test B是配置1,Test C、Test D、Test E是配置2,Test F、Test G是配置3,所以我们把Test A和Test B分在Group 1,Test C、Test D和Test E分在Group 2,Test F、Test G分在Group 3。Then, according to the execution order of each simulation stage, the test cases to which the simulation stages of the same configuration type in the configuration file belong are sequentially divided into the same group, and the configuration types are used to describe the simulation operations included in the corresponding simulation stage and the respective simulation operations. The order of execution. Specifically, the initialization order of the simulation is ABCD in order, so the analysis starts from phase A, and it is found that there are three configuration types at this stage: Test A and Test B are configuration 1, Test C, Test D, Test E are configuration 2, Test F, Test G is configuration 3, so we divide Test A and Test B into Group 1, Test C, Test D and Test E in Group 2, Test F, Test G in Group 3.
本发明实施例中,在所述根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组之后,所述批量化电路仿真方法,还包括附图中未示出的以下步骤:根据每一 仿真阶段的执行顺序将每一分组中具有相同仿真阶段的测试用例进行二次分组。In the embodiment of the present invention, after the test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, the batch circuit simulation method further includes the following steps not shown in the figure: Test cases with the same simulation phase in each group are sub-grouped according to the execution order of each simulation phase.
具体的,继续顺着时间轴往下分析,对于阶段B:Group 1里面的两个测试用例出现了分化,它们两个的配置分别是B3和B2,那么Group 1到此结束,它包括阶段A的配置1,简称A1;再来看Group 2,它包括测试用例C、D、E三个,在阶段B也出现了分化,其中Test C和Test D的配置仍然是一样的,都是B2,但是Test E的配置是B3。对此,我们在Group 2的基础上产生一个新的Group 4:它包括了阶段A的配置2和阶段B的配置2(简称A2+B2),而Group 2就到此结束了,它包括阶段A的配置2(简称A2)。再来看Group 3,它包括的两个测试Test F和Test G在阶段B仍然是一样的配置,都是1,所以Group 3继续有效,尚未结束。Specifically, continue to analyze down the timeline. For the two test cases in Phase B: Group 1, there is a differentiation. The two configurations are B3 and B2 respectively, then Group 1 ends here, which includes Phase A. Configuration 1, referred to as A1; look at Group 2, which includes test cases C, D, E three, also appeared in phase B differentiation, where the configuration of Test C and Test D is still the same, are B2, but The configuration of Test E is B3. In this regard, we generate a new Group 4 based on Group 2: it includes configuration 2 of phase A and configuration 2 of phase B (referred to as A2+B2), and Group 2 ends here, which includes the stage. Configuration 2 of A (referred to as A2). Looking at Group 3, it includes two tests, Test F and Test G, which are still the same configuration in Phase B, both of which are 1, so Group 3 continues to be valid and not yet finished.
继续顺着时间轴往下分析,对于阶段C:目前只剩下Group 3和Group 4,先分析Group 4:Test C和Test D的阶段C都是配置1,所以Group 4继续有效,尚未结束;对于Group 3:Test F和Test G的阶段C的配置不一样,分别是2和1,所以Group 3结束,它包括阶段A的配置3和阶段B的配置1,简称A3+B1;Continue to analyze down the timeline. For phase C: only Group 3 and Group 4 are currently left. First analyze Group 4: Phase C of Test C and Test D are configuration 1, so Group 4 continues to be valid and has not yet ended; For Group 3: Test F and Test G, the configuration of phase C is different, which is 2 and 1, respectively, so Group 3 ends, which includes configuration 3 of phase A and configuration 1 of phase B, referred to as A3+B1;
继续顺着时间轴往下分析,对于阶段D:目前只剩下Group 4,Test C和Test D在阶段4的配置出现了分化,所以Group 4结束,它包括Group 2,阶段B的配置2和阶段C的配置1,简称Group 2+A2+B2+C1。Continue to analyze down the timeline. For Phase D: Currently only Group 4 is left. Test C and Test D are differentiated in Phase 4 configuration, so Group 4 ends, it includes Group 2, Phase B configuration 2 and Configuration 1 of phase C, referred to as Group 2+A2+B2+C1.
通过上述处理,得到如下分组信息:Through the above processing, the following grouping information is obtained:
Group 1:A1Group 1: A1
Group 2:A2Group 2: A2
Group 3:A3+B1Group 3: A3+B1
Group 4:Group 2+B2+C1Group 4: Group 2+B2+C1
对于每个测试用例,其仿真过程拆解的最终结果如表2所示:For each test case, the final result of the simulation process disassembly is shown in Table 2:
表2 仿真过程拆解表Table 2 Simulation process disassembly table
Test ATest A Group 1+B3+C1+D4Group 1+B3+C1+D4
Test BTest B Group 1+B2+C2+D3Group 1+B2+C2+D3
Test CTest C Group 4+D3Group 4+D3
Test DTest D Group 4+D2Group 4+D2
Test ETest E Group 2+B3+C1+D4Group 2+B3+C1+D4
Test F Test F Group 3+C2+D1Group 3+C2+D1
Test G Test G Group 3+C1+D3Group 3+C1+D3
这些信息被保存在特定格式的文本里面,便于在仿真流程使用。This information is stored in text in a specific format for easy use in the simulation process.
在仿真过程中,根据每一仿真阶段的执行顺序对同一分组中各个测试用例的相同仿真阶段进行统一仿真,并在仿真结果的基础上对该分组中各个测试用例的后续仿真阶段分别进行仿真。图4示意性示出了本发明一个实施例的一种批量化电路仿真方法的仿真流程图,通过上述信息可知,Group 1、Group 2、Group 3并不依赖于任何其他仿真过程,所以在仿真开始时,它们可以并行运行;如图4所示,在Group 2结束的时候,把当前仿真进程复制一份,从当前的时间点开始运行Group 4。当任何一个Group结束的时候,被它所依赖的测试用例就可以运行了。例如Group 1结束后,Test A和Test B就可以在Group 1的基础上复制仿真进程,开始运行各自剩下的仿真阶段;Group 3结束后,Test F和Test G可以在Group 3的基础上复制仿真进程,开始运行剩下的仿真阶段。In the simulation process, the same simulation phase of each test case in the same group is uniformly simulated according to the execution order of each simulation stage, and the subsequent simulation stages of each test case in the group are simulated separately based on the simulation results. FIG. 4 is a schematic flow chart showing a simulation method of a batch circuit simulation method according to an embodiment of the present invention. According to the above information, Group 1, Group 2, and Group 3 are not dependent on any other simulation process, so the simulation is performed. At the beginning, they can run in parallel; as shown in Figure 4, at the end of Group 2, copy the current simulation process and run Group 4 from the current point in time. When any Group ends, the test cases it depends on can be run. For example, after Group 1 ends, Test A and Test B can copy the simulation process on the basis of Group 1, and start running the remaining simulation phases. After Group 3 is finished, Test F and Test G can be copied on the basis of Group 3. The simulation process starts running the rest of the simulation phase.
需要说明的是,本发明实施例中提出的“二次分组”中的“二次”,并不用来限定具体的分组次数,不排除对某一分组中的测试用例进行多次分组的情况。如果在每一仿真阶段二次分组后的测试用例仍然具有相同仿真阶段,则继续进行分组,并对同一分组中各个测试用例的相同仿真阶段进行统一仿真。例如,对Test C、Test D、Test E首次分组后形成Group 2,B阶段,对Group 2分组形成Group 4,D阶段,对Group 4再次分组。可见,对某一分组中的测试用例进行多次分组的情况均落入本发明的保护范围。It should be noted that the “secondary” in the “secondary packet” proposed in the embodiment of the present invention is not used to define a specific number of groupings, and the case where the test cases in a certain group are grouped multiple times is not excluded. If the test cases after the second grouping in each simulation stage still have the same simulation stage, the grouping is continued, and the same simulation stage of each test case in the same group is uniformly simulated. For example, after grouping Test C, Test D, and Test E for the first time, group 2 is formed, and phase B is formed. Group 2 is grouped into Group 4, D phase, and group 4 is grouped again. It can be seen that the case of multiple times grouping test cases in a certain group falls within the protection scope of the present invention.
本发明实施例,将所有测试用例分成了若干组,在同一个组内的测试用例有着相同的初始化过程。先对相同的部分进行统一的仿真,等到相同的初始化过程结束的时候,同一组内的各个测试用例之间开始出现不同的功能点配置,此时开始再分成多个任务开始执行。此种方式能显著减少冗余的初始化过程,减少总的仿真时间。In the embodiment of the present invention, all the test cases are divided into several groups, and the test cases in the same group have the same initialization process. First, the same part is uniformly simulated. When the same initialization process is finished, different function point configurations begin to appear between the test cases in the same group. At this time, it is divided into multiple tasks to start execution. This approach significantly reduces redundant initialization processes and reduces overall simulation time.
对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。For the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the embodiments of the present invention are not limited by the described action sequence, because the embodiment according to the present invention Some steps can be performed in other orders or at the same time. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
图5示意性示出了本发明一个实施例的一种批量化电路仿真系统的结构框图。参照图5,本发明实施例的批量化电路仿真系统具体包括划分模块101、分组模块102和仿真模块103,其中:FIG. 5 is a block diagram showing the structure of a batch circuit simulation system according to an embodiment of the present invention. Referring to FIG. 5, the batch circuit simulation system of the embodiment of the present invention specifically includes a partitioning module 101, a grouping module 102, and a simulation module 103, where:
所述的划分模块101,用于将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段;The dividing module 101 is configured to divide the simulation process of each test case to be simulated into multiple simulation stages;
所述的分组模块102,用于根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测 试用例进行分组,所述相同仿真阶段为具有相同仿真操作且各个仿真操作的执行顺序一致的仿真阶段;The grouping module 102 is configured to sequentially group test cases having the same simulation stage according to an execution sequence of each simulation stage, where the same simulation stage is a simulation stage having the same simulation operation and the execution order of each simulation operation is consistent. ;
所述的仿真模块103,用于根据在仿真过程中,根据每一仿真阶段的执行顺序对同一分组中各个测试用例的相同仿真阶段进行统一仿真,并在仿真结果的基础上对该分组中各个测试用例的后续仿真阶段分别进行仿真。The simulation module 103 is configured to perform unified simulation on the same simulation phase of each test case in the same group according to the execution order of each simulation phase in the simulation process, and based on the simulation result, The subsequent simulation phases of the test cases are simulated separately.
在本发明的一个可选实施例,所述的划分模块101,具体用于根据测试用例所实现的测试功能将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段。In an optional embodiment of the present invention, the dividing module 101 is specifically configured to divide the simulation process of each test case to be simulated into multiple simulation stages according to the test function implemented by the test case.
图6示意性示出了本发明另一个实施例的一种批量化电路仿真系统的结构框图。参照图6,本发明实施例的批量化电路仿真系统具体包括配置模块100、划分模块101、分组模块102和仿真模块103,其中:FIG. 6 is a block diagram showing the structure of a batch circuit simulation system according to another embodiment of the present invention. Referring to FIG. 6, the batch circuit simulation system of the embodiment of the present invention specifically includes a configuration module 100, a partitioning module 101, a grouping module 102, and a simulation module 103, where:
所述的配置模块100,用于根据待仿真的各个测试用例中的每一仿真阶段的配置类型设置各个测试用例对应的配置文件。本实施例中,配置模块100在所述划分模块101将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段之前,根据所述待仿真的各个测试用例中的每一仿真阶段的配置类型设置各个测试用例对应的配置文件。The configuration module 100 is configured to set a configuration file corresponding to each test case according to a configuration type of each simulation phase in each test case to be simulated. In this embodiment, before the dividing module 101 divides the simulation processes of the respective test cases to be simulated into multiple simulation phases, respectively, according to the configuration of each simulation phase in each test case to be simulated. Type Set the configuration file corresponding to each test case.
所述的划分模块101,用于根据测试用例所实现的测试功能将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段。The dividing module 101 is configured to divide the simulation process of each test case to be simulated into multiple simulation stages according to the test function implemented by the test case.
所述的分组模块102,用于根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组,所述相同仿真阶段为具有相同仿真操作且各个仿真操作的执行顺序一致的仿真阶段。The grouping module 102 is configured to sequentially group test cases having the same simulation stage according to an execution sequence of each simulation stage, where the same simulation stage is a simulation stage having the same simulation operation and the execution order of each simulation operation is consistent. .
所述的仿真模块103,用于根据在仿真过程中,根据每一仿真阶段的执行顺序对同一分组中各个测试用例的相同仿真阶段进行统一仿真,并在仿真结果的基础上对该分组中各个测试用例的后续仿真阶段分别进行仿真。The simulation module 103 is configured to perform unified simulation on the same simulation phase of each test case in the same group according to the execution order of each simulation phase in the simulation process, and based on the simulation result, The subsequent simulation phases of the test cases are simulated separately.
进一步地,所述分组模块102,进一步包括解析子模块和分组子模块,其中:Further, the grouping module 102 further includes a parsing submodule and a grouping submodule, wherein:
所述的解析子模块,用于对各个测试用例对应的配置文件进行解析,得到每一测试用例中各个仿真阶段的配置类型;The parsing sub-module is configured to parse a configuration file corresponding to each test case, and obtain a configuration type of each simulation stage in each test case;
所述的分组子模块,用于根据每一仿真阶段的执行顺序依次将配置文件中配置类型相同的仿真阶段所属的测试用例划分为同一分组,所述配置类型用于描述相应的仿真阶段所包括的仿真操作以及各个仿真操作的执行顺序。The grouping sub-module is configured to sequentially divide the test cases to which the simulation phase of the configuration type in the configuration file belongs into the same group according to the execution order of each simulation phase, where the configuration type is used to describe the corresponding simulation phase. The simulation operation and the execution order of each simulation operation.
本实施例中,所述分组模块102,还用于在所述根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组之后,根据每一仿真阶段的执行顺序将每一分组中具有 相同仿真阶段的测试用例进行二次分组。In this embodiment, the grouping module 102 is further configured to: after the test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, each group is performed according to the execution order of each simulation stage. Test cases with the same simulation phase are sub-grouped.
对于系统实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
与现有技术相比,本发明技术方案主要的优点如下:Compared with the prior art, the main advantages of the technical solution of the present invention are as follows:
本发明提供的批量化电路仿真方法和系统,通过将各个测试用例进行仿真阶段的划分,提取各个测试用例之间的相同仿真阶段,并将具有相同仿真阶段的测试用例进行分组,以实现在具有相同仿真阶段的分组内共享相同仿真阶段的仿真中间结果,以此来减少整体的仿真耗时,尤其是对于大型电路批量化仿真,可以节省大量的仿真时间,从而极大的加快了批量化电路仿真速度,提高仿真效率。The batch circuit simulation method and system provided by the invention divides the simulation phases of each test case, extracts the same simulation phase between each test case, and groups the test cases with the same simulation phase to realize The simulation intermediate results of the same simulation stage are shared in the same simulation stage group, thereby reducing the overall simulation time, especially for large-scale circuit batch simulation, which can save a lot of simulation time, thereby greatly accelerating the batch circuit. Simulation speed to improve simulation efficiency.
在此提供的仿真方法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The emulation methods and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general purpose systems can also be used with the teaching based on the teachings herein. The structure required to construct such a system is apparent from the above description. Moreover, the invention is not directed to any particular programming language. It is to be understood that the invention may be embodied in a variety of programming language, and the description of the specific language has been described above in order to disclose the preferred embodiments of the invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, the various features of the invention are sometimes grouped together into a single embodiment, in the above description of the exemplary embodiments of the invention, Figure, or a description of it. However, the method disclosed is not to be interpreted as reflecting the intention that the claimed invention requires more features than those recited in the claims. Rather, as the following claims reflect, inventive aspects reside in less than all features of the single embodiments disclosed herein. Therefore, the claims following the specific embodiments are hereby explicitly incorporated into the embodiments, and each of the claims as a separate embodiment of the invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要 和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components. In addition to such features and/or at least some of the processes or units being mutually exclusive, any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined. Each feature disclosed in the specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art will appreciate that although some embodiments herein include certain features included in other embodiments and not other features, combinations of features of different embodiments are intended to be within the scope of the present invention. And different embodiments are formed. For example, in the claims, any one of the claimed embodiments can be used in any combination.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can 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 a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims (10)

  1. 一种批量化电路仿真方法,其特征在于,所述方法包括:A batch circuit simulation method, characterized in that the method comprises:
    将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段;Dividing the simulation process of each test case to be simulated into multiple simulation stages;
    根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组,所述相同仿真阶段为具有相同仿真操作且各个仿真操作的执行顺序一致的仿真阶段;Test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, and the same simulation stage is a simulation stage having the same simulation operation and the execution order of each simulation operation is consistent;
    在仿真过程中,根据每一仿真阶段的执行顺序对同一分组中各个测试用例的相同仿真阶段进行统一仿真,并在仿真结果的基础上对该分组中各个测试用例的后续仿真阶段分别进行仿真。In the simulation process, the same simulation phase of each test case in the same group is uniformly simulated according to the execution order of each simulation stage, and the subsequent simulation stages of each test case in the group are simulated separately based on the simulation results.
  2. 根据权利要求1所述的方法,其特征在于,所述将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段,包括:The method according to claim 1, wherein the simulation process of each test case to be simulated is divided into a plurality of simulation phases, respectively, including:
    根据测试用例所实现的测试功能将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段。According to the test function implemented by the test case, the simulation process of each test case to be simulated is divided into multiple simulation stages.
  3. 根据权利要求1所述的方法,其特征在于,在所述将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段之前,所述方法还包括:The method according to claim 1, wherein before the dividing the simulation process of each test case to be simulated into a plurality of simulation stages, the method further comprises:
    根据所述待仿真的各个测试用例中的每一仿真阶段的配置类型设置各个测试用例对应的配置文件。The configuration file corresponding to each test case is set according to the configuration type of each simulation stage in each test case to be simulated.
  4. 根据权利要求3所述的方法,其特征在于,所述根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组,包括:The method according to claim 3, wherein the grouping test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, including:
    对各个测试用例对应的配置文件进行解析,得到每一测试用例中各个仿真阶段的配置类型;Parsing the configuration files corresponding to each test case to obtain the configuration type of each simulation stage in each test case;
    根据每一仿真阶段的执行顺序依次将配置文件中配置类型相同的仿真阶段所属的测试用例划分为同一分组,所述配置类型用于描述相应的仿真阶段所包括的仿真操作以及各个仿真操作的执行顺序。The test cases to which the simulation stages of the same configuration type in the configuration file belong are divided into the same group according to the execution order of each simulation stage, and the configuration types are used to describe the simulation operations included in the corresponding simulation stage and the execution of each simulation operation. order.
  5. 根据权利要求1所述的方法,其特征在于,在所述根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组之后,所述方法还包括:The method according to claim 1, wherein after the test cases having the same simulation stage are sequentially grouped according to the execution order of each simulation stage, the method further includes:
    根据每一仿真阶段的执行顺序将每一分组中具有相同仿真阶段的测试用例进行二次分组。Test cases with the same simulation phase in each group are sub-grouped according to the execution order of each simulation phase.
  6. 一种批量化电路仿真系统,其特征在于,包括:A batch circuit simulation system, comprising:
    划分模块,用于将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段;a dividing module, configured to divide the simulation process of each test case to be simulated into multiple simulation stages;
    分组模块,用于根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组,所述相同仿真阶段为具有相同仿真操作且各个仿真操作的执行顺序一致的仿真阶段;a grouping module, configured to sequentially group test cases having the same simulation stage according to an execution sequence of each simulation stage, where the same simulation stage is a simulation stage having the same simulation operation and the execution order of each simulation operation is consistent;
    仿真模块,用于在仿真过程中,根据每一仿真阶段的执行顺序对同一分组中各个测试用例的相同仿真阶段进行统一仿真,并在仿真结果的基础上对该分组中各个测试用例的后续仿真阶段分别进行仿真。The simulation module is used for uniformly simulating the same simulation stage of each test case in the same group according to the execution order of each simulation stage in the simulation process, and performing subsequent simulation of each test case in the group based on the simulation result. The phases are simulated separately.
  7. 根据权利要求6所述的系统,其特征在于,所述划分模块,具体用于根据测试用例所实现的测试功能将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段。The system according to claim 6, wherein the dividing module is specifically configured to divide the simulation process of each test case to be simulated into multiple simulation stages according to the test function implemented by the test case.
  8. 根据权利要求6所述的系统,其特征在于,所述系统还包括:The system of claim 6 wherein the system further comprises:
    配置模块,用于在所述划分模块将待仿真的各个测试用例的仿真过程分别划分为多个仿真阶段之前,根据所述待仿真的各个测试用例中的每一仿真阶段的配置类型设置各个测试用例对应的配置文件。a configuration module, configured to set each test according to a configuration type of each simulation phase in each test case to be simulated before the dividing module divides a simulation process of each test case to be simulated into multiple simulation phases The configuration file corresponding to the use case.
  9. 根据权利要求8所述的系统,其特征在于,所述分组模块,包括解析子模块和分组子模块;The system according to claim 8, wherein the grouping module comprises a parsing submodule and a grouping submodule;
    所述解析子模块,用于对各个测试用例对应的配置文件进行解析,得到每一测试用例中各个仿真阶段的配置类型;The parsing sub-module is configured to parse a configuration file corresponding to each test case to obtain a configuration type of each simulation stage in each test case;
    所述分组子模块,用于根据每一仿真阶段的执行顺序依次将配置文件中配置类型相同的仿真阶段所属的测试用例划分为同一分组,所述配置类型用于描述相应的仿真阶段所包括的仿真操作以及各个仿真操作的执行顺序。The grouping sub-module is configured to sequentially divide the test cases to which the simulation phase of the configuration type in the configuration file belongs into the same group according to the execution order of each simulation stage, where the configuration type is used to describe the corresponding simulation stage. The simulation operation and the execution order of each simulation operation.
  10. 根据权利要求6所述的系统,其特征在于,所述分组模块,还用于在所述根据每一仿真阶段的执行顺序依次将具有相同仿真阶段的测试用例进行分组之后,根据每一仿真阶段的执行顺序将每一分组中具有相同仿真阶段的测试用例进行二次分组。The system according to claim 6, wherein the grouping module is further configured to sequentially group test cases having the same simulation stage according to an execution order of each simulation stage, according to each simulation stage. The execution order divides the test cases with the same simulation phase in each group into two groups.
PCT/CN2018/091483 2017-06-16 2018-06-15 Batch circuit simulation method and system WO2018228528A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710456811.6 2017-06-16
CN201710456811.6A CN107194115B (en) 2017-06-16 2017-06-16 A kind of mass circuit emulation method and system

Publications (1)

Publication Number Publication Date
WO2018228528A1 true WO2018228528A1 (en) 2018-12-20

Family

ID=59878152

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/091483 WO2018228528A1 (en) 2017-06-16 2018-06-15 Batch circuit simulation method and system

Country Status (2)

Country Link
CN (1) CN107194115B (en)
WO (1) WO2018228528A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107194115B (en) * 2017-06-16 2018-06-29 北京得瑞领新科技有限公司 A kind of mass circuit emulation method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6581029B1 (en) * 1999-05-11 2003-06-17 International Business Machines Corporation Method and system for optimizing execution of a collection of related module sequences by eliminating redundant modules
US20090043559A1 (en) * 2007-08-09 2009-02-12 Behm Michael L Hardware Verification Batch Computing Farm Simulator
CN102214139A (en) * 2011-06-01 2011-10-12 北京航空航天大学 Automatic test performance control and debugging method facing distributed system
CN102609352A (en) * 2011-01-19 2012-07-25 阿里巴巴集团控股有限公司 Parallel testing method and parallel testing server
CN105975397A (en) * 2016-07-18 2016-09-28 浪潮(北京)电子信息产业有限公司 Integration testing method and system based on TestNG
CN106777665A (en) * 2016-12-07 2017-05-31 盛科网络(苏州)有限公司 Improve the method and system of cooperating simulation platform verification efficiency
CN107194115A (en) * 2017-06-16 2017-09-22 北京得瑞领新科技有限公司 A kind of mass circuit emulation method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6581029B1 (en) * 1999-05-11 2003-06-17 International Business Machines Corporation Method and system for optimizing execution of a collection of related module sequences by eliminating redundant modules
US20090043559A1 (en) * 2007-08-09 2009-02-12 Behm Michael L Hardware Verification Batch Computing Farm Simulator
CN102609352A (en) * 2011-01-19 2012-07-25 阿里巴巴集团控股有限公司 Parallel testing method and parallel testing server
CN102214139A (en) * 2011-06-01 2011-10-12 北京航空航天大学 Automatic test performance control and debugging method facing distributed system
CN105975397A (en) * 2016-07-18 2016-09-28 浪潮(北京)电子信息产业有限公司 Integration testing method and system based on TestNG
CN106777665A (en) * 2016-12-07 2017-05-31 盛科网络(苏州)有限公司 Improve the method and system of cooperating simulation platform verification efficiency
CN107194115A (en) * 2017-06-16 2017-09-22 北京得瑞领新科技有限公司 A kind of mass circuit emulation method and system

Also Published As

Publication number Publication date
CN107194115B (en) 2018-06-29
CN107194115A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
US8732720B2 (en) Job scheduling based on map stage and reduce stage duration
US9477512B2 (en) Task-based modeling for parallel data integration
US8527971B2 (en) Parallel program generation method
CN102279766B (en) Method and system for concurrently simulating processors and scheduler
WO2014140971A1 (en) Deploying parallel data integration applications to distributed computing environments
CN103927338A (en) Log information storage processing method and log information storage processing device
WO2021057252A1 (en) Service processing flow configuration method and apparatus, and service request processing method and apparatus
US11514225B2 (en) Verification platform for system on chip and verification method thereof
CN104899369A (en) Simulator multithread running method using PERL scripts
CN104731614A (en) Method and device for accelerating data loading in starting process
US20150172369A1 (en) Method and system for iterative pipeline
CN113886162A (en) Computing equipment performance test method, computing equipment and storage medium
WO2016101751A1 (en) Master and slave balancing method and device in distributed storage system
WO2018228528A1 (en) Batch circuit simulation method and system
US20150074624A1 (en) Enhanced Case-Splitting Based Property Checking
CN106843822B (en) Execution code generation method and equipment
US11144693B1 (en) Method and system for generating verification tests at runtime
CN111522648A (en) Transaction processing method and device for block chain and electronic equipment
CN108984405B (en) Performance test method, device and computer readable storage medium
CN102063308B (en) Method for controlling processing flow of seismic prospecting data
US8341577B1 (en) Parallel circuit simulation with partitions
US9823305B1 (en) Method and system for generating post-silicon validation tests
Rekachinsky et al. Modeling parallel processing of databases on the central processor Intel Xeon Phi KNL
CN112131810A (en) Method and device for restoring set-up time violation, electronic equipment and readable storage medium
US10776139B2 (en) Simulation apparatus, simulation method, and computer readable medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18816940

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18816940

Country of ref document: EP

Kind code of ref document: A1