Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
747 Views

Configuring Software with the Altera PCIe Compiler Address Translation Page Size

Hi, 

 

I am writing a host bridge driver for the Altera PCIe Avalon MM Bridge, and implementing the part of the software that translates a PCIe address into a CPU address. We would like to implement the software in a general way so that it might be used with many different hardware designs. Therefore it would be preferable to configure the software with the CPU to PCIe address translation page size that was used to instantiate the PCIe IP, but this information maybe isn’t present in the Altera HAL's system.h, nor in one of the device registers? 

 

Does anyone know of a mechanism where the software might discover the address translation page size with which the PCIe compiler was configured? 

 

Thanks, 

 

Jeff
0 Kudos
0 Replies
Reply