m-labs / misoc

The original high performance and small footprint system-on-chip based on Migen™
https://m-labs.hk
Other
306 stars 85 forks source link

VexRiscv: Add Rust, LLVM support #120

Closed occheung closed 3 years ago

occheung commented 3 years ago

Summary

The patch enables VexRiscv target to build in Rust using the builtin riscv32imac-unknown-none-elf target, while converting the built tools of VexRiscv from binutils to ld.lld and llvm-bintools. The purpose is to support the RISC-V port of ARTIQ.

Detail of changes

VexRiscv target configuration

Changing build tools to ld.lld + llvm-bintools