Forum Discussion
Altera_Forum
Honored Contributor
15 years agoUsing custom instruction from uCLinux user app on nios2mmu
Hello, Is it possible to use a custom instruction from an user application running on NIOS2MMU - uCLinux. I'm trying to run the CRC design example on uCLinux. When I try to compile the ...
Altera_Forum
Honored Contributor
15 years agoTo correct myself ... (if the whole thing works the way I suspect it does)
You can't let a combinatorial custom set state (it can return state) as the logic is 'executed' for every instruction fetched (there is no 'enable' line to the instruction). The custom opcode (etc) only affect the value selected and written back to the register file. Every time I think about the custom instructions, I get more and more convinced that the 'rA' and 'rB' bits are ignored by the nios cpu core.