Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions nix/fpga.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ in {
runtimeInputs = [pythonEnv llvm pkgs.gnumake pkgs.cmake pkgs.srecord];
text = ''
# Ask fusesoc to evaluate and generate the dependencies list.
fusesoc --cores-root=. run --target=synth --setup lowrisc:mocha:chip_mocha_genesys2 > /dev/null 2>&1
fusesoc --cores-root=. run --target=synth --setup lowrisc:mocha:chip_mocha_genesys2 1> /dev/null

# Build the bootROM because it's cheap, and copy the vmem to the src to be hashed.
cmake -DCMAKE_BUILD_TYPE=Release -B build/sw -S sw > /dev/null 2>&1
cmake --build build/sw --target bootrom > /dev/null 2>&1
cmake -DCMAKE_BUILD_TYPE=Release -B build/sw -S sw 1> /dev/null
cmake --build build/sw --target bootrom 1> /dev/null
cp ${bootrom_path}/bootrom.vmem ${bitstream_path}

# Hash the dependency list generated by fusesoc
Expand Down