Certain tests not working

9 views
Skip to first unread message

Jeffery Lim

unread,
May 11, 2025, 7:09:27 PM5/11/25
to black-parrot
Hello,

I've been trying to run some of the riscv-tests, but am unable to run anything. I've make sure to build with make prep.

make build.verilator sim.verilator SUITE=riscv-tests PROG=rsort TAG=rsort_test

But ultimately it gets an error:

rm Vtestbench__ALL.verilator_deplist.tmp
make[1]: Leaving directory '/home/jlim/blackparrot/black-parrot-sim/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_default_cfg.rsort_test.build/obj_dir'
- V e r i l a t i o n   R e p o r t: Verilator 5.030 2024-10-27 rev v5.030
- Verilator: Built from 5072.089 MB sources in 615 modules, into 228.918 MB in 153 C++ files needing 0.970 MB
- Verilator: Walltime 67.157 s (elab=1.478, cvt=11.338, bld=50.582); cpu 17.376 s on 4 threads; alloced 794.492 MB
- Verilator: Built from 5072.089 MB sources in 615 modules, into 228.918 MB in 153 C++ files needing 0.970 MB
- Verilator: Walltime 67.157 s (elab=1.478, cvt=11.338, bld=50.582); cpu 17.376 s on 4 threads; alloced 794.492 MB
make: *** No rule to make target '/home/jlim/blackparrot/black-parrot-sim/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_default_cfg.rsort_test.sim.riscv-tests.rsort/run_simsc', needed by 'sim.verilator'.  Stop.

The sim directory isn't created, but it looks like it properly build the verilator model?

Am I missing something in how to specify other tests? (tried beeps/crc).

Thanks,

Jeffery Lim

Dan Petrisko

unread,
May 11, 2025, 7:58:07 PM5/11/25
to Jeffery Lim, black-parrot
Is the test built in the expected location? <prog_root>/riscv-tests/rsort.riscv

--
You received this message because you are subscribed to the Google Groups "black-parrot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to black-parrot...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/black-parrot/3a2a9760-a49a-4ab8-acd1-bd6e0862436fn%40googlegroups.com.

Jeffery Lim

unread,
May 11, 2025, 8:06:02 PM5/11/25
to Dan Petrisko, black-parrot
No, it is not there.

jlim@epyc:~/blackparrot/black-parrot-sim/black-parrot-sdk/riscv-tests$ ls
benchmarks  config.log  config.status  configure  configure.ac  debug  env  isa  LICENSE  Makefile  Makefile.in  mt  README.md

Let me rebuild it see if I get a particular error...

Dan Petrisko

unread,
May 11, 2025, 8:18:04 PM5/11/25
to Jeffery Lim, black-parrot
It would typically be installed in: black-parrot-sdk/prog/riscv-tests/rsort.riscv

-Dan

Jeffery Lim

unread,
May 11, 2025, 9:30:04 PM5/11/25
to Dan Petrisko, black-parrot
Forgot to reply all:

I figured it out somewhat.

There isn't a black-parrot-sdk/prog directory from a fresh build, instead it gets built at black-parrot-sdk/install/riscv/prog.

So maybe the other tests are not looking at the correct directory?

Jeffery Lim

unread,
May 11, 2025, 9:36:42 PM5/11/25
to Dan Petrisko, black-parrot
Er... well actually (again). It looks like everything is working as intended? I'm not entirely sure why my first builds didn't work properly. I may have built with prep_lite. Sorry about that...

Daniel Petrisko

unread,
May 12, 2025, 12:29:33 PM5/12/25
to Jeffery Lim, black-parrot
Great!

On May 11, 2025, at 6:36 PM, Jeffery Lim <jj...@bu.edu> wrote:


Reply all
Reply to author
Forward
0 new messages