|
10 | 10 | "import os, sys, pathlib, ipynbname, glob, shutil\n",
|
11 | 11 | "import ansys.edb\n",
|
12 | 12 | "\n",
|
13 |
| - "from ansys.edb.core.database import *\n", |
14 |
| - "from ansys.edb.core.definition import *\n", |
15 |
| - "from ansys.edb.core.geometry import *\n", |
16 |
| - "from ansys.edb.core.hierarchy import *\n", |
17 |
| - "from ansys.edb.core.layer import *\n", |
18 |
| - "from ansys.edb.core.layout import *\n", |
19 |
| - "from ansys.edb.core.layout_instance import *\n", |
20 |
| - "from ansys.edb.core.net import *\n", |
21 |
| - "from ansys.edb.core.primitive import *\n", |
22 |
| - "from ansys.edb.core.simulation_setup import *\n", |
23 |
| - "from ansys.edb.core.terminal import *\n", |
24 |
| - "from ansys.edb.core.utility import *\n", |
| 13 | + "from ansys.edb.core.database import Database\n", |
| 14 | + "\n", |
| 15 | + "\"\"\"Import definition classes.\"\"\"\n", |
| 16 | + "\n", |
| 17 | + "from ansys.edb.core.definition.bondwire_def import (\n", |
| 18 | + " ApdBondwireDef,\n", |
| 19 | + " BondwireDef,\n", |
| 20 | + " BondwireDefType,\n", |
| 21 | + " Jedec4BondwireDef,\n", |
| 22 | + " Jedec5BondwireDef,\n", |
| 23 | + ")\n", |
| 24 | + "from ansys.edb.core.definition.component_def import ComponentDef\n", |
| 25 | + "from ansys.edb.core.definition.component_model import (\n", |
| 26 | + " ComponentModel,\n", |
| 27 | + " DynamicLinkComponentModel,\n", |
| 28 | + " NPortComponentModel,\n", |
| 29 | + ")\n", |
| 30 | + "from ansys.edb.core.definition.component_pin import ComponentPin\n", |
| 31 | + "from ansys.edb.core.definition.component_property import ComponentProperty\n", |
| 32 | + "from ansys.edb.core.definition.dataset_def import DatasetDef\n", |
| 33 | + "from ansys.edb.core.definition.debye_model import DebyeModel\n", |
| 34 | + "from ansys.edb.core.definition.die_property import DieOrientation, DieProperty, DieType\n", |
| 35 | + "from ansys.edb.core.definition.dielectric_material_model import (\n", |
| 36 | + " DielectricMaterialModel,\n", |
| 37 | + " DielectricMaterialModelType,\n", |
| 38 | + ")\n", |
| 39 | + "from ansys.edb.core.definition.djordjecvic_sarkar_model import DjordjecvicSarkarModel\n", |
| 40 | + "from ansys.edb.core.definition.ic_component_property import ICComponentProperty\n", |
| 41 | + "from ansys.edb.core.definition.io_component_property import IOComponentProperty\n", |
| 42 | + "from ansys.edb.core.definition.material_def import MaterialDef, MaterialProperty, ThermalModifier\n", |
| 43 | + "from ansys.edb.core.definition.material_property_thermal_modifier import (\n", |
| 44 | + " MaterialPropertyThermalModifier,\n", |
| 45 | + ")\n", |
| 46 | + "from ansys.edb.core.definition.multipole_debye_model import MultipoleDebyeModel\n", |
| 47 | + "from ansys.edb.core.definition.package_def import PackageDef\n", |
| 48 | + "from ansys.edb.core.definition.padstack_def import PadstackDef\n", |
| 49 | + "from ansys.edb.core.definition.padstack_def_data import (\n", |
| 50 | + " PadGeometryType,\n", |
| 51 | + " PadstackDefData,\n", |
| 52 | + " PadstackHoleRange,\n", |
| 53 | + " PadType,\n", |
| 54 | + " SolderballPlacement,\n", |
| 55 | + " SolderballShape,\n", |
| 56 | + ")\n", |
| 57 | + "from ansys.edb.core.definition.port_property import PortProperty\n", |
| 58 | + "from ansys.edb.core.definition.rlc_component_property import RLCComponentProperty\n", |
| 59 | + "from ansys.edb.core.definition.solder_ball_property import SolderBallProperty\n", |
| 60 | + "from ansys.edb.core.edb_defs import DefinitionObjType\n", |
| 61 | + "\n", |
| 62 | + "\"\"\"Import geometry classes.\"\"\"\n", |
| 63 | + "\n", |
| 64 | + "from ansys.edb.core.geometry.arc_data import ArcData\n", |
| 65 | + "from ansys.edb.core.geometry.point3d_data import Point3DData\n", |
| 66 | + "from ansys.edb.core.geometry.point_data import PointData\n", |
| 67 | + "from ansys.edb.core.geometry.polygon_data import ExtentType, PolygonData, PolygonSenseType\n", |
| 68 | + "from ansys.edb.core.geometry.r_tree import RTree\n", |
| 69 | + "from ansys.edb.core.geometry.triangle3d_data import Triangle3DData\n", |
| 70 | + "\n", |
| 71 | + "\"\"\"Import hierarchy classes.\"\"\"\n", |
| 72 | + "\n", |
| 73 | + "from ansys.edb.core.hierarchy.cell_instance import CellInstance\n", |
| 74 | + "from ansys.edb.core.hierarchy.component_group import ComponentGroup, ComponentType\n", |
| 75 | + "from ansys.edb.core.hierarchy.group import Group\n", |
| 76 | + "from ansys.edb.core.hierarchy.inst_array import InstArray\n", |
| 77 | + "from ansys.edb.core.hierarchy.model import Model\n", |
| 78 | + "from ansys.edb.core.hierarchy.netlist_model import NetlistModel\n", |
| 79 | + "from ansys.edb.core.hierarchy.pin_group import PinGroup\n", |
| 80 | + "from ansys.edb.core.hierarchy.pin_pair_model import PinPairModel\n", |
| 81 | + "from ansys.edb.core.hierarchy.sparameter_model import SParameterModel\n", |
| 82 | + "from ansys.edb.core.hierarchy.spice_model import SPICEModel\n", |
| 83 | + "from ansys.edb.core.hierarchy.structure3d import MeshClosure, Structure3D\n", |
| 84 | + "from ansys.edb.core.hierarchy.via_group import ViaGroup\n", |
| 85 | + "\n", |
| 86 | + "\"\"\"Import layer classes.\"\"\"\n", |
| 87 | + "\n", |
| 88 | + "from ansys.edb.core.layer.layer import (\n", |
| 89 | + " DrawOverride,\n", |
| 90 | + " Layer,\n", |
| 91 | + " LayerType,\n", |
| 92 | + " LayerVisibility,\n", |
| 93 | + " TopBottomAssociation,\n", |
| 94 | + ")\n", |
| 95 | + "from ansys.edb.core.layer.layer_collection import (\n", |
| 96 | + " DielectricMergingMethod,\n", |
| 97 | + " LayerCollection,\n", |
| 98 | + " LayerCollectionMode,\n", |
| 99 | + " LayerTypeSet,\n", |
| 100 | + ")\n", |
| 101 | + "from ansys.edb.core.layer.stackup_layer import DCThicknessType, RoughnessRegion, StackupLayer\n", |
| 102 | + "from ansys.edb.core.layer.via_layer import ViaLayer\n", |
| 103 | + "\n", |
| 104 | + "\"\"\"Import layout classes.\"\"\"\n", |
| 105 | + "\n", |
| 106 | + "from ansys.edb.core.layout.cell import Cell, CellType, DesignMode\n", |
| 107 | + "from ansys.edb.core.layout.layout import Layout\n", |
| 108 | + "from ansys.edb.core.layout.mcad_model import McadModel\n", |
| 109 | + "from ansys.edb.core.layout.voltage_regulator import PowerModule, VoltageRegulator\n", |
| 110 | + "\n", |
| 111 | + "\"\"\"Import layout instance classes.\"\"\"\n", |
| 112 | + "\n", |
| 113 | + "from ansys.edb.core.layout_instance.layout_instance import LayoutInstance\n", |
| 114 | + "from ansys.edb.core.layout_instance.layout_instance_context import LayoutInstanceContext\n", |
| 115 | + "from ansys.edb.core.layout_instance.layout_obj_instance import LayoutObjInstance\n", |
| 116 | + "from ansys.edb.core.layout_instance.layout_obj_instance_2d_geometry import (\n", |
| 117 | + " LayoutObjInstance2DGeometry,\n", |
| 118 | + ")\n", |
| 119 | + "from ansys.edb.core.layout_instance.layout_obj_instance_3d_geometry import (\n", |
| 120 | + " LayoutObjInstance3DGeometry,\n", |
| 121 | + ")\n", |
| 122 | + "from ansys.edb.core.layout_instance.layout_obj_instance_geometry import LayoutObjInstanceGeometry\n", |
| 123 | + "\n", |
| 124 | + "\"\"\"Import net classes.\"\"\"\n", |
| 125 | + "\n", |
| 126 | + "from ansys.edb.core.net.differential_pair import DifferentialPair\n", |
| 127 | + "from ansys.edb.core.net.extended_net import ExtendedNet\n", |
| 128 | + "from ansys.edb.core.net.net import Net\n", |
| 129 | + "from ansys.edb.core.net.net_class import NetClass\n", |
| 130 | + "\n", |
| 131 | + "\"\"\"Import primitive classes.\"\"\"\n", |
| 132 | + "\n", |
| 133 | + "from ansys.edb.core.primitive.primitive import (\n", |
| 134 | + " BackDrillType,\n", |
| 135 | + " BoardBendDef,\n", |
| 136 | + " Bondwire,\n", |
| 137 | + " BondwireCrossSectionType,\n", |
| 138 | + " BondwireType,\n", |
| 139 | + " Circle,\n", |
| 140 | + " PadstackInstance,\n", |
| 141 | + " Path,\n", |
| 142 | + " PathCornerType,\n", |
| 143 | + " PathEndCapType,\n", |
| 144 | + " Polygon,\n", |
| 145 | + " Primitive,\n", |
| 146 | + " PrimitiveType,\n", |
| 147 | + " Rectangle,\n", |
| 148 | + " RectangleRepresentationType,\n", |
| 149 | + " Text,\n", |
| 150 | + ")\n", |
| 151 | + "\n", |
| 152 | + "\"\"\"Import simulation setup classes.\"\"\"\n", |
| 153 | + "\n", |
| 154 | + "from ansys.edb.core.simulation_setup.adaptive_solutions import (\n", |
| 155 | + " AdaptiveFrequency,\n", |
| 156 | + " BroadbandAdaptiveSolution,\n", |
| 157 | + " MatrixConvergenceData,\n", |
| 158 | + " MatrixConvergenceDataEntry,\n", |
| 159 | + " MultiFrequencyAdaptiveSolution,\n", |
| 160 | + " SingleFrequencyAdaptiveSolution,\n", |
| 161 | + ")\n", |
| 162 | + "from ansys.edb.core.simulation_setup.hfss_simulation_settings import (\n", |
| 163 | + " AdaptType,\n", |
| 164 | + " BasisFunctionOrder,\n", |
| 165 | + " HFSSAdvancedMeshingSettings,\n", |
| 166 | + " HFSSAdvancedSettings,\n", |
| 167 | + " HFSSDCRSettings,\n", |
| 168 | + " HFSSGeneralSettings,\n", |
| 169 | + " HFSSSettingsOptions,\n", |
| 170 | + " HFSSSimulationSettings,\n", |
| 171 | + " HFSSSolverSettings,\n", |
| 172 | + " SolverType,\n", |
| 173 | + ")\n", |
| 174 | + "from ansys.edb.core.simulation_setup.hfss_simulation_setup import HfssSimulationSetup\n", |
| 175 | + "from ansys.edb.core.simulation_setup.mesh_operation import (\n", |
| 176 | + " LengthMeshOperation,\n", |
| 177 | + " MeshOperation,\n", |
| 178 | + " SkinDepthMeshOperation,\n", |
| 179 | + ")\n", |
| 180 | + "from ansys.edb.core.simulation_setup.raptor_x_simulation_settings import (\n", |
| 181 | + " RaptorXAdvancedSettings,\n", |
| 182 | + " RaptorXGeneralSettings,\n", |
| 183 | + " RaptorXSimulationSettings,\n", |
| 184 | + ")\n", |
| 185 | + "from ansys.edb.core.simulation_setup.raptor_x_simulation_setup import RaptorXSimulationSetup\n", |
| 186 | + "from ansys.edb.core.simulation_setup.simulation_settings import (\n", |
| 187 | + " AdvancedMeshingSettings,\n", |
| 188 | + " AdvancedSettings,\n", |
| 189 | + " SettingsOptions,\n", |
| 190 | + " SimulationSettings,\n", |
| 191 | + " SolverSettings,\n", |
| 192 | + " ViaStyle,\n", |
| 193 | + ")\n", |
| 194 | + "from ansys.edb.core.simulation_setup.simulation_setup import (\n", |
| 195 | + " FreqSweepType,\n", |
| 196 | + " HFSSRegionComputeResource,\n", |
| 197 | + " InterpolatingSweepData,\n", |
| 198 | + " SimulationSetup,\n", |
| 199 | + " SimulationSetupType,\n", |
| 200 | + " SweepData,\n", |
| 201 | + ")\n", |
| 202 | + "from ansys.edb.core.simulation_setup.siwave_dcir_simulation_settings import (\n", |
| 203 | + " SIWaveDCIRSimulationSettings,\n", |
| 204 | + ")\n", |
| 205 | + "from ansys.edb.core.simulation_setup.siwave_dcir_simulation_setup import SIWaveDCIRSimulationSetup\n", |
| 206 | + "from ansys.edb.core.simulation_setup.siwave_simulation_settings import (\n", |
| 207 | + " SIWaveAdvancedSettings,\n", |
| 208 | + " SIWaveDCAdvancedSettings,\n", |
| 209 | + " SIWaveDCSettings,\n", |
| 210 | + " SIWaveGeneralSettings,\n", |
| 211 | + " SIWaveSimulationSettings,\n", |
| 212 | + " SIWaveSParameterSettings,\n", |
| 213 | + " SParamDCBehavior,\n", |
| 214 | + " SParamExtrapolation,\n", |
| 215 | + " SParamInterpolation,\n", |
| 216 | + ")\n", |
| 217 | + "from ansys.edb.core.simulation_setup.siwave_simulation_setup import SIWaveSimulationSetup\n", |
| 218 | + "\n", |
| 219 | + "\"\"\"Import terminal classes.\"\"\"\n", |
| 220 | + "\n", |
| 221 | + "from ansys.edb.core.terminal.terminals import (\n", |
| 222 | + " BoundaryType,\n", |
| 223 | + " BundleTerminal,\n", |
| 224 | + " Edge,\n", |
| 225 | + " EdgeTerminal,\n", |
| 226 | + " EdgeType,\n", |
| 227 | + " HfssPIType,\n", |
| 228 | + " PadEdge,\n", |
| 229 | + " PadstackInstanceTerminal,\n", |
| 230 | + " PinGroupTerminal,\n", |
| 231 | + " PointTerminal,\n", |
| 232 | + " PrimitiveEdge,\n", |
| 233 | + " SourceTermToGroundType,\n", |
| 234 | + " Terminal,\n", |
| 235 | + " TerminalInstance,\n", |
| 236 | + " TerminalInstanceTerminal,\n", |
| 237 | + " TerminalType,\n", |
| 238 | + ")\n", |
| 239 | + "\n", |
| 240 | + "\"\"\"Import utility classes.\"\"\"\n", |
| 241 | + "\n", |
| 242 | + "from ansys.edb.core.utility.heat_sink import HeatSink\n", |
| 243 | + "from ansys.edb.core.utility.hfss_extent_info import HfssExtentInfo\n", |
| 244 | + "from ansys.edb.core.utility.material_property_thermal_modifier_params import (\n", |
| 245 | + " AdvancedQuadraticParams,\n", |
| 246 | + " BasicQuadraticParams,\n", |
| 247 | + ")\n", |
| 248 | + "from ansys.edb.core.utility.port_post_processing_prop import PortPostProcessingProp\n", |
| 249 | + "from ansys.edb.core.utility.rlc import PinPair, PinPairRlc, Rlc\n", |
| 250 | + "from ansys.edb.core.utility.temperature_settings import TemperatureSettings\n", |
| 251 | + "from ansys.edb.core.utility.transform3d import Transform3D\n", |
| 252 | + "from ansys.edb.core.utility.transform import Transform\n", |
| 253 | + "from ansys.edb.core.utility.value import Value\n", |
| 254 | + "\n", |
25 | 255 | "from ansys.edb.core.session import launch_session"
|
26 | 256 | ]
|
27 | 257 | },
|
|
104 | 334 | " gnd_net = Net.create(layout, 'GND')\n",
|
105 | 335 | " print('clean design created with default db, cell, layout, gnd_net variables.')"
|
106 | 336 | ]
|
| 337 | + }, |
| 338 | + { |
| 339 | + "cell_type": "code", |
| 340 | + "execution_count": null, |
| 341 | + "id": "c7cef147-521a-4d05-be8f-46e00f326420", |
| 342 | + "metadata": {}, |
| 343 | + "outputs": [], |
| 344 | + "source": [] |
107 | 345 | }
|
108 | 346 | ],
|
109 | 347 | "metadata": {},
|
|
0 commit comments