Method and device for solving non-home domain linear analog-digital conflict in digital-analog hybrid simulation

文档序号:49485 发布日期:2021-09-28 浏览:45次 中文

阅读说明:本技术 数模混合仿真中解决无归属域线型模数冲突的方法及装置 (Method and device for solving non-home domain linear analog-digital conflict in digital-analog hybrid simulation ) 是由 曹会扬 白君洁 孙义兴 侯树海 许建国 孟声象 洪远 于 2021-06-28 设计创作,主要内容包括:本发明涉及一种数模混合仿真中解决无归属域线型模数冲突的方法及装置,方法包括定义数字域、模拟域、数字域线型、模拟域线型、无归属域线型和数模转换原型;将数模转换原型插入到域冲突边界处,确定无归属域线型归属为数字域线型;在仿真运算时,先对数字域线型进行仿真运算,然后对模拟域线型进行仿真运算。相较于现有技术以模拟仿真为主遵循电气学规则进行仿真运算而言,本发明将无归属域线型归属为数字域线型,以数字仿真为主遵循逻辑学规则进行仿真运算,其运算量小,数模混合仿真耗时短,大大提高了数模混合仿真整体的仿真效率,尤其适用于现代大规模以数字集成电路为主的SOC发展的需要。(The invention relates to a method and a device for solving non-home domain linear analog-digital conflict in digital-analog hybrid simulation, wherein the method comprises the steps of defining a digital domain, an analog domain, a digital domain linear type, an analog domain linear type, a non-home domain linear type and a digital-analog conversion prototype; inserting the digital-to-analog conversion prototype into a domain conflict boundary, and determining that the non-attribution domain line type attribution is a digital domain line type; during simulation operation, firstly, simulation operation is carried out on the digital domain line type, and then simulation operation is carried out on the analog domain line type. Compared with the prior art that simulation operation is carried out by mainly using analog simulation and following electrical rules, the method has the advantages that the unaffiliated domain line type is attributed to the digital domain line type, the digital simulation is mainly used for following the logical rules to carry out simulation operation, the operation amount is small, the time consumption of digital-analog hybrid simulation is short, the overall simulation efficiency of the digital-analog hybrid simulation is greatly improved, and the method is particularly suitable for the requirement of the modern large-scale SOC development which mainly uses a digital integrated circuit.)

1. A method for resolving a non-home domain linear analog-digital conflict in digital-analog hybrid simulation is characterized by comprising the following steps:

defining a digital domain, an analog domain, a digital domain linear type, an analog domain linear type, a non-home domain linear type and a digital-to-analog conversion prototype;

inserting the digital-to-analog conversion prototype into a domain conflict boundary, and determining that the unaffiliated domain line type belongs to a digital domain line type;

during simulation operation, firstly, simulation operation is carried out on the digital domain line type, and then simulation operation is carried out on the analog domain line type.

2. The method for resolving home-realm-free linear analog-to-digital collision in digital-to-analog hybrid simulation according to claim 1, wherein: the digital-to-analog conversion prototype includes a digital-to-analog prototype, an analog-to-digital prototype, and a bidirectional prototype.

3. The method for resolving home-realm-free linear analog-to-digital collision in digital-to-analog hybrid simulation according to claim 1, wherein: inserting the digital-to-analog conversion prototype into a domain conflict boundary, and determining that the non-attributive-domain line type is attributed to a digital-domain line type comprises the following steps:

inserting the digital-to-analog prototype, analog-to-digital prototype, and bidirectional prototype at a domain conflict boundary, determining that the homeless-domain line type is homed as a digital-domain line type.

4. The method for resolving home-realm-free linear analog-to-digital collision in digital-to-analog hybrid simulation according to claim 1 or 3, wherein: the domain collision boundaries include a first domain collision boundary and a second domain collision boundary.

