淘宝官方店     推荐课程     在线工具     联系方式     关于我们  
 
 

微波射频仿真设计   Ansoft Designer 中文培训教程   |   HFSS视频培训教程套装

 

Agilent ADS 视频培训教程   |   CST微波工作室视频教程   |   AWR Microwave Office

          首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档


Ansoft Designer / Ansys Designer 在线帮助文档:


Designer File Formats >
   Nexxim Netlist Format >
       Subcircuits >
           Nested Subcircuits               


Nested Subcircuits

A subcircuit definition can contain the definitions of other “nested” subcircuits. A .SUBCKT definition that is nested within another .SUBCKT definition is local to the enclosing subcircuit. Instances of the nested subcircuit can appear only within the scope of the enclosing subcircuit definition. Here is a skeletal example:

.SUBCKT Outer 1 2

* Definition of subcircuit Outer

.SUBCKT Inner 1 2

* Definition of nested subcircuit Inner

.ENDS Inner

X1 3 4 Inner $ Valid subcircuit instance

.ENDS Outer

* Start of top-level circuit

X2 10 20 Outer $ Valid subcircuit instance

X3 30 40 Inner $ Invalid subcircuit instance

.END top-level circuit

In this example, the definition of subcircuit Inner is nested within the definition of subcircuit Outer. Instance X1 is valid since subcircuit Inner is known inside the definition of subcircuit Outer. However, instance X3 is not valid, since subcircuit Inner is not recognized outside of subcircuit Outer.

Note that instances of non-nested subcircuits are valid both inside and outside of subcircuit definitions, as shown in the transmission line example given earlier.




HFSS视频教学培训教程 ADS2011视频培训教程 CST微波工作室教程 Ansoft Designer 教程

                HFSS视频教程                                      ADS视频教程                               CST视频教程                           Ansoft Designer 中文教程


 

      Copyright © 2006 - 2013   微波EDA网, All Rights Reserved    业务联系:mweda@163.com