#define AHB_LED_BASE 0x50000000 ////////////////////////////////////////////////////////////////// // Main Function ////////////////////////////////////////////////////////////////// int main(void) { volatile int i; // set delay to 2 for simulation // set delay to 1000000 for synthesis int delay = 1000000; *(volatile unsigned int*) AHB_LED_BASE; while(1){ *(volatile unsigned int*) AHB_LED_BASE = 0x54; for(i=0;i