Altera_Forum
Honored Contributor
12 years agoPCIe Cyclone V CRA Register
Hallo together,
actually i'm trying to implement a system with the hard PCIe core of the Cyclone 5 Altera development board (GX). What do I use - Quartus 13 on a windows 64 bit computer - PCIe development board from Altera - Embedded pc from Kontron with Linux - Avalon-MM Cyclone V Hard IP for PCI Express What is working: - Linux detects the different bars and loads the correct driver. - Access through different PCIe bars to internal and external ram (ddr3). What is NOT working: - Can't enable the Interrupt because I can't read and write the CRA register area How do I test: - The CRA register are mapped through a slave in the Avalon address space (0x0 - 0x3FFF) - Avalon Master of BAR 2 is connected to this slave an to an additional SRAM slave - I can read and write to the slave - verified also with the signal tap - I can realize a read and write to the CRA slave - signal tap to the port of the slave - signal names like dut_cra_translator/av_address etc. - When the BAR2 master write and read I can see the correct values (adr, data, ... ) - I can see the the wait_request is deactivated after on clock or so. - But I always read zero (and I do not write zero :)). Does anyone know what's wrong? best regards Arnd