Closed femsub closed 6 years ago
sorry,and i find the solution. Because i install the official pk in --prefix=$RISCV,and the install the rocc-pk in --prefix=$RISCV/riscv64-unknown-elf. I think when i run "emulator-freechips.rocketchip.system-RoccExampleConfig pk"it will find the official pk instal of the rocc-pk
According to
I run the command "emulator-freechips.rocketchip.system-RoccExampleConfig $RISCV/riscv64-unknown-elf/bin/pk" and it works well.
After building a rocket-chip emulator with the RoCC examples baked in,i can't run the test"time emulator-freechips.rocketchip.system-RoccExampleConfig -c pk ./build/test-accumulator" and "emulator-freechips.rocketchip.system-RoccExampleConfig pk pk/examples-pk-accumulator"
the error show:
but i can run "emulator-freechips.rocketchip.system-RoccExampleConfig bareMetal/examples-bareMetal-p-accumulator" and "emulator-freechips.rocketchip.system-RoccExampleConfig pk hello".The first show nothing,and the second show the right output