Setup the Trigger in ILA - Setup the Trigger in ILA - 2024.2 English - XD260

Vitis Tutorials: Embedded Software (XD260)

Document_ID
XD260
Release_Date
2025-03-28
Version
2024.2 English

Open the hardware manager and add the trigger condition. For example, here I added a trigger on the RDATA as shown below

../../../../_images/ila_trigger.PNG

Arm the trigger, and now return to Vitis Unified IDE, and resume. I have a while loop that will read the AXI GPIO

	/* Set the direction for all signals as input */
	XGpio_SetDataDirection(&Gpio, 1, 0xFFFFFFFF);
	
	Xil_DCacheDisable();

	while (1) {
		Data = XGpio_DiscreteRead(&Gpio, 1);
	}

I used the VIO to write to the DATA register of the AXI GPIO

../../../../_images/vio_update.PNG

This will cause the ILA to trigger, and this trigger will cause the processor (Cortex A53 #0) to suspend on a breakpoint

../../../../_images/read_breakpoint.PNG