Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

SOPC Address Alignment

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

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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)