EDA tool detection, configuration and selection layer.
Project description
Main Goals
- Provide abstract information of where a tool is installed and configured on the local machine.
- Find local EDA tool installations and gather all necessary information in a configuration file.
- Support multiple versions and variants of the same tool.
- In case of multiple tool versions/variants select one default installation.
- Allow switching the default version/variant.
- Allow reading and writing such a configuration file via API.
- Allow reading and writing such a configuration file via CLI.
Features
- Find tool installations:
- at default installation locations (based on operating system).
- in
PATH. - via environment variables.
- Support multiple versions of the same tool.
E.g. Vivado 2018.3, 2021.2 - Support multiple variants of the same tool.
E.g. ModelSim Altera Edition vs. ModelSim SE vs. QuestaSim - Configuring a default version/variant per tool.
Condensed View on ToolInformation Class
from pathlib import Path
from pyTooling.Decorators import export
@export
class ToolInformation:
def __init__(self, installationDirectory: Path, binaryDirectory: Path, version: str = None, edition: str = None): ...
@property
def InstallationDirectory(self) -> Path:
return self._installationDirectory
@property
def BinaryDirectory(self) -> Path:
return self._binaryDirectory
@property
def Version(self) -> str:
return self._version
@property
def Edition(self) -> str:
return self._edition
Examples
from pathlib import Path
from pyEDAA.ToolSetup import Installations
yamlFile = Path("configuration.yml")
installation = Installations(yamlFile)
activeHDL = installation.Aldec.ActiveHDL
activeHDLVersion = activeHDL["10.3"]
print(activeHDLVersion.BinaryDirectory)
Consumers
This layer is used by:
- 🚧 pyEDAA.Workflow
References
Contributors
- Patrick Lehmann (Maintainer)
- Martin Zabel
- Unai Martinez-Corral
- and more...
License
This Python package (source code) is licensed under Apache License 2.0.
The accompanying documentation is licensed under Creative Commons - Attribution 4.0 (CC-BY 4.0).
SPDX-License-Identifier: Apache-2.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyedaa_toolsetup-0.4.3.tar.gz.
File metadata
- Download URL: pyedaa_toolsetup-0.4.3.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c25ec6469fb6fa7b68cf61732b40a76d729d8918aa80246f2028090fde037bea
|
|
| MD5 |
ee199d790334e064c758d37dd36097d9
|
|
| BLAKE2b-256 |
b8d90ca8487448b1349a3c41360e273db2e75c43d5b1e34d7d10ea8aa31f6500
|
File details
Details for the file pyedaa_toolsetup-0.4.3-py3-none-any.whl.
File metadata
- Download URL: pyedaa_toolsetup-0.4.3-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b86ab1eabbe69cab23c38f808bd607c89b018ee6d5a9353c7bfce0c9994617ed
|
|
| MD5 |
484368f0d277eb6c2806c2e825117569
|
|
| BLAKE2b-256 |
6687d6fc44155d88ad3dd2553e31ad5022c46f908c14387638b1b8e725f705ee
|