Forum Discussion
Altera_Forum
Honored Contributor
12 years agoAccessing Inputs Outputs of custom component
Hello every body; I have created my custom compnent caled "cipher", it takes 2x128 bits input and produce one 128bit ouput, the component definition in system.h is: # define ALT_MODULE_CLASS_...
Altera_Forum
Honored Contributor
12 years agoThe address of your component is CIPHER_0_BASE. To access it, you can either use pointers (if you have a data cache, remember to use alt_remap_uncached() on the pointer address) or the IORD() IOWR() macros.