Altera_Forum
Honored Contributor
15 years agoAccess of 32bit registers using PCIe in SoPC
Hello, I am implementing a PCIe using SoPC builder. One of the BARs should be a configuration BAR with 32bit registers that are setting various parameters of my device. The BAR is 32bit non-prefetchable BAR as I need access the registers only as a single registers (ie. I want to simulate I/O registers). The problem is that when I read a register from PC, it translates to two reads on the Avalon bus. When I read for example offset 0x05, I get 32bit reads from offset 0x04 and 0x05. When I read the offset 0x04, I get the same two reads. I do know that it is possible to read a single 32 bits using PCIe, what should I set to get this right?