5. The method for resolving home-realm-free linear analog-to-digital collision in digital-to-analog hybrid simulation according to claim 3, wherein: inserting the digital-to-analog prototype, analog-to-digital prototype, and bidirectional prototype at a domain conflict boundary, the determining that the homeless-domain-line type is homed as a digital-domain-line type comprising:

inserting the digital-to-analog prototype, the analog-to-digital prototype, and the bidirectional prototype at a first domain conflict boundary, determining that the homeless-domain linear type portion is homed as a digital-domain linear type.

6. The method for resolving home-realm-free linear analog-to-digital collision in digital-to-analog hybrid simulation according to claim 3, wherein: inserting the digital-to-analog prototype, analog-to-digital prototype, and bidirectional prototype at a domain conflict boundary, the determining that the homeless-domain-line type is homed as a digital-domain-line type comprising:

and inserting the digital-to-analog prototype, the analog-to-digital prototype and the bidirectional prototype into a second domain conflict boundary to determine that the non-attribution domain linear type is totally attributed to a digital domain linear type.

7. The method for resolving home-realm-free linear analog-to-digital collision in digital-to-analog hybrid simulation according to claim 1, wherein: the simulation operation of the digital domain line type comprises the following steps:

and performing simulation operation on the digital domain line type by adopting a logic rule.

8. The method for resolving home-realm-free linear analog-to-digital collision in digital-to-analog hybrid simulation according to claim 1, wherein: the simulation operation of the simulation domain line type comprises the following steps:

and performing simulation operation on the simulation domain line type by adopting an electrical rule.

9. The method for resolving home-realm-free linear analog-to-digital collision in digital-to-analog hybrid simulation according to claim 1, wherein: and adopting bottom-up traversal operation during simulation operation.

10. An apparatus for resolving a non-home domain linear analog-to-digital conflict in digital-to-analog hybrid simulation, comprising: the method comprises the following steps:

the definition module is used for defining a digital domain, an analog domain, a digital domain linear type, an analog domain linear type, a non-home domain linear type and a digital-to-analog conversion prototype;

the unaffiliated domain linear type determining module is used for inserting the digital-to-analog conversion prototype into a domain conflict boundary and determining that the unaffiliated domain linear type belongs to a digital domain linear type;

and the simulation operation module is used for firstly performing simulation operation on the digital domain line type and then performing simulation operation on the analog domain line type during simulation operation.

Technical Field

The invention relates to the technical field of communication microelectronics, in particular to a method and a device for solving non-home domain linear analog-digital conflict in digital-analog hybrid simulation.

Background

In the field of integrated circuit microelectronics, the back-end processes (e.g., photolithography) required to physically implement microelectronic circuits are costly. Therefore, almost all integrated circuit designs are simulated repeatedly to improve efficiency and save resources. Most current simulation tools involve the simulation of both analog and digital circuits, and are commonly referred to as digital-to-analog hybrid simulation tools.

In the digital-analog hybrid simulation in the prior art, a non-attribution domain line type is attributed to an analog domain, and the method causes the problems of large operation amount and long time consumption of the digital-analog hybrid simulation, so that the overall simulation efficiency of the digital-analog hybrid simulation is reduced, and the method cannot be suitable for the simulation requirement of modern large-scale SOC development mainly based on a digital integrated circuit.

Disclosure of Invention

Therefore, the technical problem to be solved by the invention is to overcome the defects of large operation amount, long time consumption of digital-analog hybrid simulation and low simulation efficiency of the method for attributing the non-attribution domain line type to the analog domain in the prior art.

In order to solve the above technical problem, the present invention provides a method for solving a non-home domain linear analog-digital conflict in digital-analog hybrid simulation, comprising:

defining a digital domain, an analog domain, a digital domain linear type, an analog domain linear type, a non-home domain linear type and a digital-to-analog conversion prototype;

inserting the digital-to-analog conversion prototype into a domain conflict boundary, and determining that the unaffiliated domain line type belongs to a digital domain line type;

during simulation operation, firstly, simulation operation is carried out on the digital domain line type, and then simulation operation is carried out on the analog domain line type.

