#60 Add sim error message on RVC instruction without RVC capabilities
This commit is contained in:
parent
5d1ec604b2
commit
61d25e931e
|
@ -958,6 +958,7 @@ public:
|
|||
}
|
||||
} else {
|
||||
#ifndef COMPRESSED
|
||||
cout << "ERROR : RiscvGolden got a RVC instruction while the CPU isn't RVC ready" << endl;
|
||||
ilegalInstruction(); return;
|
||||
#endif
|
||||
switch((iBits(0, 2) << 3) + iBits(13, 3)){
|
||||
|
|
Loading…
Reference in New Issue