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

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

 

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

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


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


Nexxim Simulator >
Support for External Models and Interfaces >
   SPICE Library Support >
       SPICE Library Import Procedure           


SPICE Library Import Procedure

To import a SPICE library or one of its components:

1. Select Tools > Import SPICE Components. This opens the Import SPICE File dialog.

2. Use the Files of type menu to select the file type for the SPICE component. You can import a SPICE library (.lib), a SPICE subcircuit definition (.cir, .spc, .sp), or a Spectre-format (.scs).

Note 

Import Spectre. Spectre-format files are case-sensitive.

3. Use the dialog to browse to the directory containing the SPICE components. You can specify the location of the SPICE file by clicking Use Path, PersonalLib, UserLib, or SysLib.

Within the PersonalLib, userlib, or syslib folder, select the file from those listed, or type the name of the file in the File Name box. Note that syslib is reserved for libraries supplied with Designer.

 

Note 

The PersonalLib (personal library) folder is located at <Project Directory>/PersonalLib; the userlib (user library) folder is located at <Installation Directory>/userlib; and the syslib (system library) folder is located at <Installation Directory>/syslib, where <Project Directory> is the location you specified for your Designer projects, and <Installation Directory> is the directory into which Designer was installed during setup.

If you select Use path, type the name of the file in the File Name box, or use the Look in field to navigate to the file and record its name. Note that components or libraries imported with Use Path may not be portable when the project is moved to another machine.

When the In project folder button is selected, references to the file in the design are relative to the directory where the project resides. In this case, the path is saved in the project .asdn file as a variable such as:

.lib '$PROJECTDIR/x_113854.lib'

The variable $PROJECTDIR will be expanded to the current location of the project when the design is converted to a netlist and run by an analysis tool. Otherwise, an absolute path is saved. If you move a project and its library files together to a new directory, you can preserve the file references by selecting the Project Folder option.

4. Click Open in the Import SPICE File dialog to open the Component Import dialog.

The Component Import dialog lists all the SPICE components that are contained within the library.

•  Check a box in the Create Component column for each component you wish to import.

•  Click the Symbol and Footprint column boxes to assign a symbol and footprint to a component.

•  Select OK to import the selected components and thereby display their names in the Project Manager window.

 

Warning 

If the SPICE file has more than 10k characters in its DATA member, the parameter definitions from that file will not be imported. The simulators will get the correct information on the parameters from the .lib or .sp file, but the parameters cannot be overridden on a per-instance basis.

 

Grouped Components

In the Component Import dialog, you can select Group similar components in order to group components that have the same parameter names and values. Require consistent parameter values (enabled only when Group similar components is selected) enforces that every element in the group has the same parameter values, which is the default.

The criteria for grouped components are:

•  Components must be selected for import.

•  Components must have the same number of pins.

•  Models must have the same base model type (cap, bjt, etc).

After selecting Group similar components in the Component Import dialog, the display changes to the following:

•  After grouping, the Name column displays the filename of the component group appended with a group number; you can change this name by typing in the Name column.

•  Multiple groups can be found, but every element of a group must have the same grouping criteria.

•  A group can only be created if it would contain multiple components.

Select OK to import the component group and thereby display its name in the Project Manager window.

After placing the component group in the schematic, the component possesses a special property, VComp, that is displayed in the Properties window. You can use the VComp property to select which model in the group will be used in the schematic:

Clicking the Choose Model button in the Properties window opens a Model List dialog that displays all the models within the group:

You can then select a new model, click OK, and the new model name will be reflected in the Properties window:

5. If you do not select your own symbol for an imported component, a default symbol will be automatically selected. To select your own symbol, click the Symbol button. This opens the Select Definition — Symbols dialog. For more information, see Using the Symbol Editor.

6. If you do not select your own footprint for an imported component, a default symbol will be automatically selected. To select your own footprint, click the Footprint button. If you have encrypted libraries, this opens the Enter Password dialog.

After entering a valid password, or if you do not have encrypted libraries, the next window to open is the Select Definition — Footprints dialog. For more information, see Using the Footprint Editor.

For more information about Ansoft Designer libraries see Creating and Editing Component Libraries.




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

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


 

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