Forum Discussion
Kevin26
New Contributor
2 years agoNIOS V/m SC.W instruction generating Illegal Instruction Exception
I have ported the RTEMS RTOS over to the NIOS V/m processor. During a context switch, there is a dummy sc.w instruction to clear any reservations. When this instruction is executed, an illegal inst...
tehjingy_Altera
Regular Contributor
2 years agoHi Kevin
If you are running LR/SC instruction, the instruction set is part of the Atomic extension set for RiscV.
Sorry to inform that it is removed from NiosV, and it is the cause of the illegal instruction message that you are seeing now.
For now there is no plan to add in the RiscV Atomic extension into for NiosV.
Regards
Jingyang, Teh