FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
Avisos
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
6673 Discusiones

MSI generation in PCIe

Sudhirkv1
Principiante
2.371 Vistas

Hi,

We have been trying to generate MSI interrupt through the RXM_irq input port by making it external on the platform designer. We do not have a DMA engine connected to PCIe, but if look at the testbench system created, specifically at altpcietb_bfm_driver_avmm.v, The MSI interrupt generation is only in dma_mem_test and not on the target_mem_test. We have connected bar0 to the CRA port in our design and hence we are using target_mem_test_lite in this driver BFM. I have modified the testcase similar for this at target_mem_test_lite from dma_mem_test for MSI interrupt generation (Please refer to the attached file).

After writing register 0x50 to 0x00010000 (Bit 16 is used for MSI enable) (cra_msi_enable.png), When we try to read Interrupt Status Register (0x0040), the value we read is 0x0 (Refer to attached snapshot (cra_read_rxm_irq.png).

Could anyone please guide us on how to properly generate MSI interrupts with these configurations.

We are also attaching the Archived Quartus project for reference.

Regards,

Sudhansh Garg

0 kudos
5 Respuestas
Rahul_S_Intel1
Empleados
2.340 Vistas

Hi ,

 As primary information, is the MSI enable bit is set 

Sudhirkv
Novato
2.334 Vistas

Hi Rahul,

 

Thanks for your time.

Yes we have set the msi_enable bit set to 1. 

We have also attached the testbench file in the earlier post. 

 

Regards,

Sudhir

Rahul_S_Intel1
Empleados
2.304 Vistas

Can you please help to give your number in private message , so that I can call you.

 

Rahul_S_Intel1
Empleados
2.241 Vistas

May I kindly close the issue, as the issue is open for quite a long time.  Kindly requesting to open a new thread if the issue is still open  

Rahul_S_Intel1
Empleados
2.191 Vistas

Kindly let me know if you have additional questions 

Responder