You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't test env only be used when building stage2? Or maybe altering write_tohost is not supposed to work correctly, but how am I supposed to report test status then?
The text was updated successfully, but these errors were encountered:
At stage 1, tests are generated and compiled, then run by a special spike called pspike to generate the reference results;
At stage 2, tests are combined with those reference results, compiled, and then run by standard spike to verify it's working as expected.
From your log, it's pspike at stage1 stuck as the env is changed to something else, but spike relies on HTIF (tohost) to work.
A workaround would be to keep the env unchanged at stage1, and change the env at stage2 while removing the verify process.
RVVM uses a forked
riscv-test-env
tree wherewrite_tohost
is implemented via printing results to UART and shutting down the machine.This can be seen here: riscv/riscv-test-env@002df18
This works well for
riscv-tests
, but hangsriscv-vector-tests
build as soon as Spike is invoked to generate test results for stage 2:Shouldn't test env only be used when building stage2? Or maybe altering
write_tohost
is not supposed to work correctly, but how am I supposed to report test status then?The text was updated successfully, but these errors were encountered: