Forum Discussion
Altera_Forum
Honored Contributor
15 years agoWhat is the error message you are seeing? If the custom instruction isn't being correctly connected to the CPU then ALT_CI_CRC_N will not be defined in system.h
I just looked at the document, I recommend creating the custom instruction using the component editor directly instead of attempting to open it from with the Nios II wizard. Just create a custom instruction slave interface and assign all the signals in the file "CRC_component.v" to the custom instruction slave. The file CRC_component is the top level file.