Closed RehanEjaz closed 1 year ago
I explored it and found that in dasm.svi at line #308 srai and srli were swapped.
5: mn = opcode[30] ? "srli": "srai"; // before
I swapped them and now logs are generated as expected by whisper
5: mn = opcode[30] ? "srai": "srli"; // after
I compared the exec.log with trace from other simulator. I think you are right and it should be swapped.
Fixed with #77. Closing.
I was running some tests on SweRV and Whisper and compared them I found these logs
log generated by SweRV-EL2
log generated by Whisper
at instruction #10 there is a mismatch