You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You will find below a script example on how to convert standard via to µvia.
This is a pyedb script and will create a an HFSS 3D Layout project from an original aedb folder.
Before to run the script ensure the original project is not loaded in AEDT.
PyAEDT version V0.9
or latter need to be used
Copy and paste the script in a file named ConverToMicrovia.py.
# PyAEDT version V0.9 and PyEDB version 0.21 or latter need to be usedfrompyaedtimportHfss3dLayoutimportpyedbimportosimporttoml# Setting of toml configuration file used to set a dictionaryres=toml.load(r'C:\Users\amichel\Desktop\Documents\Ansoft\PersonalLib\configfile_microvia.toml')
# Path to the aedb directory to convertaedbpathin=res['aedb']['aedbpathin']
# Path to where the new aedb directory will be createdaedbpathout=res['aedb']['aedbpathout']
# Name of the aedn directory to convertaedbfilein='PCIE_RX_HFSS_5Ghz_20GHZ.aedb'# Name of the new created aedb directoryaedbfileout='PCIE_RX_HFSS_5Ghz_20GHZ_uvia_45deg.aedb'# List of padstack for which instance via will be converted to micro-viapdsk_list=res['setup']['pdsk_list']
# Hole wall angle from start pad to end padlaser_angle=res['setup']['laser_angle']
# True convert only signal via, False convert signal and GND viaonly_sig_via=res['setup']['only_sig_via']
# Version of AEDT to be usedversion=res['aedt']['version']
# name of the padstack mapped with standard via to convert to µvia# All via instances mapped with padstack name from pdsk_list will be converted,# it is mandatory to enter padstack name in lower case(whatever case is used in AEDT)aedbinput=os.path.join(aedbpathin, aedbfilein)
aedboutput=os.path.join(aedbpathout, aedbfileout)
ifnotos.path.exists(aedboutput):
print("Create a new project with standard via converted to micro-vias")
edb=pyedb.Edb(edbpath=aedbinput, edbversion=version)
edb.save_edb_as(aedboutput)
fork_pdskinpdsk_list:
fork, vinedb.padstacks.definitions.items():
ifk.lower() ==k_pdsk:
v.convert_to_3d_microvias(convert_only_signal_vias=only_sig_via, hole_wall_angle=laser_angle,
delete_padstack_def=False)
print(k, "Converted to microvia")
edb.save_edb()
edb.close_edb()
hfss=Hfss3dLayout(specified_version=version, projectname=aedboutput)
hfss.release_desktop(close_projects=False, close_desktop=False)
else:
print("aedb folder "+aedboutput+" already exist convert micro-via stopped")
This python script will be driven from a toml file named configfile_microvia.toml to be placed in PersonalLib.
toml file below need to be used.
Copy and paste the toml file below in a file named "configfile_microvia.toml" and place it in AEDT PersonalLib(it is mandatory to respect the name and location of toml file)
[aedb]
# Path to the aedb directory to convertaedbpathin = "D:\\Data\\siverse\\uvia"# Path to where the new aedb directory will be createdaedbpathout = "D:\\Data\\siverse\\uvia\\3DVia"# Name of the aedn directory to convertaedbfilein = "PCIE_RX_HFSS_5Ghz_20GHZ.aedb"# Name of the new created aedb directoryaedbfileout = "PCIE_RX_HFSS_5Ghz_20GHZ_uvia_45deg.aedb"
[aedt]
# Version of AEDT to be used "2023.2" for 2023R2, "2024.1" for 2024R1version = "2024.1"
[setup]
# List of padstack for which instance via will be converted to micro-viapdsk_list = ["v40h20-2", "v40h15-3", "v40h15-4"]
# Hole wall angle from start pad to end padlaser_angle = 45# True convert only signal via, False convert signal and GND viaonly_sig_via = true
Ensure last version of PyAEDT is installed ( PyAEDT version V0.9 latter need to be used)
Load AEDT
Click on Tab "Automation"
Click on icon "Extension Manager
"Extension Managaer" window popup. Click on Project
"Project" window popup
In "Extension" select "Custom"(it should be already selected)
In "Enter script path:" enter the full path of the python script you previously copied(eg. C:\Data\pyaedt\scripts\ConvertToMicrovia.py). Ensure no quotes are copied with the path
In "Enter toolkit name:" enter name of the toolkit (eg. "Convert to Uvias")
click "Install"
Close windows "Project" and "Extension Manager"
Click "File Close"
Click "File New"
The new icon "Convert to Uvias" appears
Before to run "Convert to Uvias" script ensure the correct information are set in "configfile_microvia.toml":
Path to the aedb directory to convert
Path to where the new aedb directory will be created
Name of the aedb directory to convert
Name of the new created aedb directory
Version of AEDT to be used "2023.2" for 2023R2, "2024.1" for 2024R1(in the copied toml file 2024.1)
List of padstack for which instance via will be converted to micro-via(all via instance mapped to padstack in the list will be converted)
laser_angle: Hole wall angle from start pad to end pad
only_sig_via: True convert only signal via, False convert signal and GND via
More information on function convert_to_3d_microvias by clicking the link below:
Warning with using function convert_to_3d_microvias:
OverrideHoleDiameter Via property not supported yet: User will have to manually uncheck this option for all standard via converted to >µvia
Using option "convert_only_signal_vias=False" when same padstack definition is mapped to signal_via and non-signal via is not supported. The results is all non signal_via mapped on the padstack used to convert via to µvia will have hole diameter set to 0. This will be corrected in further release of pyaedt.
View of original design:
View of design with via converted to µvia with angle of laser penetration = 15 degrees
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
You will find below a script example on how to convert standard via to µvia.
This is a pyedb script and will create a an HFSS 3D Layout project from an original aedb folder.
Before to run the script ensure the original project is not loaded in AEDT.
PyAEDT version V0.9
or latter need to be used
Copy and paste the script in a file named ConverToMicrovia.py.
This python script will be driven from a toml file named configfile_microvia.toml to be placed in PersonalLib.
toml file below need to be used.
Copy and paste the toml file below in a file named "configfile_microvia.toml" and place it in AEDT PersonalLib(it is mandatory to respect the name and location of toml file)
Unzip the file below in the directory of choice(this can be used to test the script)
PCIE_RX_HFSS_5Ghz_20GHZ.aedb.zip
To run the script:
Before to run "Convert to Uvias" script ensure the correct information are set in "configfile_microvia.toml":
More information on function convert_to_3d_microvias by clicking the link below:
https://aedt.docs.pyansys.com/version/stable/EDBAPI/_autosummary/pyaedt.edb_core.edb_data.padstacks_data.EDBPadstack.convert_to_3d_microvias.html
Caution
Warning with using function convert_to_3d_microvias:
View of original design:
View of design with via converted to µvia with angle of laser penetration = 15 degrees
Beta Was this translation helpful? Give feedback.
All reactions