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

Difficulties getting RV64I working in lockstep #1114

Open
davidharrishmc opened this issue Nov 17, 2024 · 2 comments
Open

Difficulties getting RV64I working in lockstep #1114

davidharrishmc opened this issue Nov 17, 2024 · 2 comments

Comments

@davidharrishmc
Copy link
Contributor

Trying to get RV64I working in lockstep.
Copied config/rv64gc/imperas.ic into config/rv64i

wsim rv64i tests/riscof/work/riscv-arch-test/rv64i_m/I/src/addi-01.S/ref/ref.elf --lockstepverbose

Immediate PC mismatch

# Error (IDV) PC mismatch (HartId:0, PC:0x0000000080000000 rvtest_init+0):
# Error (IDV) Mismatch 0>
# Error (IDV)   . dut:0x0000000000000000 
# Error (IDV)   . ref:0x0000000080000000 rvtest_init+0

@rosethompson looks like an initialization issue. Do you have any suggestions?

@jordancarlin
Copy link
Member

Seems to be that as soon as Zicsr is disabled Imperas is no longer able to get the PC.

@davidharrishmc
Copy link
Contributor Author

The signals in wallyTracer.sv might give some clues, but I don't immediately see a signal gated by Zicsr.

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

2 participants