-
Notifications
You must be signed in to change notification settings - Fork 648
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
invalid opcode #3153
Comments
Another question is which .scala file call class Alu in Alu.scala file? I cannot find it to trace the mentioned error message... |
This invalid opcode message is come from NEMU, the golden reference model of XiangShan. You may modify the NEMU to support your new instruction, or just add |
I think it's here. XiangShan/src/main/scala/xiangshan/backend/fu/FuConfig.scala Lines 297 to 307 in c2ce03f
And this XiangShan/src/main/scala/xiangshan/backend/exu/ExeUnit.scala Lines 62 to 66 in 7ffbf5f
|
thanks solved |
Before start
Describe the question
HI
i added some new opcode to XiangShan. I modify Instruction.scala, ALU.scala, parameters.scala, DecodeUnit.scala. when I run my workspace , I recieved this message in report of .log file . I cannot find from which .scala code this message is produced "invalid opcode...."
The text was updated successfully, but these errors were encountered: