Provide unified interfaces to execute EDA tools via CLI from Python, agnostic to any specific configuration format/object.
Main Goals
- Provide a pythonic solution to construct command line calls for EDA tools based on pyTooling.CLIAbstraction
- Launch CLI tools and connect to STDIn, STDOUT, STDERR for realtime output post-processing.
Features
- Support multiple native platforms: Linux, macOS, Windows.
- Support nested platforms like MSYS2 with MinGW32, MinGW64, URCT64, Clang64, ...
- Find CLI programs either in
PATHor specify an exact installation location. - Generate CLI options in correct order.
- Generate correctly escaped CLI options.
Supported Tools
- Aldec
- 🚧 Active-HDL
- 🚧 Riviera-PRO
- Altera
- 🚧 Quartus
- 🚫 ModelSim Altera (Student) Edition
- Cadence
- 🙋 need a list of tools
- IntelFPGA
- 🚧 Quartus
- 🚫 ModelSim Altera (Student) Edition
- Lattice
- 🚧 Diamond
- 🚫 Active-HDL Lattice Edition
- 🚫 ModelSim Lattice Edition
- MentorGraphics
- ✅ ModelSim DE/SE/PE
- 🚫 QuestaSim
- SiemensEDA
- 🚫 ModelSim DE/SE/PE
- 🚫 QuestaSim
- Synopsys
- 🙋 need a list of tools
- Xilinx
- 🚧 ISE
- 🚧 Vivado
- 🚫 Vivado-SDK
- 🚫 Vitis
- System Tools
- ✅ Git
- Open Source
- ✅ GHDL
- ✅ GTKWave
- Yosys
- 🙋 need a list of tools
Legend:
✅ → implemented and tested
🚧 → under test
🚫 → planned but not yet implemented ⇒ accepting PRs
🙋 → need help
Examples
from pyEDAA.CLITool.GHDL import GHDL
tool = GHDL()
tool[tool.CommandAnalyze] = True
tool[tool.FlagVHDLStandard] = "08"
tool[tool.FlagSynopsys] = True
tool[tool.FlagRelaxed] = True
tool[tool.FlagExplicit] = True
tool[tool.FlagMultiByteComments] = True
tool[tool.FlagLibrary] = "lib_Test"
print(f"Calling GHDL: {tool}")
# Calling GHDL: "ghdl" "analyze" "--std=08" "-fsynopsys" "-frelaxed" "-fexplicit" "--work=lib_Test" "--mb-comments"
Consumers
This layer is used by:
References
- docs.siliconcompiler.com: Tools directory
- GHDL:
- Paebbels/pyIPCMI: pyIPCMI/Simulator/GHDLSimulator.py
- VUnit/vunit: vunit/sim_if/ghdl.py
- olofk/edalize: edalize/ghdl.py
- im-tomu/fomu-workshop: hdl/mixed/blink/Makefile
- PyFPGA/pyfpga: fpga/tool/openflow.py
- XedaHQ/xeda: xeda/flows/ghdl/init.py
- cocotb/cocotb: cocotb/runner.py (cocotb/cocotb#2634)
- stnolting/neorv32: tasks/examples.py (stnolting/neorv32#110)
- ghdl/ghdl: scripts/vendors/shared.sh
- OSVVM/OSVVM-Scripts: VendorScripts_GHDL.tcl
Contributors
- Patrick Lehmann (Maintainer)
- 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
Metadata
Release files for pyEDAA.CLITool 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyedaa_clitool-0.5.0.tar.gz | 27.7 kB | Without provenance | Details for pyedaa_clitool-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyedaa_clitool-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for pyedaa_clitool-0.5.0-py3-none-any.whl |
Total release size: 66.3 kB
Release files / pyedaa_clitool-0.5.0.tar.gz
| Download URL | pyedaa_clitool-0.5.0.tar.gz |
|---|---|
| Size | 27.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7e4e4278febaca8172a6cd980d2f64048150cdecbb8a2266879d16a65d8fee4
|
|
BLAKE2b-256 checksum How to use checksums |
81f618455d095fe47a9874873acdae04689d7362cedf87e97203b887e4ed4dc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.1
|
Release files / pyedaa_clitool-0.5.0-py3-none-any.whl
| Download URL | pyedaa_clitool-0.5.0-py3-none-any.whl |
|---|---|
| Size | 38.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f03d53057d374508d6969e77d9a724f194fd479bd9b1f7571f0e51132601065
|
|
BLAKE2b-256 checksum How to use checksums |
a9a420ef05a4033f5abef46ebd21928f049b1f32a21270b545a950d028c6f68f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.1
|
Security for pyEDAA.CLITool 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.