[lowrisc-dev] run-asm-tests fails in lowRISC (untether-v0.2)

Anshujit Sharma anshujitsharma at gmail.com
Tue Mar 13 09:28:21 GMT 2018

Dear all,

I wanted to simulate lowRISC untether-v0.2 using verilator as described in

System Config:
Ubuntu 16.04
Intel i5
Verilator V3.920

Following is the sequence of commands used:
$cd lowrisc-chip
$source set_riscv_env.sh
$cd vsim
$export VERILATOR_ROOT=/path/to/verilator/root/directory
$make sim

$make run-asm-tests
runs successfully

$make run-bmarks-test
fails with the following terminal output:

./DefaultConfig-sim +max-cycles=100000000 +load=output/towers.riscv.hex |
/home/anshujit/work/lowrisc-chip/riscv/bin/spike-dasm  >
output/towers.riscv.verilator.out && [ $PIPESTATUS -eq 0 ]
Core 0 get unsolved tohost code 21680
Makefile:201: recipe for target 'output/towers.riscv.verilator.out' failed
make: *** [output/towers.riscv.verilator.out] Error 1

Kindly, let me know how to debug this problem.

With Regards
Anshujit Sharma
Research Assistant
Computer Aided Design Laboratory
Department of Computational and Data Sciences <http://cds.iisc.ac.in/>
Indian Institute of Science
Bangalore: 560012, India
Tel: +918011223483, +917406490246
email: anshujit at cadl.iisc.ernet.in, anshujitsharma at gmail.com

More information about the lowrisc-dev mailing list