So I added the driver ,but how the .xci files are created ? As I see in the project code ,it only read the switch value
XGpio input;
int Analog_input = 0;
int D0,D1;
XGpio_Initialize(&input, XPAR_AXI_GPIO_0_DEVICE_ID); //initialize input XGpio variable
while(1){
Analog_input = XGpio_DiscreteRead(&input,1 ); //get switch data
D0= Analog_input&0xFF;
D1 = (Analog_input>>8)&0xFF;
xil_printf("D0 input = %x \n\r",D0);
xil_printf("D1 input = %x \n\r\n\r\n\r",D1);
usleep(1000000);
}