lowRISC / lowRISC/ibex

Spike not generating csrrw and compressed instructions

Open
#2,168 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type:Question
Dominant language
SystemVerilog
Stars
2.1k
Forks
810
Avg merge
5d 23h
Merged PRs (30d)
9

Description

image
Running RTL simulation at out/seed-6496/rtl_sim/riscv_illegal_instr_test.6496/sim.log
Comparing traces for out/seed-6496/rtl_sim/riscv_illegal_instr_test.6496
Collecting up results (report at out/seed-6496/regr.log)
0.00% PASS 0 PASSED, 1 FAILED
################################################################################

Details of failing tests

################################################################################
riscv_illegal_instr_test.6496

Test binary: out/seed-6496/instr_gen/asm_test/riscv_illegal_instr_test_0.o
UVM log: out/seed-6496/rtl_sim/riscv_illegal_instr_test.6496/sim.log
RTL trace: out/seed-6496/rtl_sim/riscv_illegal_instr_test.6496/trace_core_00000000.log

** Note: (vsim-12126) Error and warning message counts have been restored: Errors=0, Warnings=43.

[FAILED]: sim error seen

0.00% PASS 0 PASSED, 1 FAILED

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported RTL simulation log at out/seed-6496/rtl_sim/riscv_illegal_instr_test.6496/sim.log and compare it with the trace in the same directory. Inspect the generated binary at out/seed-6496/instr_gen/asm_test/riscv_illegal_instr_test_0.o; done means determining why csrrw and compressed instructions are not generated and making the illegal-instruction test pass.

Written by the indexing model from the issue text.

Assessment

Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.