Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: Raptor x simluation setup #378

Merged
merged 35 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
ee23594
ic db
svandenb-dev Mar 17, 2024
b96f505
ic db
svandenb-dev Mar 17, 2024
ed33175
ic db
svandenb-dev Mar 17, 2024
1615c5b
ic db
svandenb-dev Mar 17, 2024
89eb446
switching 24.2
svandenb-dev Mar 19, 2024
c8f41d5
layermap support added
svandenb-dev Mar 26, 2024
59f5618
layermap support added
svandenb-dev Mar 26, 2024
ae31cec
layermap support added
svandenb-dev Apr 2, 2024
32015a2
stackup loading mode
svandenb-dev Apr 8, 2024
bacbfbe
updating all cells
svandenb-dev Apr 15, 2024
788a684
updating all cells
svandenb-dev Apr 15, 2024
e90508f
RaptorXSimulationSettings
svandenb-dev Apr 16, 2024
8e1dca7
RaptorX setup support added
svandenb-dev Apr 16, 2024
9b1c97f
RaptorX setup Frequency sweep added
svandenb-dev Apr 17, 2024
2d58e89
RaptorX setup test added
svandenb-dev Apr 17, 2024
1f49fb7
IC Layout removed
svandenb-dev Apr 17, 2024
98f80eb
conflicts resolved
svandenb-dev Apr 17, 2024
62be9fe
simsetup
svandenb-dev Apr 17, 2024
d375d5e
more files
svandenb-dev Apr 17, 2024
25d8fde
RaptorX setup logger added
svandenb-dev Apr 24, 2024
4ebc593
RaptorX setup logger added
svandenb-dev Apr 24, 2024
246477e
Test AEDT version with RaptorX fix
svandenb-dev Apr 24, 2024
c8a3e34
Test AEDT version with RaptorX fix
svandenb-dev Apr 24, 2024
c5f8d6c
Update src/pyedb/dotnet/edb_core/utilities/simulation_setup.py
svandenb-dev Apr 25, 2024
2499820
Update src/pyedb/dotnet/edb_core/utilities/simulation_setup.py
svandenb-dev Apr 25, 2024
bcdca38
Update tests/legacy/system/conftest.py
svandenb-dev Apr 25, 2024
ed14ea9
Update tests/legacy/system/test_edb.py
svandenb-dev Apr 25, 2024
153b6e1
Update simulation_setup.py
SMoraisAnsys Apr 25, 2024
408d446
Merge branch 'main' into raptor_x_simluation_setup
SMoraisAnsys Apr 25, 2024
200a2cf
MISC: Auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 25, 2024
df79f0a
Merge branch 'main' into raptor_x_simluation_setup
svandenb-dev Apr 25, 2024
3aaf8bc
bug fix
svandenb-dev Apr 25, 2024
852e501
Merge remote-tracking branch 'origin/raptor_x_simluation_setup' into …
svandenb-dev Apr 25, 2024
48f9b3a
RaptorX bug introduced fix
svandenb-dev Apr 25, 2024
65ad34a
RaptorX bug introduced fix
svandenb-dev Apr 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions src/pyedb/dotnet/edb.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
GapPort,
WavePort,
)
from pyedb.dotnet.edb_core.edb_data.raptor_x_simulation_setup_data import (
RaptorXSimulationSetup,
)
from pyedb.dotnet.edb_core.edb_data.simulation_configuration import (
SimulationConfiguration,
)
Expand Down Expand Up @@ -3584,6 +3587,8 @@ def setups(self):
setups[i.GetName()] = SiwaveSYZSimulationSetup(self, i)
elif i.GetType() == self.edb_api.utility.utility.SimulationSetupType.kSIWaveDCIR:
setups[i.GetName()] = SiwaveDCSimulationSetup(self, i)
elif i.GetType() == self.edb_api.utility.utility.SimulationSetupType.kRaptorX:
setups[i.GetName()] = RaptorXSimulationSetup(self, i)
return setups

@property
Expand Down Expand Up @@ -3642,6 +3647,30 @@ def create_hfss_setup(self, name=None):
setup = HfssSimulationSetup(self).create(name)
return setup

def create_raptorx_setup(self, name=None):
"""Create an RaptorX simulation setup from a template.

Parameters
----------
name : str, optional
Setup name.

Returns
-------
:class:`legacy.edb_core.edb_data.raptor_x_simulation_setup_data.RaptorXSimulationSetup`

"""
if name in self.setups:
self.logger.error("Setup name already used in the layout")
return False
version = self.edbversion.split(".")
if int(version[0]) >= 2024 and int(version[-1]) >= 2 or int(version[0]) > 2024:
setup = RaptorXSimulationSetup(self).create(name)
return setup
else:
self.logger.error("RaptorX simulation only supported with Ansys release 2024R2 and higher")
return False

@pyedb_function_handler()
def create_siwave_syz_setup(self, name=None):
"""Create a setup from a template.
Expand Down
Loading