File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44{
55 pkgs ,
66 pythonEnv ,
7- llvm
7+ llvm ,
88} : let
99 bitstream_path = "build/lowrisc_mocha_chip_mocha_genesys2_0/synth-vivado" ;
1010 bootrom_path = "build/sw/device/bootrom" ;
1515 runtimeInputs = [ pythonEnv llvm pkgs . gnumake pkgs . cmake pkgs . srecord ] ;
1616 text = ''
1717 # Ask fusesoc to evaluate and generate the dependencies list.
18- fusesoc --cores-root=. run --target=synth --setup lowrisc:mocha:chip_mocha_genesys2 1> /dev/null
18+ fusesoc --cores-root=. run --target=synth --setup lowrisc:mocha:chip_mocha_genesys2 1> /dev/null
1919
2020 # Build the bootROM because it's cheap, and copy the vmem to the src to be hashed.
2121 cmake -DCMAKE_BUILD_TYPE=Release -B build/sw -S sw 1> /dev/null
22- cmake --build build/sw --target bootrom 1> /dev/null
22+ cmake --build build/sw --target bootrom 1> /dev/null
2323 cp ${ bootrom_path } /bootrom.vmem ${ bitstream_path }
2424
2525 # Hash the dependency list generated by fusesoc
You can’t perform that action at this time.
0 commit comments