xilinx-edk

How to debug a C program using SDK on xilinx?

∥☆過路亽.° 提交于 2019-12-13 04:13:32
问题 I'm using an Atlys spartan 6 xc6slx45 ,I have to debug this code : 1-#include "stdio.h" 2-int main (void) 3-{ 4-// Initialization of the necessary variables 5-int i,j,k; 6-// Initialization of source A and B 4x4 matrices and result C matrix 7-int a[4][4]={ {1,2,3,4}, 8-{1,2,3,4}, 9-{1,2,3,4}, 10-{1,2,3,4}}; 11-int b[8][8]={ {1,2,3,4}, 12-{1,2,3,4}, 13-{1,2,3,4}, 14-{1,2,3,4}}; 15-int c[8][8]={ {0,0,0,0}, 16-{0,0,0,0}, 17-{0,0,0,0}, 18-{0,0,0,0}}; 19-xil_printf("‐‐ Entering main() ‐‐\r\n"); 20