cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
173 Views
Registered: ‎02-21-2020

ISE uBlaze SDK does not build after iSim

Hi, I'm working on a Spartan6 project involving a uBlaze design. For this I'm using ISE 14.7 (red hat VM version). For this project I added a simple uBlaze design and used the hello world example to generate an elf file.

After that, I created a simple test bench and used iSim to simulate the design. After that I tried to change something at the code and the software does not work. The build log is shown below. Can anyone point me out how to fix this?

21:40:01 **** Build of configuration Release for project hello_world ****

make all 

Building file: ../src/helloworld.c

Invoking: MicroBlaze gcc compiler

mb-gcc -Wall -O2 -c -fmessage-length=0 -I/home/ise/hello_world_bsp/microblaze_0/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mcpu=v8.50.c -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/helloworld.d" -MT"src/helloworld.d" -o "src/helloworld.o" "../src/helloworld.c"

Finished building: ../src/helloworld.c

 

Building file: ../src/platform.c

Invoking: MicroBlaze gcc compiler

mb-gcc -Wall -O2 -c -fmessage-length=0 -I/home/ise/hello_world_bsp/microblaze_0/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mcpu=v8.50.c -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"src/platform.d" -MT"src/platform.d" -o "src/platform.o" "../src/platform.c"

Finished building: ../src/platform.c

 

Building file: ../isim/ublaze_tb_isim_beh.exe.sim/work/a_0198351653_0632001823.c

Invoking: MicroBlaze gcc compiler

mb-gcc -Wall -O2 -c -fmessage-length=0 -I/home/ise/hello_world_bsp/microblaze_0/include -mlittle-endian -mxl-barrel-shift -mxl-pattern-compare -mcpu=v8.50.c -mno-xl-soft-mul -Wl,--no-relax -ffunction-sections -fdata-sections -MMD -MP -MF"isim/ublaze_tb_isim_beh.exe.sim/work/a_0198351653_0632001823.d" -MT"isim/ublaze_tb_isim_beh.exe.sim/work/a_0198351653_0632001823.d" -o "isim/ublaze_tb_isim_beh.exe.sim/work/a_0198351653_0632001823.o" "../isim/ublaze_tb_isim_beh.exe.sim/work/a_0198351653_0632001823.c"

../isim/ublaze_tb_isim_beh.exe.sim/work/a_0198351653_0632001823.c:16:17: fatal error: xsi.h: No such file or directory

compilation terminated.

make: *** [isim/ublaze_tb_isim_beh.exe.sim/work/a_0198351653_0632001823.o] Error 1

 

21:40:01 Build Finished (took 237ms)

Tags (4)
0 Kudos
1 Reply
Highlighted
Moderator
Moderator
80 Views
Registered: ‎10-06-2016

Hi @j.rodriguez 

I'm not really familiar with ISE (quite legacy tool) but from embedded development point of view the compiler is complaining about the xsi.h header file cannot be found. Usually this might be driven because your compilation flag does not provide the path to the header, or just the file is not available in the supposed location.

Regards


Ibai
Don’t forget to reply, kudo, and accept as solution.
0 Kudos