Michael_Kress
New Contributor
3 years agoIRQ and 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)?