cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
172 Views
Registered: ‎11-28-2018

Vitis run at hardware environment

Hello,

I want to run at Alveo card (Environment: HW)

I built rtl kernel and host code successfully.

Also I built and run rtl kernel and host code in emulation-hw environment but when I run at hardware environment it stuck at loading xclbin file.

And when I stop running b/c it get stucked, the "terminate failed" error message occur.

Also when I try to run again, I have to reset process for board.

What is the problem for this phenomenon?

Thank u!

0 Kudos
2 Replies
Highlighted
Moderator
Moderator
89 Views
Registered: ‎11-04-2010

In HW-SW flow, if the host code has been compiled and xclbin file has been generated, you can try to execute the host's object file directly.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Observer
Observer
42 Views
Registered: ‎11-28-2018

I try to execute the host's object file directly, but same happening occurs.

I found that when running at Emulation-HW environment, there is no problem for reading binary file (fopen(binary_filename,"rb")).

However when running at HW environment, fopen doesn't work for long time. (I think it is not working actually.. I can't see output after fopen code)

Is it right that fopen work long time in HW environment?

 

Thank you!

0 Kudos