Forum Discussion

IOzan's avatar
IOzan
Icon for Occasional Contributor rankOccasional Contributor
7 years ago

Custom component with more the one register

Hi,

I'm trying to build a custom component and for that I'm using the "Making Qsys Components" Altera's documentation (attached herewith).

Everything is working as expected except the address that set for only one 32bits register (0x00000000 to 0x00000003) instead of four registers (0x00000000 to 0x0000000C, as in Figure 34).

How can I define and allocate more registers in the Avalon interface?

Thanks,

Idan

1 Reply

  • AnandRaj_S_Intel's avatar
    AnandRaj_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi Idan,

    The address span of the bridge is automatically calculated based on the address range of all the components connected to it.

    To change the address span you can edit the .tcl file and set explicitAddressSpan to value you required.

    Regards

    Anand