Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Jun 14, 2021 · 2 comments

Comments

@advancedengineering
Copy link

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
Copy link
Author

advancedengineering commented Jun 14, 2021

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants