lowRISC / lowRISC/ibex

mismatch between spike sim and rtl sim

Open
#1,959 2 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

Hi
I used the RTL code of ibex-pulpissimo-v6.1.1 and kicked off the following test case:
make TEST=riscv_arithmetic_basic_test ISS=spike ISA=rv32imc SEED=123
log:
1669889903408
out/seed-123/regr.log:
1669888493790
Could you give me any suggestions? how to debug it.
BTW, I replaced the "spike_log_to_trace_csv.py" by one in the master version of riscv-dv. Because the original one is fail to convert log into csv :
1669888920139

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 by reproducing the make TEST=riscv_arithmetic_basic_test ISS=spike ISA=rv32imc SEED=123 command and comparing the attached log with out/seed-123/regr.log. Inspect spike_log_to_trace_csv.py, including the reported master-version replacement, and consider the issue resolved when the log conversion works and the Spike and RTL simulation mismatch is explained.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.