Forum Discussion
Good day! Thanks for your attempt to help.
Perhaps my first question was not read carefully.
Let's go first.
I am developing a system (PCIExpress endpoint) based on a Stratix 10 board. This card contains a PCI Express interface. To read and write data to the board, I independently develop a driver for the Windows operating system. I built the system using Quartus Platform Designer. System Contents is shown in the figure. With a driver and BAR0 register, I control reads and writes from the board via DMA. Also, if necessary, through BAR4 I carry out simple read and write operations in on-chip memory.
SYSTEM CONTENTS
When my algorithms work
I need to generate custom interrupts. For this I use the rxm_irq_i{15:0} interface. When a pulse is applied to any of these inputs, interrupt registration does not occur. From the descriptions of the AN 829 User guide and the Intel Stratix10 Avalon - MM Interface for PCI Express Solutions User Guide, I realized that I need to enable interrupts through the Avalon-MM to PCIe Interrupt Enable Register .
my question to you is how to access this register through driver in windows ? how to correctly translate the address in accordance with the system contents shown in the figure? or should I implement logic inside the FPGA? without the participation of the host, will provide access to this register through the CRA interface?
Thanks for your reply. I hope that this time you understand the question.
Regards
Hi,
Thanks for clarifying the question.
my question to you is how to access this register through driver in windows ?
- I wish to help on that, but driver in window is out of my scope of support.
Because Intel does not support any driver issue. Perhaps I leave this to communities to answer.
how to correctly translate the address in accordance with the system contents shown in the figure?
- Can I know which address in the figure you wish to translate? based or end or others ?
or should I implement logic inside the FPGA? without the participation of the host, will provide access to this register through the CRA interface?
- Yes, you can try to implement it.
Also, if you are using rxm_irq_i signal, please noted that These signals are not available when the IP core is operating in DMA mode (i.e. when the Enable Avalon-MM DMA option in the Avalon-MM Settings tab of the GUI is set to On).
Regards,
Wincent_Intel