Import checkbox specifies which layers to import. ⢠Import layer name will rename a layer. In this case layer 55 will become âBottomâ. Once the design has been ...
15 Layout and Circuit Import Export Operations
Layout design data, in several industry-standard formats, can be imported to and exported from ANSYS Electronics Desktop projects for postprocessing, simulation, and analysis. Importing Layout Design Data Exporting Layout Design Data ANSYS provides support for imported models and libraries as components in the schematic editor, including SPICE components and libraries, IBIS buffer elements, Verilog components, Welements, and X-parameter elements. Frequency-dependent network design data can be imported and used to generate schematic components. Importing Circuit Models The Linear Network Analysis Circuit solver and the field solver tools produce network design data that can be exported for use by other tools. Exporting Network Design Data Design data from Circuit netlist projects can be imported for use by a Circuit project, and a netlist representing a Circuit schematic or netlist project can be exported for future use. Importing and Exporting Netlist Data Solution data can be imported into and exported from ANSYS projects Importing Solution Data
Layout and Circuit Import Export Operations15-1 ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Electronics Desktop Online Help
Importing Layout Design Data
Importing Layout Design Data Design data, in several industry-standard formats, can be imported into ANSYS Electronics Desktop. The topics for this section include: Importing ANF Design Data Importing Files into the Layout Editor Importing Tabular Arrays Direct Import Cadence APD Links ODB++ Translator for Layout Data Board Outlines
Importing ANF Design Data ANSYS Neutral File (ANF) formatted files are typically generated by third party tools or by ANSYS’s “ANSYSLinks” program that translates third-party designs. ANF is a public, neutral file format that allows third party tools to exchange design data with ANSYS products. ANFv2 and ANFv4 are two different public, neutral file formats. An ANFv4 file may contain schematic data, 2D geometry (layout), 3D geometry, and component data, but none of the data is required. A given ANFv4 file may contain just schematic data with no layout data, or may contain just layout data with no schematic data. Note
If material properties are not provided in the ANF file, the required material properties are taken from the Electronics Desktop material library database. These properties may be different from those in the tool used to generate the ANF file.
When geometry is imported from ANF, ports are automatically added, and a subdirectory for the ANF-based project is configured in the Project directory. When ANF-based projects are saved, the Save As dialog always opens, regardless of where the ANF file originated. Electronics Desktop can import both ANFv2 and ANFv4 formatted files. The topics for this section include: Importing ANFV2 Design Data Importing ANFV4 Design Data
15-2 Layout and Circuit Import Export Operations ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Importing Layout Design Data
ANSYS Electronics Desktop Online Help
Importing ANFV2 Design Data 1.
To open an ANFV2-based project, click File>Import>ANF on the top menu bar. The File Open window opens.
2.
Use the Look in field to locate the directory containing the file with the project you want to open. Use the Files of type field to display the files with the ANF format.
3.
Click on the ANF format file in the window to select it, or type its name into the File name
Layout and Circuit Import Export Operations 15-3 ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Electronics Desktop Online Help
Importing Layout Design Data
field. If you choose to open an ANFV2 file, the following dialog opens.
Only nets with a check in the Import column are imported. Pins that belong to nets with a check in the Setup Ports column become ports when imported. The Filter control can be used to choose which nets are shown in the dialog. 4.
When you click OK in the ANFV2 Import Options dialog, the file is imported.
Importing ANFV4 Design Data 1.
To open an ANFV4-based project, click File>Import>ANF on the top menu bar. The File
15-4 Layout and Circuit Import Export Operations ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Importing Layout Design Data
ANSYS Electronics Desktop Online Help
Open window opens.
2.
Use the Look in field to locate the directory containing the file with the project you want to open. Use the Files of type field to display the files with the ANF format.
3.
Click on the ANF format file in the window to select it, or type its name into the File name field.
Layout and Circuit Import Export Operations 15-5 ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Electronics Desktop Online Help
Importing Layout Design Data
4.
Click OK. The ANF Conversions dialog box opens:
5.
The Current ANF (Components) Map panels list the components from the ANF file and any associated models. You can enter the names of a model manually in the Model Name field. The ModelName property for the component will be set to the entry in the Model Name field in the mapping, and the Netlist property will begin with that name instead of the component name.
6.
Update External Component Map saves any mappings you enter manually to a text file. Click Save Map File to open a File Open window. Use the window to browse to the directory where the map file is to reside, then enter the name of the file. The map file is saved with a .mapping extension. The same mapping file should be used for both component and property mappings. After the mapping file has been created, Update External Component Map saves any mappings you enter manually.
7.
The Current ANF (Property) Map panels list the mapping of properties in the ANF file to the properties that will be used when the file is imported. You can enter the mapped name of a property manually in the Model Name field. The name for the property will be set to the entry in the netlist.
8.
Update External Property Map saves any mappings you enter manually to a text file. Click Save Map File to open a File Open window. Use the window to browse to the directory where the map file is to reside, then enter the name of the file. The map file is saved with a .mapping extension. After the mapping file has been created, Update External Component Map saves any mappings you enter manually.
9.
Load Map File opens a File Open window. Use the window to browse to the directory where
15-6 Layout and Circuit Import Export Operations ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Importing Layout Design Data
ANSYS Electronics Desktop Online Help
the map file resides, then select or enter the name of the file. The map file can contain component and/or property mappings, and must have a .mapping extension. The same mapping file should be used for both component and property mappings. 10. The External Component Map panel lists the components that have been read from an external mapping file. The display changes each time the external file is updated from the dialog. 11. The External Property Map panel lists the properties that have been read in from an external mapping file. The display changes each time the external file is updated from the dialog. 12. The Distributed Components panel allows you to specify that imported interconnects will be converted to distributed components if they fall within a minimum coupling distance (specify distance), and to select the nets that will be thus converted. The Planar EM tool will analyze the geometry intact. 13. Click Close. The Planar EM Layout Editor will show the design, and the projects window shows the imported project.
Layout and Circuit Import Export Operations 15-7 ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Electronics Desktop Online Help
Importing Layout Design Data
Importing Files into the Layout Editor Using the File > Import command, you can read the following files directly into the Layout editor.
• • •
SM2 imports will open directly into the active Layout Editor window. EDB, ANF, AutoCAD, GDSII and ODB++ imports will open directly into a new project. Cadence APD/Allegro/SiP, and ANX imports will open directly into a selected project (user chooses to use new design or add to existing one).
Note
For the following, designs are imported with only the top and bottom layer visible: ODB++, Cadence APD/Allegro/SiP,ANFV2.
15-8 Layout and Circuit Import Export Operations ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Importing Layout Design Data
ANSYS Electronics Desktop Online Help
To import a 2D model file: 1.
Start a new Planar EM project to open the Layout Editor.
2.
On the File menu, click Import, then choose the type of file to import from the submenu; the Import File Open window opens.
3.
Use the Look in field to locate the directory containing the file you want to import. Use the Files of type field to display the files with the format you want to import.
4.
Select the 2D model file you want import from the display.
5.
Click Open. A dialog box specific to the requested format appears.
Modification after Import Stackup Options For a detailed description of how to combine .xml files exported from the Layer Stackup dialog.
The topics for this section include: Importing EDB Format Files Importing SM2 Format Files Ijmporting ODB++ into the Layout Editor Importing GDSII Format Files into the Layout Editor Importing DXF and DWG Format Files into the Layout Editor Importing Cadence APD/ALLEGRO/SIP Files into the Layout Editor Layer Mapping Files
Importing EDB Format Files To import an EDB file, select File > Import > EDB which brings up a file open dialog. 1.
Browse to and select a .aedb/layout.def file.
2.
A new project and design will be created around the layout data found in the AEDB database.
3.
There are no import options.
Note
If the database is already referenced by another Electronics Desktop project, the two projects will share the same database. No synchronization is provided for edits made through the independent projects, e.g. if the ports are deleted through one project, then they will be invalid in the other project, and the behavior will be indeterminate.
Layout and Circuit Import Export Operations 15-9 ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Electronics Desktop Online Help
Importing Layout Design Data
Importing SM2 Format Files See the introductory topic Importing Files into the Layout Editor for the initial steps in the process of importing 2D data into the Layout Editor.SM2 is an older ANSYS layout geometry format that is being phased out. After you select a 2D model file to import, the following dialog opens:
The SM2 format supports just one layer per file. Use the radio buttons to select the layer type, then click OK. The file is imported into the active Layout window.
15-10 Layout and Circuit Import Export Operations ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Importing Layout Design Data
ANSYS Electronics Desktop Online Help
Importing GDSII Format Files into the Layout Editor You can initially access the GDSII Import dialog using the File > Import command. For more information, see the introductory topic Importing Files into the Layout Editor. After you select a .gds, .sf or .strm file to import, the following dialog opens.
The dialog is initialized with with layers.
•
Import stackup and options allows you to import information from an xml control file or a layer mapping file into the dialog. Note that the information contained in the control file exported from the Layer Stackup Dialog is not directly usable by the translator if layer names are changed. One can however combine the records for renaming layers with the control file exported from the stackup dialog; for more information see Control File Usage with Renaming. ANSYS Electronics Desktop also supports reading .tech and .layermap files.
•
Export control file will create an xml control file using the information imported to the dialog to the location specified. This file can either be Imported and used through the dialog or used directly with Anstranslator.exe.
Layers Pane
• •
Import checkbox specifies which layers to import. Import layer name will rename a layer. In this case layer 55 will become “Bottom”. Once the design has been imported, this mapping is not maintained internally. In order to retranslate the design with renamed layers, make sure the layer name that is used is the same name speciLayout and Circuit Import Export Operations 15-11
ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Electronics Desktop Online Help
Importing Layout Design Data
fied in the gds file. For more information see Control File Usage with Renaming.
•
Type — The one exception is via. If a layer is selected to be a via layer, all geometry on that layer will be converted to a hole between the sigal layer above and the layer below. ANSYS Electronics Desktop will not import a design if the via layer flag is not set correctly, and you will not be given the choice of such a via in the drop-down list.
Options Pane
•
Use Property Map — When selected, you will be asked to select a .prop file which will then be applied during translation. This is an optional input to Anstranslator.exe and is not stored in the control file. For more information see the Property Mapping File subsection below.
•
Flatten hierarchy — Default is selected, which in general, is the best choice for preparing to simulate. This will make sure that all the component data is moved down and is ready for simulation.
•
Convert via layer polygons to circles — When selected, if via layers are defined, then via layer polygons with more than 10 vertices (whose areas vary less than 10% of their circumscribing circle) will be converted to circles.
Property Mapping File The format for the .txt property mapping file is: If you specify a property mapping file, the GDSII import creates properties with id and object type combinations found in the map file using the property name specified. The import creates properties on id and object type combinations not found in the mapping file with the name STREAM PROPERTY #. Valid objects types are: Dot, Line, Path, Polygon, Rect, Text, ArrayInst, and ScalarInst. If you do not specify a mapping file, the import interprets properties values as a list of properties separated by the property separator character with the form: = For example, height=10, width=20 yields two properties, the first named height with a value of 10, and the second named width with a value of 20. Lines in the file that are blank and lines beginning with the comment character # are ignored.
15-12 Layout and Circuit Import Export Operations ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Importing Layout Design Data
ANSYS Electronics Desktop Online Help
Sample Property Mapping File
#Stream
Object Name
ID
1
Rect
instP11
2
Polygon
poly1
3
Path
sigName
4
Text
pad32
5
Pin
io_term
When you have completed selections on both tabs, click OK on either tab and the file is imported into the active Layout window.
Importing ODB++ into the Layout Editor The ANSYS Electronics Desktop supports importing ODB++ from many platforms. The translator relies on optional information in the EDA data file and component layer files to integrate the manufacturing data into PCB level objects such as Padstacks. If this data is missing the design may not be imported correctly. When first importing a design into the Electronic Desktop, please make note of any error or warning messages; common issues include:
• • • •
Split plane layers have not been poured (generated) Unused interior pads are not output Nets have not been defined or have been "anonymized" away Components lack reference designators or part numbers
Layout and Circuit Import Export Operations 15-13 ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Electronics Desktop Online Help
Importing Layout Design Data
For initially accessing the dialog below see the introductory topic Importing Files into the Layout Editor. After you select a .tgz file or a Windows directory to import, the following dialog opens:
The dialog is initialized with the layers and nets from the imported design. Note that while signal layers can be excluded, they will still be imported if a hole begins or ends on that layer. Excluding layers can speed up both the translation and import into the AnsysElectronicDesktop. Excluding nets can speed up the import of the design into the AnsyEclectronicDesktop and make the design easier to work with.
•
Import stackup and options allows you to import information from an xml control file or a layer mapping file into the dialog. Note that the information contained in the control file exported from the Layer Stackup Dialog. The Edit Layers Dialog is not used by the translator and will be ignored.
•
Export control file will create an xml control file using the information imported to the dialog to the location specified. This file can either be Imported and used through the dialog or used directly with Anstranslator.exe.
Layers Pane
•
Import checkbox specifies which layers to import. Note that while signal layers can be excluded they will always be imported if the signal layer is at the top or bottom of a hole (padstack).
•
Import Layer Name will rename a layer. Note that all layers including drawing layers can be renamed. Once imported into the Electronics Desktop this mapping will be lost and you will need to refer to these layers by their new name.
•
Type is set based on properties in the ODB++ file and can be changed if needed.
Nets Pane
•
Import checkbox specifies which nets to import. Make sure Dummy is checked if you
15-14 Layout and Circuit Import Export Operations ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Importing Layout Design Data
ANSYS Electronics Desktop Online Help
want to import the metal not assigned to a specific net.
•
Setup Ports will automatically create ports on the nets to be imported when checked.
Options Pane
•
Flatten Hierarchy should usually be selected. This will make sure that all the component data is moved down and is ready for simulation.
Control File Usage Importing a control file into the dialog will preserve not only the layer settings but also the Component property section of the .xml file. This means that if you import the following control file C28 will have a value of 4.7nF. For details on the TypeMap see ODB++ Control File Part Mapping.
Layout and Circuit Import Export Operations 15-15 ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Electronics Desktop Online Help
Importing Layout Design Data
Importing DXF and DWG Format Files into the Layout Editor The ANSYS Electronics Desktop AutoCAD import supports AutoCAD version 2.5 through AutoCAD 2013. See the introductory topic Importing Files into the Layout Editor for the initial steps in the process of importing 2D data into the Layout Editor. After you select a 2D model file to import, the following dialog opens:
The dialog is initialized with the layers from the imported AutoCAD file.
•
Import stackup and options allows you to import information from an xml control file or a layer mapping file into the dialog.
•
Export control file will create an xml control file using the information imported to the dialog to the location specified.
Layers Pane
• • •
File Layer Name is name of layer as stored in the dxf or dwg file. Import checkbox specifies which layers to import. Import layer name is the name of the new layer.Note that the information contained in the control file exported from the Layer Stackup Dialog is not directly usable by the translator if
15-16 Layout and Circuit Import Export Operations ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Importing Layout Design Data
ANSYS Electronics Desktop Online Help
layer names are changed. One can however combine the records for renaming layers with the control file exported from the stackup dialog; for more information see Control File Usage with Renaming. The Electronics Desktop also supports reading .tech and .layermap files.
•
Type can be changed and identifies the layer type that will be used to place each layer in the file.
Options Pane
•
Use Override AutoCAD file units and the Units pulldown to select the units to be used to interpret the DXF/DWG file contents.
Objects Pane
•
Use the check boxes to fine-tune the import: — Auto detect closure causes polylines to be checked to see whether or not they are closed. If a polyline is closed, the Electronics Desktop creates a polygon in the design. — Self stitch causes multiple straight line segments to be joined to form polylines. Tolerance is used to decide if two coordinates are the "same" and should be considered for joining. If the resulting polyline is closed, a polygon is created in the Electronics Desktop. You have the choice of two different tolerances for self stitching: Default Tolerance and explicit Tolerance. Default tolerance is a geometric tolerance based on the extents of the project being imported. Explicit tolerance allows you to expand the tolerance based on your knowledge of the dxf project being imported. — Defeature removes certain small features in the imported geometry to reduce complexity. The features that are removed include multiple points placed within the specified distance, thin or narrow regions (“thins” and “spikes”), and extraneous points along straight line segments. Specify the distance in the Tolerance box. — Round coordinates rounds all imported data to the specified number of decimal places. — Convert closed wide lines to polygons imports wide polylines as polygons. You have more flexibility to change the shape of such an object when it is imported as a polygon.
The following DXF entities can be imported as 2 dimensional objects from AutoCAD:
• • • • • • •
Arc Solid Circle Block Ellipse Array of blocks (MInsert) 2D Polyline, Polyline, and Line Layout and Circuit Import Export Operations 15-17
ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Electronics Desktop Online Help
Importing Layout Design Data
When you have completed selections on both tabs, click OK on either tab and the file is imported into the active Layout window.
Importing Cadence APD/ALLEGRO/SIP Files into the Layout Editor The ANSYS Electronics Desktop supports Extracta Import from Cadence. Note that Extracta.Exe is a Cadence supplied executable and must be installed on your machine and on your executable path for this to work. For initially accessing the dialog below see the introductory topic Importing Files into the Layout Editor. After you select a .brd, .sip or .mcm file to import, the following dialog opens:
The dialog is initialized with the nets from the imported design.
•
Import stackup and options allows you to import information from an xml control file or a layer mapping file into the dialog. Note that the information contained in the control file is exported from the Layer Stackup Dialog.
•
Export control file will create an xml control file using the information imported to the dialog to the location specified. This file can either be Imported and used through the dialog or used directly with Anstranslator.exe.
Nets Pane 15-18 Layout and Circuit Import Export Operations ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Importing Layout Design Data
• •
ANSYS Electronics Desktop Online Help
Import checkbox specifies which nets to import. Setup Ports will automatically create ports on the nets to be imported.
Options Pane
•
Import Dummy Net — Causes all metal on the net named "" to be imported. This is independent of the list of nets.
•
Default Component — When default component is checked, if components come in without resistor, capacitor or inductor types, a default RLC value is set commensurate with the type and a best guess at pin pairing is generated.
•
Import Hatching — Extracta has an option to export plane data, with or without hatching. If this option is checked hatching will be generated.
Control File Usage Importing a control file into the dialog will preserve not only the layer settings but also the Component property section of the .xml file. This means that if you import the following control file, C28 will have a value of 4.7nF. For details on the TypeMap see ODB++ Control File Part Mapping.
Layer Mapping Files Layer mapping files specify the mapping of layers when importing or exporting data with the Electronics Desktop. The imported/exported layer name or number is mapped to a layer in the layout. The layers mapped in the file are those that are to be imported or exported. Opening a layer mapping file from an import or export dialog sets the dialog controls with the contained mapping information. The layout editor supports two formats of layer mapping files .layermap and .tech. The .tech format allows additional layer information to be supplied when importing.
Layout and Circuit Import Export Operations 15-19 ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Electronics Desktop Online Help
Importing Layout Design Data
Layer mapping files are supported with AutoCAD and GDSII import, which also allows for the use of a control file. For more information see Layout and ODB++ Control File. .layermap File Format
• •
No comment character Each layer information entry is specified by a line that contains: — Name of the DXF layer or number of the GDSII layer — Name of the layout layer in the Electronics Desktop (i.e., the name to map the imported layer to)
Example .layermap file for DXF import S12 signal12 TR trace S3 signal3 Example .layermap file for GDSII import 12 signal12 35 trace 3 signal3
.tech File Format
• • •
A forward slash, “/”, is the comment character. Units may be specified with a “UNITS ” entry that precedes the layer information t entries, where “” is any of the allowed desktop length units; the default is “nm”. Each layer information entry is specified by a line that contains the following: — Name of the DXF layer or number of the GDSII layer — Name of the layout layer in the Electronics Desktop (i.e., the name to map the imported layer to) — A color string choice from those provided below via the Layer Colors link. — Double — Double
Example .tech file for DXF import 15-20 Layout and Circuit Import Export Operations ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Importing Layout Design Data
ANSYS Electronics Desktop Online Help
UNITS um / ---------------------------------------------------------------/ import# destination Color Elevation Thickness / ---------------------------------------------------------------S12
signal12
TR
trace
S3
signal3
blue 1100 red
6620
530
530
yellow 8150
2000
Example .tech file for GDSII import UNITS um / ---------------------------------------------------------------/ import# destination Color Elevation Thickness / ---------------------------------------------------------------12 signal12 blue 1100 530 35 trace red 6620 530 3 signal3 yellow 8150 2000
Click on the following Layer Colors link to display a listing of the supported color types and their corresponding RBG values. Layout Editor Layer Colors
Layout and Circuit Import Export Operations 15-21 ANSYS Electromagnetics Suite 16.1 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.