
/*******************************************************************
*
* CAUTION: This file is automatically generated by libgen.
* Version: Xilinx EDK 3.2.2 build EDK_Cm.22
* Edit at own risk.
*
* Copyright (c) 2001 Xilinx, Inc.  All rights reserved. 
* 
* Xilinx, Inc.
* 
* Name of file: /home/user2/spring04/wb169/ESD/project3/mymicroblaze/include/xparameters.h
* 
* Description: Defines of driver parameters

*
*******************************************************************/



#ifndef   XPARAMETERS_H  /* prevent circular inclusions */
#define   XPARAMETERS_H  /* by using protection macros */

#define XPAR_INTC_DEVICE_ID 0


#define XPAR_MYUART_DEVICE_ID 1


#define XPAR_XINTC_NUM_INSTANCES 1
#define XPAR_INTC_NUM_INSTANCES 1
#define XPAR_XUARTLITE_NUM_INSTANCES 1
#define XPAR_XINTC_USE_DCR 0

#define XPAR_XUARTLITE_USE_DCR 0


/* Interrupt priorities for interruptible peripherals */
#define XPAR_INTC_MYUART_INTERRUPT_INTR	0
#define XPAR_MYUART_INTERRUPT_MASK 0x00000001
#define XPAR_INTC_KIND_OF_INTR	0x00000001
#define XPAR_INTC_SINGLE_ACK_BEFORE	0x00000001

#define XPAR_INTC_MAX_NUM_INTR_INPUTS	1


extern void XIntc_LowLevelInterruptHandler(void) __attribute__ ((interrupt_handler));


/* Base addresses of peripherals */
/* _BASEADDRESS means they are either stdin, stdout or the interrupt controller */
#define XPAR_LMB_LMB_BRAM_IF_CNTLR_0_BASEADDR 0x00000000
#define XPAR_LMB_LMB_BRAM_IF_CNTLR_0_HIGHADDR 0x00000FFF
#define XPAR_INTC_BASEADDR 0xFFFF0000
#define XPAR_INTC_HIGHADDR 0xFFFF00FF

/* Interrupt controller base address */
#define XPAR_INTC_SINGLE_BASEADDR 0xFFFF0000
#define XPAR_INTC_SINGLE_HIGHADDR 0xFFFF00FF

#define XPAR_MYUART_BASEADDR 0xFEFF0100
#define XPAR_MYUART_HIGHADDR 0xFEFF01FF

#define STDIN_BASEADDRESS 0xFEFF0100 /* stdin */
#define STDIN_HIGHADDRESS 0xFEFF01FF /* stdin */

#define STDOUT_BASEADDRESS 0xFEFF0100 /* stdout */
#define STDOUT_HIGHADDRESS 0xFEFF01FF /* stdout */
#define XPAR_MYOPB_BUS_BASEADDR 0x0FFF1000
#define XPAR_MYOPB_BUS_HIGHADDR 0x0FFF10FF
#endif