In one embodiment of the invention, the digital-to-analog conversion prototypes include digital-to-analog prototypes, analog-to-digital prototypes, and bidirectional prototypes.

In an embodiment of the present invention, inserting the digital-to-analog conversion prototype into a domain conflict boundary, and determining that the non-home-domain line type is a digital-domain line type includes:

inserting the digital-to-analog prototype, analog-to-digital prototype, and bidirectional prototype at a domain conflict boundary, determining that the homeless-domain line type is homed as a digital-domain line type.

In one embodiment of the invention, the domain conflict boundaries comprise a first domain conflict boundary and a second domain conflict boundary.

In one embodiment of the present invention, inserting the digital-to-analog prototype, the analog-to-digital prototype, and the bidirectional prototype at the domain conflict boundary, the determining that the homeless-realm line type is homed as a digital-realm line type includes:

inserting the digital-to-analog prototype, the analog-to-digital prototype, and the bidirectional prototype at a first domain conflict boundary, determining that the homeless-domain linear type portion is homed as a digital-domain linear type.

In one embodiment of the present invention, inserting the digital-to-analog prototype, the analog-to-digital prototype, and the bidirectional prototype at the domain conflict boundary, the determining that the homeless-realm line type is homed as a digital-realm line type includes:

and inserting the digital-to-analog prototype, the analog-to-digital prototype and the bidirectional prototype into a second domain conflict boundary to determine that the non-attribution domain linear type is totally attributed to a digital domain linear type.

In one embodiment of the present invention, performing the simulation operation on the digital domain line type includes:

and performing simulation operation on the digital domain line type by adopting a logic rule.

In an embodiment of the present invention, performing the simulation operation on the analog domain line type includes:

and performing simulation operation on the simulation domain line type by adopting an electrical rule.

In one embodiment of the invention, a bottom-up traversal operation is employed in the simulation operation.

In addition, the invention also provides a device for solving the non-home domain linear analog-digital conflict in the digital-analog hybrid simulation, which comprises the following steps:

the definition module is used for defining a digital domain, an analog domain, a digital domain linear type, an analog domain linear type, a non-home domain linear type and a digital-to-analog conversion prototype;

the unaffiliated domain linear type determining module is used for inserting the digital-to-analog conversion prototype into a domain conflict boundary and determining that the unaffiliated domain linear type belongs to a digital domain linear type;

and the simulation operation module is used for firstly performing simulation operation on the digital domain line type and then performing simulation operation on the analog domain line type during simulation operation.

Compared with the prior art, the technical scheme of the invention has the following advantages:

compared with the prior art that simulation operation is carried out by mainly using analog simulation and following electrical rules, the method has the advantages that the unaffiliated domain line type is attributed to the digital domain line type, the digital simulation is mainly used for following the logical rules to carry out simulation operation, the operation amount is small, the time consumption of digital-analog hybrid simulation is short, the overall simulation efficiency of the digital-analog hybrid simulation is greatly improved, and the method is particularly suitable for the requirement of the modern large-scale SOC development which mainly uses a digital integrated circuit.

Drawings

In order that the present disclosure may be more readily and clearly understood, reference is now made to the following detailed description of the embodiments of the present disclosure taken in conjunction with the accompanying drawings, in which

FIG. 1 is a flow chart of a method for resolving a home-domain-free linear analog-digital conflict in digital-analog hybrid simulation according to the present invention.

FIG. 2 is a diagram illustrating a method for resolving a home-domain-free linear analog-to-digital collision in a digital-to-analog hybrid simulation according to the present invention.

FIG. 3 is a diagram illustrating a method for resolving a home-domain-free linear analog-to-digital collision in a digital-to-analog hybrid simulation according to the present invention.

Fig. 4 is a schematic diagram illustrating an implementation of the method for resolving the home-realm-free linear analog-to-digital collision in the digital-to-analog hybrid simulation according to the present invention.

