Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

SOPC Address Alignment

Altera_Forum
Honored Contributor II
956 Views

Does anybody know how to change address alignment in SOPC? I am trying to connect a non-memory chip to avalon bus. I need to change the address alighment to NATIVE. Otherwise, there is trouble when read the chip internal register. 

 

thanks
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
246 Views

Without byte enable the slave port uses native address alignment and following formula is used to calculate the address: 

 

master address = slave base address + (slave word offset * master data width in bytes)
0 Kudos
Reply