Skip to content

Conversation

donn
Copy link
Member

@donn donn commented Sep 3, 2025

This adds ghdl support for aarch64 platforms via two approaches:

  • Adds the first binary package to nix-eda, ghdl-bin, for both Darwin platforms, patching the pre-built binaries to work in a Nix environment.
  • Switches to ghdl-llvm for all platforms not supported by ghdl-bin, as ghdl-mcode did not support aarch64-linux.
  • Adds a small test suite to yosys-ghdl to make sure it works.

P.S.: The patching code is one of the silliest things I've ever written. I'm surprised it worked.

This adds ghdl support for aarch64 platforms via two approaches:

- Adds the first binary package to nix-eda, `ghdl-bin`, for both Darwin platforms, patching the pre-built binaries to work in a Nix environment.
- Switches to `ghdl-llvm` for all platforms not supported by `ghdl-bin`, as `ghdl-mcode` did not support `aarch64-linux`.
- Adds a small test suite to yosys-ghdl to make sure it works.
@donn donn merged commit 396cbc9 into main Sep 4, 2025
4 checks passed
@mole99 mole99 deleted the donn/ghdl_bin_darwin branch September 4, 2025 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant