Skip to main content

Eitri

Learn VHDL by building circuits, not by setting up an FPGA project. Eitri brings a folder-based editor, simulation, waveforms, circuit diagrams, and component hierarchy navigation into one app. If your goal is to understand digital logic or build a small CPU for class, it gives you a focused place to work before you need a full FPGA suite like Vivado.

  • Follow a design from code to signals to gates. Run a testbench, inspect its waveforms, then explore the circuit your VHDL describes.
  • Grow from one component to a CPU. Open a folder, reuse components, and follow their definitions and port maps through an interactive hierarchy diagram.
  • Spend less time repeating setup. Eitri orders project dependencies, includes unsaved edits in runs, and remembers separate simulation and circuit targets. Edit an adder while keeping the CPU testbench selected.
  • Get help where you write. VHDL diagnostics, hover information, definition navigation, and instance insertion sit alongside your code. A resizable assistance panel stays where you put it.

Eitri focuses on learning and experimentation. For FPGA device selection, timing closure, bitstream generation, and programming a board, you still need an FPGA implementation toolchain such as Vivado.

Why Eitri exists

I'm building Eitri as a small, modern VHDL workspace for my school lab assignments.

I wanted to work at home without installing a 30–40 GB Vivado setup full of features I'd never need just to learn VHDL. I couldn't find an alternative that felt both complete enough and modern enough for what I wanted, so I started making my own.

With Eitri, I can write designs and testbenches, reuse components, simulate signals, and see how my code becomes a circuit all in one app. It uses PySide6 for the interface, GHDL for VHDL simulation and synthesis, and Yosys with netlistsvg for circuit diagrams. My focus is learning and experimenting with VHDL, not replacing a complete FPGA implementation toolchain.

A look inside

These screenshots use the included tiny learning CPU. It runs LOAD 1, ADD 2, ADD 3, then HALT, producing a result of 6. Open the example folder to explore it yourself.

Write and connect components

Switch files in the explorer, insert component instances into an architecture, and inspect VHDL diagnostics without leaving the editor. Tab and Shift+Tab work on selected lines; Backspace removes a whole indentation level at four-column stops in leading whitespace.

CPU source with the project explorer and bottom assistance panel

Choose light or dark mode with the sun/moon button. Dock assistance below the editor or on its right, drag the divider to resize it, or hide it. Its position and size are remembered, and switching themes keeps your diagnostics visible.

Light mode with assistance docked beside the editor

Understand the hierarchy

Follow the CPU down through its datapath, ALU, and adder. Select a component to inspect its port map, jump to its definition or instance, or generate its circuit. This diagram shows the structure of your source; use the circuit view to inspect synthesized connections.

Interactive component hierarchy of the learning CPU

Test the behavior

Choose a simulation target and run it independently of the file you're editing. Inspect signals in the built-in waveform viewer, run all testbenches, and follow assertion failures back to source. Export a run with its source snapshot and results when you want to keep or share it.

CPU simulation showing clock, reset, result, and halt signals

Explore the circuit

Simple keeps component boundaries and inferred memories readable. Expand individual components when you want to look inside.

Simple CPU circuit with component boundaries preserved

Detailed expands the hierarchy and inferred memories, and shows multiplexers as AND, OR, and NOT logic. Arithmetic and registers can retain their own symbols; this is an educational circuit view, not a physical FPGA layout. Larger designs are easier to study one component at a time—here is the ALU.

Detailed circuit of the learning CPU's ALU

Install and open a project

Eitri is available on PyPI as eitri-hdl. It supports Python 3.12–3.15, with packaged builds for Windows x64, Linux x64, and macOS Apple Silicon. The compiler, simulator, language server, and circuit-generation tools are included or installed as dependencies; you do not need a separate Vivado installation.

A virtual environment keeps the installation separate from your other Python tools:

python -m venv .venv

Activate it with source .venv/bin/activate on macOS/Linux, or .venv\Scripts\Activate.ps1 in Windows PowerShell, then install:

python -m pip install --upgrade eitri-hdl

Launch a blank workspace or open a folder directly:

eitri                     # Start blank; choose Open folder…
eitri .                   # Open your current directory
eitri "/path/to/project"  # Open a specific folder

Activate the environment again when launching from a new terminal. python -m eitri works too. The launcher returns your prompt immediately, and the app keeps running if you close the terminal.

Start by opening a folder containing your VHDL files, or try the learning CPU walkthrough. Choose a simulation target for a testbench and a circuit target for a design. Clocks, stimulus, and assertions are written in VHDL so you stay in control of what your tests exercise.

For troubleshooting, use eitri --foreground to keep diagnostic output in the terminal. Background logs are saved to ~/Library/Logs/Eitri/eitri.log on macOS, %LOCALAPPDATA%/Eitri/eitri.log on Windows, or ${XDG_STATE_HOME:-~/.local/state}/Eitri/eitri.log on Linux. The built-in waveform viewer needs no external application; opening a waveform in GTKWave requires a separate GTKWave installation.

Editor guide · Simulation and circuit tools · What's new in 0.4.0 · License

Contributing

See the contributor guide for the UI module map and signal flow, and the development guide for setup. Bug reports that include a small VHDL example and the steps to reproduce the problem are especially helpful.

Metadata

Release files for eitri-hdl 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for eitri-hdl 0.4.0
File Interpreter ABI Platform Actions
eitri_hdl-0.4.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for eitri_hdl-0.4.0-py3-none-win_amd64.whl
eitri_hdl-0.4.0-py3-none-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64, Linux glibc 2.35+ x86-64 Details for eitri_hdl-0.4.0-py3-none-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
eitri_hdl-0.4.0-py3-none-macosx_15_0_arm64.whl Python 3 none macOS 15.0+ ARM64 Details for eitri_hdl-0.4.0-py3-none-macosx_15_0_arm64.whl

Total release size: 89.6 MB

Release files / eitri_hdl-0.4.0-py3-none-win_amd64.whl

Download URL eitri_hdl-0.4.0-py3-none-win_amd64.whl
Size 28.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
ba0c8e966d012985c205bf4cb9c8e963bfbf7c5cd3a0717492477b560e2f95d3
BLAKE2b-256 checksum
How to use checksums
5c8d43201f3065f86f9a00a69a4fbee40f85eba24665528d02a7570127c67174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / eitri_hdl-0.4.0-py3-none-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl

Download URL eitri_hdl-0.4.0-py3-none-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
Size 27.8 MB
Tags Linux glibc 2.34+ x86-64 Linux glibc 2.35+ x86-64 Python 3
SHA-256 checksum
How to use checksums
daf58475a8fe4578fff105805e7b2a27d0bc000dfba0ed08da32c0b8b14dc9f2
BLAKE2b-256 checksum
How to use checksums
fae5b8089a639a0dbe4c21a4f1cd9c2d77087e84827f3639b8714a9943914c48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / eitri_hdl-0.4.0-py3-none-macosx_15_0_arm64.whl

Download URL eitri_hdl-0.4.0-py3-none-macosx_15_0_arm64.whl
Size 33.1 MB
Tags Python 3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
ca2e9a900d5911865f292da27a1f06828fd4fe7697775d367b64c29d3666fb0a
BLAKE2b-256 checksum
How to use checksums
ec0812c82beccba0bd23dc6dc3aedfb862dcd3fc6c3d733961a9b3d30639e0c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for eitri-hdl 0.4.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.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for eitri_hdl-0.4.0-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page