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 hashes)
Built Distribution
Close
Hashes for pyEDAA.ToolSetup-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a2428d91915124ea0a03e12be9b5f8b5fc329a854b5b2e80f405643ad66406d |
|
MD5 | 26f40eb7e21989f8868403e393ef7860 |
|
BLAKE2b-256 | be6eeaefc294c8250e895bf2a6933e2065b7730a9622829cd1597d7f5d389af6 |