Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17264 Discussions

cannot write PCIE interrupt status register

Altera_Forum
Honored Contributor II
1,428 Views

Hi, 

I am working at Quartus 10 SP3, the device is A2GX65,when i using SOPC to building a pcie system,some problem about interrupt is occured. 

I write to P2A_MAILBOX registers from NIOS, and I found the coresponding P2A_MAILBOX_INT bit is asserted. 

But when I write 0x0 to pcie_p2a_interrupt_status_reg to clear the IRQ, it didn't change. 

Does anyone know why? 

 

regards. 

--xcq
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
714 Views

Hi, 

this is a RW1C (read/write '1' to clear) register. You have to write a '1' to the status bit you want to clear.
0 Kudos
Altera_Forum
Honored Contributor II
714 Views

 

--- Quote Start ---  

Hi, 

this is a RW1C (read/write '1' to clear) register. You have to write a '1' to the status bit you want to clear. 

--- Quote End ---  

 

Thanks very much. 

I've fixed it out.
0 Kudos
Reply