ansys / pyedb

pyedb is a Python library to use the EDB client library.
https://edb.docs.pyansys.com/
MIT License
10 stars 7 forks source link

import_gds_file() function to support technology file in windows #257

Open amichel0205 opened 8 months ago

amichel0205 commented 8 months ago

Description of the feature

Currently import_gds_file() function support GDS file import using technologie and map file only on Linux. With AEDT version 2024R1, techfile and mapfile can be used in AEDT on windows to import GDS file. We should update import_gds_file() function such we can used techfile and mapfile in windows.

Steps for implementing the feature

Allow to use techfile and mapfile to import GDS in windows

Useful links and references

For information recording python script from AEDT does not expose techfile or mapfile as argument.

Below script using anstranslator is working fine:

@echo off

echo launch SIwave

"C:\Program Files\AnsysEM\v241\Win64\anstranslator.exe" "C:\Data\AFT\IMEC\hbm_dqh.gds" "C:\Data\AFT\IMEC\testautomation\hbm_dqh.aedb" -i=GDSII -t="C:\Data\AFT\IMEC\stackup_file_modifiedNR.ircx" -g="C:\Data\AFT\IMEC\imec_v2.map" -v

echo anstranslator running

pause
amichel0205 commented 8 months ago

@svandenb-dev ,

I suggest to create a function import_gds_with_anstrans() using anstranslator (like in import_layout_pcb()) as I don't think we can update the current import_gds_file(). Please let me know if it is ok.

The difference will be that only edb folder wil be created.

If so please assign the issue to me

svandenb-dev commented 8 months ago

@amichel0205 I am good with this approach

gfetsis commented 3 months ago

@svandenb-dev @amichel0205 I have created some code for my own use, which resolve this issue and add two more functionalities.

1)Allows user to also import a layer filter file 2) Optional import of a toml config file which will allow the user to perform gds-xml automation like pre-processing, port and setup creation through a simple syntax.

Since this includes a significant amount of code added through a new method, let me know if the config file feature is of interest, and I can push the code for review. Thanks.