YosysHQ / oss-cad-suite-build

Multi-platform nightly builds of open source digital design and verification tools
ISC License
783 stars 71 forks source link

GHDL and ghdl-yosys-plugin support for darwin-arm64 #120

Closed ChristianJacobsen closed 2 weeks ago

ChristianJacobsen commented 2 weeks ago

I've gone with the LLVM-jit backend for GHDL, as that is the most recently changed one. This can of course be changed if you prefer a different backend.

Either GHDL, the plugin, or both depend on libgnat-14.dylib and libgcc_s.1.1.dylib, so I fetch those from the Alire project's gnat_native toolchain builds. These libraries could be added as a v4 release of @mmicko's macos-resources repo to reduce the download size, but for now they're just pulled down and extracted + copied.

I've tested this on my M1 MacBook Pro running macOS 14.6.1 (23G93), and it can - at the very least - program my Alchitry Cu with an iCE40. It's unfortunately all I have to test with, so if anyone else can verify this I would be very grateful.

mmicko commented 2 weeks ago

Great. Thank you very much for contribution

mmicko commented 2 weeks ago

Have updated README.md https://github.com/YosysHQ/oss-cad-suite-build/commit/30b3e40190513d34625569981868c133a6fc25da

ChristianJacobsen commented 2 weeks ago

Have updated README.md https://github.com/YosysHQ/oss-cad-suite-build/commit/30b3e40190513d34625569981868c133a6fc25da

I should have remembered that. Thanks for fixing!