Fig. 5 is a schematic diagram illustrating an implementation of the method for resolving the home-realm-free linear analog-to-digital collision in the digital-to-analog hybrid simulation according to the present invention.

Fig. 6 is a schematic diagram illustrating an implementation of the method for resolving the home-realm-free linear analog-to-digital collision in the digital-to-analog hybrid simulation according to the present invention.

Fig. 7 is a schematic diagram illustrating an implementation of the method for resolving the home-realm-free linear analog-to-digital collision in the digital-to-analog hybrid simulation according to the present invention.

Fig. 8 is a schematic diagram illustrating an implementation of the method for resolving the home-realm-free linear analog-to-digital collision in the digital-to-analog hybrid simulation according to the present invention.

Fig. 9 is a schematic diagram illustrating an implementation of the method for resolving the home-realm-free linear analog-to-digital collision in the digital-to-analog hybrid simulation according to the present invention.

Detailed Description

The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.

Example one

The following first describes a method for solving the non-home-domain linear analog-digital conflict in the digital-analog hybrid simulation disclosed in the embodiment of the present invention in detail.

Referring to fig. 1, the present embodiment provides a method for resolving a non-home domain linear analog-digital conflict in a digital-analog hybrid simulation, which includes the following steps.

Step 100: defining digital domain, analog domain, digital domain linear type, analog domain linear type, non-home domain linear type and digital-to-analog conversion prototype.

Illustratively, digital-to-analog conversion prototypes include digital-to-analog prototypes, analog-to-digital prototypes, and bidirectional prototypes.

Step 200: and inserting the digital-to-analog conversion prototype into the domain conflict boundary, and determining that the non-attribution domain line type is attributed to the digital domain line type.

Illustratively, the domain conflict boundaries include a first domain conflict boundary and a second domain conflict boundary. The domain conflict boundary refers to a boundary where the analog domain conflicts with the digital domain.

Step 300: during simulation operation, firstly, simulation operation is carried out on the digital domain line type, and then simulation operation is carried out on the analog domain line type.

In the simulation operation, a bottom-up traversal operation is adopted, a logical rule is adopted for the digital domain line type to perform the simulation operation, and an electrical rule is adopted for the analog domain line type to perform the simulation operation.

In the above step 200, determining that the non-home-domain linear type belongs to the digital-domain linear type includes inserting a digital-to-analog prototype, an analog-to-digital prototype, and a bidirectional prototype into the first domain conflict boundary, and determining that the non-home-domain linear type partially belongs to the digital-domain linear type; further, determining that the non-home-domain line type is attributed to the digital-domain line type further includes inserting a digital-to-analog prototype, an analog-to-digital prototype, and a bidirectional prototype at the second domain conflict boundary, determining that the non-home-domain line type is entirely attributed to the digital-domain line type.

Compared with the prior art that simulation operation is carried out by mainly using analog simulation and following electrical rules, the method has the advantages that the unaffiliated domain line type is attributed to the digital domain line type, the digital simulation is mainly used for following the logical rules to carry out simulation operation, the operation amount is small, the time consumption of digital-analog hybrid simulation is short, the overall simulation efficiency of the digital-analog hybrid simulation is greatly improved, and the method is particularly suitable for the requirement of the modern large-scale SOC development which mainly uses a digital integrated circuit.

The method for solving the non-home domain linear analog-digital conflict in the digital-analog hybrid simulation provided by the invention is simplified.

As shown in fig. 2, the simulation method adopted by the present invention is a bottom-up traversal algorithm, and in the process of adopting electrical rule operation in the analog domain and logical rule operation in the digital domain, the logical rule operation in the digital domain is mainly performed at the first domain conflict boundary (i.e. the operation process is the first step line 4, the line 5, the line 6, the second step line 2, the line 3, and the third step line 1), and the digital-to-analog prototype, the analog-to-digital prototype, and the bidirectional conversion prototype are inserted at the first domain conflict boundary, so as to determine that the line type 1 and the line 2 without attribution are attributed to the digital domain line type, and the line 3 is attributed to the analog domain line type.

Further, as shown in fig. 3, in the digital-analog hybrid simulation, the logic rule operation continues to be extended downward to the second domain conflict boundary, the deeper digital is used as the main part to solve the digital-analog hybrid conflict, the digital-analog prototype, the analog-digital prototype and the bidirectional prototype are inserted into the second domain conflict boundary, and it is determined that all the line type 1, the line 2 and the line 3 of the non-attributive domain are attributed to the digital domain line type.

The following describes in detail a method for resolving a home domain-free linear analog-digital conflict in digital-analog hybrid simulation, taking a system formed by a voltage comparator and a counter as an example.

As shown in fig. 4 and 5, the comparator is an analog terminal, the counter is a digital terminal, the logic rule operation in the digital-analog hybrid simulation is close to the analog terminal, the comparator is to an analog-to-digital prototype, the line from R1 to the analog-to-digital prototype is classified into an analog domain, and the line from the analog-to-digital prototype to the counter is classified into a digital domain, so as to implement the functions shown in fig. 2. Further, as shown in fig. 6 and 7, the logic rule operation in the digital-analog hybrid simulation is inserted into the analog terminal, that is, the voltage comparator is used, so that the voltage comparator can be closer to the analog module, more deeply digital is used as the main part to solve the digital-analog hybrid conflict, and the line from the analog to digital prototype to the counter is reduced to the digital domain, so as to implement the function shown in fig. 3.

Two comparators with unidirectional transmission are combined into a bidirectional transmission comparator, and form a system as shown in fig. 8 with a programmable logic device, in a bidirectional conversion prototype, the logic rule operation in digital-analog hybrid simulation can be similarly close to an analog end to solve linear conflict, a line from the bidirectional prototype to the comparator is reduced into a digital domain to realize the function as shown in fig. 2, further, as shown in fig. 9, the logic rule operation is continuously extended downwards to the boundary of the analog domain, and a line from the bidirectional prototype to the comparator is reduced into the digital domain to realize the function as shown in fig. 3.

Example two

The device for solving the non-home-domain linear analog-digital conflict in the digital-analog hybrid simulation disclosed by the second embodiment of the invention is introduced below, and the device for solving the non-home-domain linear analog-digital conflict in the digital-analog hybrid simulation described below and the method for solving the non-home-domain linear analog-digital conflict in the digital-analog hybrid simulation described above can be referred to correspondingly.

The embodiment two of the invention discloses a device for solving the linear analog-digital conflict of the non-home domain in the digital-analog hybrid simulation, which specifically comprises the following modules.

The definition module is used for defining a digital domain, an analog domain, a digital domain linear type, an analog domain linear type, a non-home domain linear type and a digital-to-analog conversion prototype;

the non-attribution domain line type determining module is used for inserting the digital-to-analog conversion prototype into a domain conflict boundary and determining that the non-attribution domain line type is attributed to a digital domain line type;

and the simulation operation module is used for firstly performing simulation operation on the digital domain line type and then performing simulation operation on the analog domain line type during simulation operation.

The apparatus for resolving a non-home-domain linear modulus conflict in digital-analog hybrid simulation of this embodiment is used to implement the foregoing method for resolving a non-home-domain linear modulus conflict in digital-analog hybrid simulation, and therefore a specific implementation of the apparatus can be found in the foregoing embodiment section of the method for resolving a non-home-domain linear modulus conflict in digital-analog hybrid simulation, and therefore, the specific implementation thereof may refer to the description of the corresponding section embodiments, and is not described herein again.

In addition, since the apparatus for solving the unaffiliated domain linear analog-to-digital conflict in the digital-to-analog hybrid simulation of this embodiment is used to implement the method for solving the unaffiliated domain linear analog-to-digital conflict in the digital-to-analog hybrid simulation, the function corresponds to the function of the method described above, and details are not described here.

As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. 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.

It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications of the invention may be made without departing from the spirit or scope of the invention.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于制造集成电路的热点避免方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类