Forum Discussion

Michael_Kress's avatar
Michael_Kress
Icon for New Contributor rankNew Contributor
3 years ago
Solved

IRQ set to -1 using Generic tristate controller

Hello, I have a Cyclone 10 project that includes a Nios2 processor implemented in Platform Designer. One of the components in the design is a LAN91C1111 interface implemented through a Generic Tri-State Controller and connected to IRQ 1.

When I "Generate HDL" in Platform Designer and then "Generate BSP" in eclipse, the resulting line in system.h for the IRQ is incorrect (#define LAN91C111_IRQ -1).

If I manually edit the line is system.h (#define LAN91C111_IRQ 1) the lan controller functions properly.

What step am I missing to get the correct IRQ passed from the Generic Tri-State Controller into the Nios2 environment (system.h)?

3 Replies

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

      Thanks for the assistance. I understand the workaround and will implement it. I noticed the article is ten years old. I assume this is something that does not plan on being addressed in a new release?

  • KellyJialin_Goh's avatar
    KellyJialin_Goh
    Icon for Frequent Contributor rankFrequent Contributor

    Hi Michael,

    Yes, I am afraid there will are no future enhancements therefore this KDB is published online for viewers to take note.


    I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


    p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.


    Thank you.

    Regards,

    Kelly Jialin, GOH