When you are using Xilinx SDK, you have to distinguish pointer and array. If you declare a variable as a pointer, you have to use it as a pointer not array. If a pointer is used as array, synchoronous interrupt handler(exception) may occur.
volatile unsigned int* mem;
for(i=0; i<SIZE; i++){
mem[i] = i; //Synchoronous Interrupt Handler(exception) may occur
//you have to use like this
//*(mem+i) = i;
}
'Programming > Xilinx' 카테고리의 다른 글
Vivado synthesis and implementation strategies (0) | 2022.03.05 |
---|---|
SDK baremetal HW-time measurement (0) | 2021.12.07 |
ERROR: [USF-XSim-62] 'elaborate' step failed with errors (0) | 2021.01.14 |
Vivado [Opt 31-67] Issue (0) | 2020.12.30 |
ZCU102 Evaluation Kit SODIMM issue (0) | 2020.12.21 |