Forum Discussion

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

For Cyclone , hoe do I employ CB_P2A_AVALON_ADDR_B0 to get the BAR size == IP span

Team,

I have seen documentation describing CB_P2A_AVALON_ADDR_B0 as an offset I believe do the BAR size will reflect the actual span and not the number of bits to reach the Avalon MM address range.

I tried editing that parameter in the RTL but it caught an error checker indicating it had to be set to zer.

Best Regards, Bob.

2 Replies

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

    I need to match up the BAR size with the slave size the BAR master is working. I suspect the Cyclone Hard IP just doesn't support it or else the Component that I'm working with was compiled by IP compile not to support these offsets ... ( Did I get the terminology right ) ... I may need to attend IP compiler school as I don't know where to start with it.

    Best Regards, Bob.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The attachment depicts the PCIe -> Avalon MM translation ... I see the offset values as input to the PCIe RTL but when I set them to non-zero values , a checker flags an error during synthesis ..

    How do I take advantage of the offset values to make the BAR the same size as the slave IP the BAR master is connected to ?

    Thanks, Bob.