ucb-bar / riscv-sodor

educational microarchitectures for risc-v isa
Other
672 stars 153 forks source link

I get the following error while executing a simulation of the Sodor 1-stage processor running the Towers of Hanoi benchmark #65

Open advancedengineering opened 3 years ago

advancedengineering commented 3 years ago

phillips@ubuntu:~/COMPUTER_ORGANIZATION/chipyard_root/chipyard/sims/verilator$ make CONFIG=Sodor1StageConfig run-binary BINARY=${BMARKS}/towers.riscv Running with RISCV=/home/phillips/COMPUTER_ORGANIZATION/chipyard_root/chipyard/riscv-tools-install (set -o pipefail && /home/phillips/COMPUTER_ORGANIZATION/chipyard_root/chipyard/sims/verilator/simulator-chipyard-Sodor1StageConfig +permissive +dramsim +dramsim_ini_dir=/home/phillips/COMPUTER_ORGANIZATION/chipyard_root/chipyard/generators/testchipip/src/main/resources/dramsim2_ini +max-cycles=10000000 +verbose +permissive-off /towers.riscv </dev/null 2> >(spike-dasm > /home/phillips/COMPUTER_ORGANIZATION/chipyard_root/chipyard/sims/verilator/output/chipyard.TestHarness.Sodor1StageConfig/towers.out) | tee /home/phillips/COMPUTER_ORGANIZATION/chipyard_root/chipyard/sims/verilator/output/chipyard.TestHarness.Sodor1StageConfig/towers.log) [UART] UART0 is here (stdin/stdout). make: *** [/home/phillips/COMPUTER_ORGANIZATION/chipyard_root/chipyard/common.mk:162: run-binary] Error 255

advancedengineering commented 3 years ago

I solved the error above by export the ${BMARKS} However after a long time of execution the result goes like this:

phillips@ubuntu:~/COMPUTER_ORGANIZATION/chipyard_root/chipyard/sims/verilator$ make CONFIG=Sodor1StageConfig run-binary BINARY=~/COMPUTER_ORGANIZATION/chipyard_root/chipyard/riscv-tools-install/riscv64-unknown-elf/share/riscv-tests/benchmarks/towers.riscv Running with RISCV=/home/phillips/COMPUTER_ORGANIZATION/chipyard_root/chipyard/riscv-tools-install (set -o pipefail && /home/phillips/COMPUTER_ORGANIZATION/chipyard_root/chipyard/sims/verilator/simulator-chipyard-Sodor1StageConfig +permissive +dramsim +dramsim_ini_dir=/home/phillips/COMPUTER_ORGANIZATION/chipyard_root/chipyard/generators/testchipip/src/main/resources/dramsim2_ini +max-cycles=10000000 +verbose +permissive-off /home/phillips/COMPUTER_ORGANIZATION/chipyard_root/chipyard/riscv-tools-install/riscv64-unknown-elf/share/riscv-tests/benchmarks/towers.riscv </dev/null 2> >(spike-dasm > /home/phillips/COMPUTER_ORGANIZATION/chipyard_root/chipyard/sims/verilator/output/chipyard.TestHarness.Sodor1StageConfig/towers.out) | tee /home/phillips/COMPUTER_ORGANIZATION/chipyard_root/chipyard/sims/verilator/output/chipyard.TestHarness.Sodor1StageConfig/towers.log) [UART] UART0 is here (stdin/stdout). make: *** [/home/phillips/COMPUTER_ORGANIZATION/chipyard_root/chipyard/common.mk:162: run-binary] Error 2

How can I check the exact information of Error

jerryz123 commented 3 years ago

The output files are in sims/verilator/output/...