Check patentability & draft patents in minutes with Patsnap Eureka AI!

A Circuit Simulation Method Based on Incremental Compilation

A technology of incremental compilation and circuit simulation, applied in code compilation, CAD circuit design, electrical digital data processing, etc., can solve the problems of no communication, compiling and sharing, etc., to reduce the peak value of memory, save compilation time, improve The Effect of Simulation Efficiency

Active Publication Date: 2022-05-24
北京华大九天科技股份有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Traditional emulators make compiling and running an uninterruptible serial pipeline, that is, a simulation task is a process from compiling to running, and there is no communication between different tasks, so compiling and sharing cannot be achieved

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Circuit Simulation Method Based on Incremental Compilation
  • A Circuit Simulation Method Based on Incremental Compilation
  • A Circuit Simulation Method Based on Incremental Compilation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] figure 1 For the flow chart of the circuit simulation method based on incremental compilation according to the present invention, the following will refer to figure 1 , the circuit simulation method based on incremental compilation of the present invention is described in detail.

[0056] First, in step 101, the simulation tasks are analyzed and precompiled by group. In this step, the purpose of group precompilation is to select one representative task group from each group to compile, and save the compiled data for subsequent task sharing.

[0057] Preferably, the user pre-analyzes the simulation task, and the input of the simulation task consists of two parts: a netlist file and a simulation option.

[0058] Preferably, the groups are grouped according to the similarity of the simulation tasks, that is, the netlist files and option values ​​are similar to one group. Select a case for each group and record the group number (group-id) to form a simulation process, co...

Embodiment 2

[0087] The circuit simulation method based on incremental compilation of the present invention will be further described below with reference to a specific embodiment.

[0088] According to another aspect of the embodiments of the present invention, the implementation of the present invention will be described with reference to two application scenarios.

[0089] Scenario 1: Simulate the same large-scale post-simulation circuit successively, with different simulation options.

[0090] Task 1: Input main file: netlist1, options: Numerical integration method = method 1

[0091] Task 2: Input main file: netlist1, options: Numerical integration method = method 2

[0092] Step0: Group precompile. The netlist files of task 1 and task 2 are the same, only the simulation options are different, and they are divided into the same group group-id=1. Put task 1 into the process pool, and execute the process Step2-Step6, such as figure 2 shown. In this step, a CDB data set is generate...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A circuit simulation method based on incremental compilation, comprising the following steps: 1) analyzing simulation tasks and performing group precompilation, and putting the precompiled simulation tasks into a process pool; 2) starting each process pool in a distributed manner 3) for each simulation process, find the compilation information table corresponding to the group according to the group number; 4) analyze the netlist file and perform incremental compilation according to the compilation information table; 5) analyze according to the compilation information table Simulation option and perform incremental compilation; 6) add group number to each remaining task in the group to form a simulation process, collect all simulation processes and put them into the process pool, return to execute step 2) until the simulation task ends. The circuit simulation method based on incremental compilation of the present invention considers the correlation of data between different simulation tasks, uses the incremental compilation mechanism to share compiled data, thereby saving compilation time, reducing the peak value of memory during compilation, and effectively improving the overall simulation efficiency.

Description

technical field [0001] The invention relates to the technical field of integrated circuit design, in particular to a method for distributed simulation of integrated circuits using incremental compilation. Background technique [0002] The general workflow of the traditional analog integrated circuit simulator is: 1. Read the circuit netlist for lexical analysis (Parsing); 2. Calculate parameters, establish circuit topology, and topology reduction (Elaboration); 3. Divide the circuit ( Partition); 4. Establish matrix, solve equation (Solving); 5. Output. Processes 1, 2, and 3 are relatively independent from 4 and 5. 1, 2, and 3 can be regarded as compilation or interpretation, and 4 and 5 can be regarded as running. For large-scale circuits, although the running part occupies the bulk of the simulation time, the absolute time and memory peak occupied by the compilation are considerable: tens of hours and hundreds of GB, respectively. For smaller circuits, the run time is ge...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F30/3308G06F8/41
CPCG06F30/3308G06F8/41G06F2115/06
Inventor 徐启迪吴大可周振亚
Owner 北京华大九天科技股份有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More