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

Expected behavior with an erroneous test #761

Closed
pcotret opened this issue Oct 14, 2021 · 1 comment
Closed

Expected behavior with an erroneous test #761

pcotret opened this issue Oct 14, 2021 · 1 comment

Comments

@pcotret
Copy link
Contributor

pcotret commented Oct 14, 2021

I was trying to see what should be the output of the simulation with an erroneous test. Steps:

  1. Modify a riscv-test and insert an error. For instance, in rv64ui/and.S:
  TEST_RR_OP( 2, and, 0x0f000f00, 0xff00ff00, 0xdeadbeef );
  1. Recompile the riscv-tests suite
  2. Execute the Verilator simulation
$ ./work-ver/Variane_testharness tmp/riscv-tests/build/isa/rv64ui-p-and
This emulator compiled with JTAG Remote Bitbang client. To enable, use +jtag_rbb_enable=1.
Listening on port 42003
- /home/pascal/cva6-experiments/cva6/corev_apu/tb/rvfi_tracer.sv:56: Verilog $finish
- /home/pascal/cva6-experiments/cva6/corev_apu/tb/rvfi_tracer.sv:57: Verilog $finish
- /home/pascal/cva6-experiments/cva6/corev_apu/tb/rvfi_tracer.sv:57: Second verilog $finish, exiting

I was expecting to get an error related to my step 1 (yes, I made sure to use my freshly compiled binary). Am I doing something wrong?

@pcotret
Copy link
Contributor Author

pcotret commented Oct 14, 2021

Nevermind, same solution as for issue #748

@pcotret pcotret closed this as completed Oct 14, 2021
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

1 participant