google / google/CFU-Playground
Building using "make -j2 software bitstream" results in an error
- Dominant language
- Verilog
- Stars
- 565
- Forks
- 160
- PR merge metrics
- No merged PRs in 30d
Description
It's not really a bug, but it's not well documented that this doesn't work.
To reproduce in `proj/hps_accel/`, run
```
% make clean
% make -j2 software bitstream
```
The issue is that both targets start by running the LiteX python to generate CSR data and C include files, and currently also compile the base software and BIOS. They do so concurrently in the same locations, so they clobber each other.
If the build were factored correctly, the common LiteX part would be done first, then the bitstream build and software build could continue in parallel. I don't think it's possible to do that with LiteX, though.
The situation may improve after #448 is merged, but I think the `make` command I described will still be dangerous and should be avoided.
Contributor guide
Assessment
This issue has not been assessed yet.