Skip to main content

Cross EDA Abstraction and Automation

Project description

CI Downloads license versions PyPI

Xeda Logo

Xeda /ˈziːdə/ is a cross-platform, cross-EDA, cross-target simulation and synthesis automation platform. It assists hardware developers in verification, evaluation, and deployment of RTL designs. Xeda supports flows from multiple commercial and open-source electronic design automation suites.

Xeda is the one tool to rule 'em all!

For further details, visit the Xeda's documentations (Work In Progress).

Installation

Python 3.8 or newer is required. To install the latest published version from pypi run:

python3 -m pip install -U xeda

Development

git clone --recursive https://github.com/XedaHQ/xeda.git
cd xeda
python3 -m pip install -U --editable . --config-settings editable_mode=strict

Usage

Run xeda --help to see a list of available commands and options.

Design Description

Xeda design-specific descriptions and settings are organized through project files specified in TOML. Every project contains one or more HDL designs. The default name for the project file is xedaproject.toml.

Sample Xeda design description file:

name = "sqrt"
description = "Iterative computation of square-root of an integer"
language.vhdl.standard = "2008"

[rtl]
sources = ["sqrt.vhdl"]
top = "sqrt"
clock_port = "clk"
parameters = { G_IN_WIDTH = 32 }
# parameters = { G_IN_WIDTH = 32, G_ITERATIVE = true, G_STR= "abcd", G_BITVECTOR="7'b0101001" }

[tb]
sources = ["tb_sqrt.py"]
cocotb = true
# top = "tb_sqrt"  # FIXME

[flows.vivado_synth]
fpga.part = 'xc7a12tcsg325-1'
clock_period = 5.0

Flows

A Tool is an abstraction for an executable which is responsible for one or several steps in an EDA flow. A Tool can be executed as a native binary already installed on the system, in a virtualized container (e.g. docker), or on a remote system. A Flow is a collection of steps performed by one or several tools. A Xeda Flow implements the following methods:

  • init(optional): initializations which need to happen after the instantiation of a Flow instance. At this stage, the flow can specify and customize dependency flows, which will be run before execution of the flow. Seperation of this stage form Python __init__ enables greater flexibility and more effective control over the execution of flows.
  • run: main execution of the flow which includes generation of files, scripts, and tool arguments as well as execution of one or several tools. All dependencies have been already executed before run begins, and the completed dependencies (and their results and artifacts) will be available.
  • parse_results(optional): evaluate and interpret generated reports or other artifacts.

Supported Tools and Flows

  • AMD-Xilinx Vivado Design Suite
    • vivado_synth: FPGA synthesis and implementation.
    • vivado_sim: functional simulation of RTL design
    • vivado_postsynthsim: Post-implementation functional and timing simulation and power analysis
    • vivado_power: Post-implementation power estimation based on post-implementation timing simulation with real-world target testvectors
  • AMD-Xilinx ISE Design Suite
  • GHDL VHDL simulator
    • ghdl_sim
  • Intel Quartus Prime (Lite/Pro Editions):
    • quartus: FPGA synthesis and implementation flow
  • Lattice Diamond
    • diamond_synth: FPGA synthesis and implementation flow
  • Mentor (Siemens) ModelSim
    • modelsim RTL and netlist simulation
  • nextpnr portable FPGA place and route tool
  • openFPGAloader: Open-source and multi-platform universal utility for programming FPGAs. Compatible with many boards, cables and FPGA from major manufacturers.
  • OpenROAD: integrated chip physical design flow that takes a design from RTL sources to routed layout.
  • Synopsys Design Compiler
  • Synopsys VCS simulator
  • Verilator: the fastest (open-source) Verilog/SystemVerilog simulator.
  • Bluespec: Compiler, simulator, and tools for the Bluespec Hardware Description Language.
  • Yosys Open SYnthesis Suite (FPGA and ASICs synthesis)

Run xeda list-flows for the full list of supported flows in the installed version.

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

xeda-0.2.5.tar.gz (51.5 MB view details)

Uploaded Source

Built Distribution

xeda-0.2.5-py3-none-any.whl (52.4 MB view details)

Uploaded Python 3

File details

Details for the file xeda-0.2.5.tar.gz.

File metadata

  • Download URL: xeda-0.2.5.tar.gz
  • Upload date:
  • Size: 51.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for xeda-0.2.5.tar.gz
Algorithm Hash digest
SHA256 19ede9448f4e6017d117ee956f9ddc093cfc3b3ad8a231171f08f0ab45172547
MD5 95011764dc39faffa3f5a9a7c194a2ad
BLAKE2b-256 79a7f9262a27015a43f0d166ff2f895125136658a75e3e15fe056d61777310e2

See more details on using hashes here.

File details

Details for the file xeda-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: xeda-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 52.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for xeda-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 48cc2ee6a5f20bf1d64fe9d0943d994dd8bb7ab6a1b128cc0ecef8690fffb652
MD5 0bc9cfdb54b22f5458bbbb0cfa02fade
BLAKE2b-256 bc3f75404e5a46e8c19782e65fc95049d56cbae09ed90e1b5dd2723416484e43

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page