ADFI Allegro Skill v4.1.5 ADS Import v3.4 Tutorial Reference
ADFI Allegro Skill v4.1.5 ADS Import v3.4 Tutorial Reference
Flow Integration
(Allegro ADFI)
ADFI Tutorial
1 March, 2011
Allegro ADS Design Flow Integration (Allegro ADFI)
ADFI Tutorial
2 March, 2011
Allegro to ADS Flow
ADFI Tutorial
3 March, 2011
What’s New in ADFI version 4.1.5
ADFI Tutorial
4 March, 2011
Software Versions
Installation
• Allegro: configuration script provided to enable „Export To ADS/EMPro‟
– Use 4.1.5 versions for export to ADS 2011 (optimized for ADS 2011.10)
• ADS 2011: import design kit (version 3.4) must be loaded to enable import
into ADS
– This import design kit works also with ADS 2009U1
ADFI Tutorial
5 March, 2011
Installation
Enable the
change directory flag
in the file browser !!!
ADFI Tutorial
6 March, 2011
Installation
• Replay opens Allegro ADFI setup
• Form to specify config preferences
– Local configuration location
• %HOME%/pcbenv or $HOME/pcbenv
– Check boxes for Allegro based tools
• Use general allegro.ilinit when possible
• Flag for apd.ilinit for cdnsip.ilinit
• Enabled when these files exist
• Other field for ilinit files for less common
tools
– Radio button to select ADS integrated
install or Standalone use
• Needs ADS2008 Update2 or later
• Looks for existing HPEESOF_DIR setting
• Standalone will be hidden when Ads is
available
• Standalone needs Python 2.5 or 2.6
• Looks for existing Python in path
ADFI Tutorial
7 March, 2011
Installation
ADFI Tutorial
8 March, 2011
Installation
ADFI Tutorial
9 March, 2011
Installation Tips
Make sure Allegro performance features are available (full scripting interface)
•Lowest tier versions of Allegro, Allegro Viewer and Orcad cannot work with ADFI
Delete the $HOME/pcbenv if you weren‟t using ADFI since ADS 2008U2.
After restart, verify that one and only one
Momentum Allegro Integration (Version n.n.n) is loaded.
The most recent version (Version 4.1.5)
If you see multiple instances, check your allegro.init (and <tool>.ilinit) files!
ADFI Tutorial
10 March, 2011
Installation Tips
Cadence SiP and Package Designer specific setups
ADFI Tutorial
11 March, 2011
Lab Outline
• Allegro Basics
– Is the board ready? Let‟s do some basic checks…
• ADFI Setup
– All the things you thought you didn‟t want to know…
• ADFI Selection
– Let‟s have some fun…
ADFI Tutorial
12 March, 2011
Allegro Basics – Configure Your Allegro UI
Pin down Options, Find and Visibility palettes into the Allegro UI
the tool belt which you really need permanently
ADFI Tutorial
13 March, 2011
Allegro Basics – Class / SubClass
Visibility
• Class/subclasses used in cross-section
will be listed here
• Can be (de)activated by class/subclass
subclasses hierarchy
Options
• Context is linked to the active operation
ADFI Tutorial
14 March, 2011
Allegro Basics – Selection
ADFI Tutorial
15 March, 2011
Allegro Basics – Cross Section
ADFI Tutorial
16 March, 2011
Allegro Basics – Cross Section
ADFI Tutorial
17 March, 2011
Allegro Basics – Cross Section
ADFI Tutorial
18 March, 2011
Allegro Basics – Padstacks
ADFI Tutorial
19 March, 2011
Allegro Basics – Material database
ADFI Tutorial
20 March, 2011
Allegro Basics – Padstack Definition
ADFI Tutorial
21 March, 2011
Allegro Basics – Padstack Definition
ADFI Tutorial
22 March, 2011
Allegro Basics – End Padstack Editing
ADFI Tutorial
23 March, 2011
Allegro Basics – Display Parameters
ADFI Tutorial
24 March, 2011
Allegro Basics – Display Parameters
ADFI Tutorial
25 March, 2011
Allegro Basics – Design Parameters
ADFI Tutorial
26 March, 2011
Allegro Basics – Design Parameters
In this example:
Unit in ADS will be mil with a
resolution of 0.01.
ADFI Tutorial
27 March, 2011
Allegro Basics – Design Parameters
ADFI Tutorial
28 March, 2011
Allegro Basics – Design Parameters
ADFI Tutorial
29 March, 2011
Allegro Basics – Constraint Manager (version 16.x)
ADFI Tutorial
30 March, 2011
Working with Skill and Canvas…
ADFI Tutorial
31 March, 2011
Allegro Basics ADFI Setup is next…
Done…
ADFI Tutorial
32 March, 2011
ADFI Flow
ADFI targets to transfer data targeted at doing an EM simulation. It doesn‟t transfer all
possible database information. If that is your goal, use other standard mechanisms.
The ADFI export setup and selection is tailored towards gathering the relevant information
for setting up an EM simulation.
Invest time in the ADFI selection and export! Go back and adjust the export if necessary. It
can save you significant time later on when performing the EM simulations in ADS.
A typical export takes 3 steps:
• Setup
• Selection
• Export
The simple „Export > All Artwork‟ is not the best option. It is an expensive operation,
provides no control, and exports flat EGS + main substrate only. There is little or no other
Allegro database information passed, e.g. no pins/components/nets. You‟re loosing a
lot of knowledge about the design.
ADFI Tutorial
33 March, 2011
Export To ADS > Setup…
ADFI Tutorial
34 March, 2011
Sample Export Setups
Sample Fine Setting A: use Strips and Vias Sample Medium Setting
Default values: Default values:
Signal viaType asDefined, padType asDefined Signal viaType square, padType square
Ground viaType asDefined, padType asDefined Ground viaType square, padType square
Signal and Ground arcResolution 15 degrees Signal and Ground arcResolution 30 degrees
Convert negative planes to Strip objects
Sample Fine Setting B: use Strips, Slots and Vias Sample Coarse Setting
Default values: Default values:
Signal viaType asDefined, padType asDefined Signal viaType diamond, padType diamond
Ground viaType asDefined, padType asDefined Ground viaType diamond, padType diamond
Signal and Ground arcResolution 15 degrees Signal and Ground arcResolution 45 degrees
Export negative plane objects as Slots Simplify thermal via connections
ADFI Tutorial
35 March, 2011
Sample Export Setups
Sample Board setting using Strips, Slots and Vias Sample setup for export to EMPro
Default values: Default Values:
Signal viaType asDefined, padType asDefined Export mode version 4.0
Ground viaType square, padType asDefined Egs for layout masks and use facetted polygons
Signal and Ground arcResolution 30.0 degrees Ports in EMPro require valid + and - pin setup
Export negative plane objects as Slots Use Strip/Slot/Via representations on negative layers
Simplify thermal reliefs on negative shapes Keep negative layers as slot layers during export
Remove unconnected catch pads No slot contour around design exported
Remove holes not under traces Drop the unconnected pads except on top/bottom layer
Use cutter polygon as board outline boundary Ground vias will be exported as squares
Signal and Ground use 15 degrees arc resolution
ADFI Tutorial
36 March, 2011
Customizing the Export Setups
Options are defined in eemom.option file. Files are read (in order) from:
• $HPEESOF/ial/config default file with full documentation at the end
• $HOME/pcbenv copy eemom.option here and modify as needed
For design specific options, you can also place such file in the directory of a
design, with the name of the design. E.g.
• <name>.eemom for a design <name >.{brd|mcm|sip} file
ADFI Tutorial
37 March, 2011
Option File Sections
ADFI Tutorial
38 March, 2011
Option File Sections – drillProps
ADFI Tutorial
39 March, 2011
Option File Sections – simulationSettings
ADFI Tutorial
40 March, 2011
Option File Sections – simulationSettings (cont.)
This would
become void
ADFI Tutorial
41 March, 2011
Option File Sections – simulationSettings (cont.)
ADFI Tutorial
42 March, 2011
Option File Sections – simulationSettings (cont.)
ADFI Tutorial
43 March, 2011
Option File Sections – simulationSettings (cont.)
ADFI Tutorial
44 March, 2011
Option File Sections – simulationSettings (cont.)
ADFI Tutorial
45 March, 2011
Enough on setup… Let‟s get to the real stuff…
ADFI Tutorial
46 March, 2011
Get some practice…
• Open cds_routed.brd
• Choose „Sample Fine Setting B‟ as
export setup
• Experiment with “CLK<i><+|->” signal
nets, and “VCC”/”GND” RF ground nets
• Upcoming slides bundle tips when
going through the steps.
• Try to add a large net (PCLK) keeping
the cookie cutter
ADFI Tutorial
47 March, 2011
Trace Select Hints
ADFI Tutorial
48 March, 2011
Trace Select Hints
ADFI Tutorial
49 March, 2011
Layer Select Hints
• Export all layers unless there is a clear split of nets in the board.
• Adding infinite layers will cut substrate structure and adjusts via
connectivity
– RF Signal vias are cut one layer before
– RF Ground vias are shorted with the infinite plane
• Making just a sub selection of layers here will cut away pieces of the board
layout and may invalidate the connectivity
ADFI Tutorial
50 March, 2011
Cookie Cutter Hints
ADFI Tutorial
51 March, 2011
Cookie Cutter Hints
ADFI Tutorial
52 March, 2011
Cookie Cutter Hints
ADFI Tutorial
53 March, 2011
Component/Pin Select Hints
ADFI Tutorial
54 March, 2011
Component/Pin Select Hints
ADFI Tutorial
55 March, 2011
Ports Generation Hints
An S-parameter port has a positive and a negative terminal (or reference) . Each terminal connects to
one or more pins. In the absence of a pin connection, the terminal is assumed to be connected to the
reference pin of the S-parameter model.
AutoPlace will generate S-parameter ports from the selected pin list automatically, which is sufficient
for standard cases.
Three flags control the port generation:
• Do not add negative reference pins: In case there is no infinite ground (no negative layer), the standard and
automatic creation of negative reference pins on the RF ground nets is suppressed by enabling this flag.
Tip: Enable this flag when:
– Proper S-parameter port references will be defined once in ADS. Make sure that RF ground pins were added to
the Selected pins so that can serve as reference pins once in ADS.
– You know that an infinite ground will be added in the ADS substrate. In such case, that infinite ground plane will
give a physical meaning to the reference pin of the S-parameter model.
• Combine on discrete: when the two pins of a discrete component are added to Selected pins, a single S-
parameter port will generated from these two pins.
• Start port name with ref. des.: will start the automatic port generation with instance name at start and sort
accordingly
TIP: Port editor in ADS2011.10 is much more advanced. For export to ADS 2011.10 just
create top pins and use the ADS port editor to combine these pins into ports after import.
ADFI Tutorial
56 March, 2011
Ports Generation Hints
You can refine the setup, e.g. combine 2 pins to define a port with a positive and negative
reference pin.
• Delete a port to free up the pin(s)
• Notes:
– Multiple pins can be grouped as positive or negative reference pins of a port.
– Manually create special ports first. This keeps their position at the start of the port list.
– A single pin cannot be used to define multiple S-parameter Ports. E.g. two S-parameters ports
sharing a common reference pin. Not supported in ADS 2009U1 and before by Momentum/FEM .
ADFI Tutorial
57 March, 2011
Flat export without components
Export To ADS/EMPro > Export > Selected
• Export > Selected As… allows you to specify an export file name. Be
careful with special characters in a name EGS importer can rename them
• During the export, Allegro can generate warnings/errors about shape
creation and boolean operations. These can often be ignored.
Errors like „unbound variable‟ or „fprintf wrong type of parameter nil‟ „E-
*Error* ilRplacd: Illegal operation: first argument in static space - (nil)‟
should not be ignored. They are almost always an export problem. When
this occurs, try a slightly different selection or setup setting i.e. (pathType
“mitered” for traces is a common problem)
ADFI Tutorial
58 March, 2011
Flat export without components
Export To ADS/EMPro > Export > Selected
• The export generates multiple files: 4 are used during the import of a flat
export/import
– <name>.ads : import control file
– <name>.slm : substrate stack for Momentum/EMDS
– <name>_a : EGS file with geometries
– <name>_ports.ael : ports definitions
ADFI Tutorial
59 March, 2011
Hierarchical export with selected components
Export To ADS/EMPro > Export > Selected Hierarchy &
Export To ADS/EMPro > Export > To EMPro As …
• Export > Selected Hierarchy As… allows you to specify an export file
name.
• A hierarchical (assembly) design with <name>_adfi is created. That top-
level design contains:
– An instance of the board or package design (similar to the flat export
version)
– Instances of all selected components, including their selected pins, and
parameters attached to them.
– Layout Pins with properties that define the S-parameter Port setup
needed for an EM simulation.
– Transfers Allegro layer colors settings as rgb values. Picked up in the
workspace preferences but not in library because internal EGS import
defines library color mappings and has no public color map interface
ADFI Tutorial
60 March, 2011
Hierarchical export with selected components
Export To ADS/EMPro > Export > Selected Hierarchy &
Export To ADS/EMPro > Export > To EMPro As …
• The export generates one file during a hierarchical export for ADS or export
for EMPro
– <name>.adfi : xml descriptions with hierarchical export
• Still working with ADS 2009U1 but only when using exportMode < 4.2
ADFI Tutorial
61 March, 2011
Finally… Let‟s see what we get into
ADS…
ADFI Tutorial
62 March, 2011
Import into ADS Hints
• When creating an ADS 2011 workspace, not longer needed to use technology
with a length unit that corresponds with the design units in Allegro!
• Not longer a must because importer creates a new
library with the correct units but still a good idea
you should know where to find them in Allegro
ADFI Tutorial
63 March, 2011
Allegro Import Preferences
ADFI Tutorial
64 March, 2011
Layer View Utilities
ADFI Tutorial
65 March, 2011
Import Flat Allegro Layout from .ads file
Adfi > Import Allegro Layout…
• Layers and substrate get loaded. Layer binding is updated, cutter shape is
available on EEM_CUTTER:drawing layer.
• In case of slot layers, auxiliary slot shapes are passed that will support the
conversion of split ground planes from slot to strip.
ADFI Tutorial
66 March, 2011
Split ground planes on negative layers
Allegro negative shield layers keep their cutouts in the plane slots
can export
as slot layer
ADFI Tutorial
67 March, 2011
Ports Hints
ADFI Tutorial
68 March, 2011
Port Hints
ADFI Tutorial
69 March, 2011
ADS Net Explorer (since ADS 2011.10)
ADFI Tutorial
70 March, 2011
Allegro Net View Hints (before ADS 2011.10)
When there is more then 1, bullet will color red. Possible causes:
When Auto Select is enabled, seleced ADS nets (logical interconnect) with
the connected component instances are selected.
ADFI Tutorial
71 March, 2011
Allegro Net View Hints (before ADS 2011.10)
Selection Option
• S-parameter port
– All Allegro pins (= ADS Layout Pins)
connected to the S-parameter port are
selected.
• Layout port
– Allegro pin (= ADS Layout Port) is
selected.
S-parameter
port
ADFI Tutorial
72 March, 2011
Convert between strip and slot layers
ADFI Tutorial
73 March, 2011
Create Cadence IML file from simulation results
ADFI Tutorial
74 March, 2011
Import with hierarchy from .adfi file
Adfi > Import Adfi File…
Import design: Select .adfi or .ads file
•cds_routed_16_adfi:Layout hierarchical
• Import kit will automatically import if a
<exportname>.adfi file exists when .ads is
selected
• Error, warning, info and debug messages
message windows and
in eemAdfiImport.log
• Main top level design <exportname>_adfi
• Board, Package, SiP design
[{brd_|sip_|apd_}]<allegro design>
• Instances of exported components are sub
designs using the reference designator from
Allegro platform
– No reuse with re-occurrence of cmp
– Pins lists can be incomplete
ADFI Tutorial
75 March, 2011
Import with hierarchy from .adfi file (ADS2011.10)
Adfi > Import Adfi File…
Select .adfi or .ads file (cont‟d)
• Figure objects in .adfi files use native
ADS path and primitive polygon
representation including arcs
• Area pins on all component pins
• Parameters and properties are
transferred where available
• Black box or look-alike symbol or R/L/C/D
symbol attached when recognized
• Default schematic for all discrete R/L/C
two pin components with ideal component
connected in schematic
• Import of hierarchical Layout with
Automatic schematic matching schematic possible in
generation during import ADS2011.10
• emSetup created for top level design
ADFI Tutorial
76 March, 2011
Import with hierarchy
ADFI Tutorial
77 March, 2011
Import with hierarchy
ADFI Tutorial
78 March, 2011
Import with hierarchy
ADFI Tutorial
79 March, 2011
Allegro PCB Let‟s have a look at Cadence
Done… SiP…
Allegro Package Designer …
ADFI Tutorial
80 March, 2011
Supported Allegro SPB Versions
ADFI Tutorial
81 March, 2011
SiP Basics – Cross Section
ADFI Tutorial
82 March, 2011
SiP Basics – Rules for cross section
ADFI Tutorial
83 March, 2011
SiP Basics – Die Stack
ADFI Tutorial
84 March, 2011
SiP Basics – Another Cross Section
ADFI Tutorial
85 March, 2011
SiP Basics – Ambiguous Cross Section
• This is flip-chip. IC pads are on TOP layer. In SiP database, die pads are
unconnected… trouble stack!!!
– There must be DIELECTRIC in between.
– Solder bumps must be defined on L1 instead of TOP
• Such stack is typical after import of a version 15.x design into 16
ADFI Tutorial
86 March, 2011
SiP Basics – Wire Bond
ADFI Tutorial
87 March, 2011
SiP Basics – View 3D Model
ADFI Tutorial
88 March, 2011
SiP Basics Next …
Done… The differences between SiP
and Package Designer (APD)
ADFI Tutorial
89 March, 2011
APD Differences – Cross Section
ADFI Tutorial
90 March, 2011
APD Differences – no special module elements
ADFI Tutorial
91 March, 2011
APD & SiP – Common Cross Section Problems
ADFI Tutorial
92 March, 2011
SiP/APD Basics ADFI is next…
Done…
ADFI Tutorial
93 March, 2011
Export to ADS
Setup…
• Nothing different from PCB Editor.
Select Traces…
• Nothing different from PCB Editor, except in the Layer Select tab. See next
slide
Flat Export
• Nothing different from PCB Editor. Wire bonds are exported as polygons on
special unmapped layer. Solder balls are ignored or created on special
unmapped mask layer.
ADFI Tutorial
94 March, 2011
Layer Select
These are not the DIE balls!!!
ADFI Tutorial
95 March, 2011
Component Select
ADFI Tutorial
96 March, 2011
Hierarchical export
ADFI Tutorial
97 March, 2011
And Finally… Let‟s see what we get into
ADS…
ADFI Tutorial
98 March, 2011
ADS – Import into layout
ADFI Tutorial
99 March, 2011
ADS – View the flat layout
ADFI Tutorial
100 March, 2011
ADS – View the hierarchical layout
ADFI Tutorial
101 March, 2011
ADS – Symbol, item def + netlist CB for bondwires
Netlist
ADFI Tutorial
102 March, 2011
ADS – Solder Ball component for BGA pins
ADFI Tutorial
103 March, 2011
ADS – flip chip Dies include bump info from SiP
From nn1_adfi:layout double click on For flip chip components die and bump
DIE5 instance attributes are translated from Cadence
SiP to ADS.
Ex. flip chip die on bottom of package (Not for APD as the info is not there)
ADFI Tutorial
104 March, 2011
THE END…
ADFI Tutorial
105 March, 2011