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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyEDAA.ToolSetup-0.3.0.tar.gz
(18.0 kB
view details)
Built Distribution
File details
Details for the file pyEDAA.ToolSetup-0.3.0.tar.gz
.
File metadata
- Download URL: pyEDAA.ToolSetup-0.3.0.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72c3b71805fc529f5c693bf6a565d3d2022121daded56e26befd959148eb6d92 |
|
MD5 | bfbd8572aa5b2fe7d31e3236d8f0beb3 |
|
BLAKE2b-256 | 73f5e07eea20277d30c6df0371a711a097768f37049b4a53d9a870d5578b9374 |
File details
Details for the file pyEDAA.ToolSetup-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: pyEDAA.ToolSetup-0.3.0-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a2428d91915124ea0a03e12be9b5f8b5fc329a854b5b2e80f405643ad66406d |
|
MD5 | 26f40eb7e21989f8868403e393ef7860 |
|
BLAKE2b-256 | be6eeaefc294c8250e895bf2a6933e2065b7730a9622829cd1597d7f5d389af6 |