Forum Discussion
Altera_Forum
Honored Contributor
8 years agoCustom Instruction accessing SDRAM
Hello I am currently trying to update a memory location content inside SDRAM from a custom instruction(function called from nios ii). From what I understand, I need to use avalon memory mapped ...
Altera_Forum
Honored Contributor
8 years agoWhy do you need a custom instruction for this? And the code you post is not complete. It's not clear what n and n2_done are.
If you are trying to implement a state machine, I suggest following the state machine template.