chipsalliance / playground

chipyard in mill :P
72 stars 34 forks source link

Introduce rocket chip CI in scala #46

Closed ZenithalHourlyRate closed 1 year ago

ZenithalHourlyRate commented 1 year ago

Rocket chip uses a Makefile-based CI test and it uses old rocket-tools as the toolchain, which is hard to bootstrap, understand, upgrade and extend.

Playground instead uses the latest toolchain from arch and nix. Yet, the binaries from riscv-tests can not be compiled by clang. It is observed that we need rocket-tools because we need the binaries from riscv-tests. So instead of submoduling the whole riscv-gnu-toolchain then compiling riscv-tests from source, we can compile it in another repo (with the binary release from riscv-gnu-toolchain) and only download the artifacts in playground, which is simpler and easier to maintain/bootstrap.

The key rationale is that this is a hardware repo so those tools should not be submoduled.

This supersedes #37

TODO

sequencer commented 1 year ago

already did in rc