Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MicroBlaze User Peripheral with 2 interrupts

Status
Not open for further replies.

naraic

Technical User
Aug 12, 2003
45
IE
Hi all,

I have designed a user peripheral to connect via an OPB Bus to a MicroBlaze processor. Also, an interrupt controller is connected to the OPB Bus. My user peripheral generates two interrupts, which connect to the interrupt controller. The interrupt controller irq then connects to the MicroBlaze interrupt input.

My problem arises when I run libgen. It returns an error
ERROR:MDT - system.mss:42 - Property interrupt_handler is not found
I understand that this happens when I use the generic driver for the user peripheral. But how do I define a driver that has 2 interrupt outputs? What would the .mdd file look like? I can do this for one that drives a single interrupt output

e.g.
Code:
  :
  :
BEGIN ARRAY interrupt_handler
  PROPERTY desc = "Interrupt Handler Information";
  PROPERTY size = 1, permit = none;
  PARAM name = int_handler, default = XIntc_DefaultHandler, desc = "Name of Interrupt Handler", type = string;
  PARAM name = int_port, default = Interrupt, desc = "Interrupt pin associated with the interrupt handler", permit = none;
END ARRAY
  :
  :

is in the .mdd file for the peripheral that drives a single interrupt.

Thanks for your help
Ciarán
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top