Forum Discussion
Altera_Forum
Honored Contributor
16 years agoSounds like you are finding out why native addressing is depreciated since the address offsets are fairly confusing when the master and slave widths do not match. My advice to all component developers is to make your slave port dynamic by including byte enables. Without byte enables your slave port is considered to be native and you will need to use this formula to access each word of the component:
<master address> = <slave base address> + (<slave word offset> * <master data width in bytes>) Page 9 of: http://www.altera.com/literature/hb/qts/qts_qii54003.pdf