Forum Discussion

Markgel's avatar
Markgel
Icon for New Contributor rankNew Contributor
5 years ago
Solved

PCIe hard IP BAR to On-chip memory addressing

using Cyclone IV hard ip and On-chip memory 32B mapped to 0x-0x1F

BAR0 mapped to 0xA1200000-0xA0001F

Reading BAR0 at offset 0 should have access first byte of On-chip memory? Reading 0xff instead of memory content.

  • Hi,


    May I know if you enable the PCIe BAR0? Have you try to performed SignalTap?


9 Replies

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    Could you share with me your Quartus design? How do you confirm that you are reading the correct addressing? Have you try to use SignalTap to tap the on chip memory IP interface?


    • Markgel's avatar
      Markgel
      Icon for New Contributor rankNew Contributor

      Attached the design. Regarding the addressing - trying to read and write to BAR0, but can't catch any activity for On chip memory signals using the SignalTap.

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    May I know if you enable the PCIe BAR0? Have you try to performed SignalTap?


    • Markgel's avatar
      Markgel
      Icon for New Contributor rankNew Contributor

      Hi

      Yes, indeed was a problem that win driver blocked the BAR0. Thanks for support.

      BR,

      Mark.

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    May I know if the issue is resolved after you unblock the BAR0?


    • Markgel's avatar
      Markgel
      Icon for New Contributor rankNew Contributor

      Yes, it does - can access to the BARs memory.

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor

    I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.