How to run reconos hls version

42 views
Skip to first unread message

Guanwen (Henry) Zhong

unread,
Aug 12, 2016, 12:48:38 PM8/12/16
to ReconOS
Hi Andreas and Christoph,

I am Guanwen from National University of Singapore, also working on FPGA accelerators. :-)

Thanks for sharing this awesome project. I am reading your source codes and trying to play with it. (I have successfully passed the normal ReconOS framework)

But currently, I have difficulties to run sort demo hls version using "rdk" located at reconos/tools. I do not know the correct steps to make it work. Could you provide any hints or instructions? Thanks for your help. :-)

Best regards,
Guanwen (Henry)

Christoph Rüthing

unread,
Aug 12, 2016, 7:00:50 PM8/12/16
to ReconOS

Hi Guanwen,

glad you have found ReconOS and find it interesting for your work. When you have successfully passed the "normal" ReconOS, you probably have overcome the most complicated part of setting up Linux and your environment.

If you want to use HLS you should use the develop branch and not the master branch. Anyway, that should be the preferred one right now and I think you are already using it. So, what you then need to do to let the SortDemo run is just calling "rdk export_hw" and "rdk export_sw" in the sort_demo directory. That should create a hardware and software project you can build (using xps and make). To use rdk, you need to source the settings file in tools/settings.sh

However, the Xilinx HLS version and path are hardcoded in the rdk scripts. Obviously, this is not very nice but nobody made it configurable until now. So if you have not installed it under /opt/Xilinx/Vivado/2014.4/settings64.sh with version 2014.4, the build will not work without modifications. However, you can simply change that path in tools/_pypack/reconos/scripts/hw/export.py.

Btw, you will also find some more updated version of the "Getting Started" in the develop branch of the reconos.github.io repository. Maybe you have used the one from the homepage, which targets the master branch right now. Furthermore, there is also a develop_ic branch which introduces some further concepts to allow direct communication of hardware threads without involving the processor. Maybe you are also interested in that.

If you have further questions feel free to ask and we will try to help you. Maybe you can also provide some more details of what exactly went wrong.

Yours,
Christoph

"Guanwen (Henry) Zhong" <zhgu...@gmail.com> hat am 12. August 2016 um 18:48 geschrieben:
--
You received this message because you are subscribed to the Google Groups "ReconOS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reconos+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Guanwen (Henry) Zhong

unread,
Aug 12, 2016, 11:07:23 PM8/12/16
to ReconOS, chri...@ruething25.de
Hello Christoph,

Thanks for your detailed information! It helps me a lot. :-) So far, everything is fine. I will run on the real board next Monday and see whether I can make it work. 

Best regards,
Guanwen

Guanwen (Henry) Zhong

unread,
Aug 16, 2016, 5:26:14 AM8/16/16
to ReconOS, chri...@ruething25.de
Thanks Christoph. The hls-version sort demo is working nicely on Zedboard. I can hack it now. :-)

Guanwen

On Saturday, August 13, 2016 at 7:00:50 AM UTC+8, Christoph Rüthing wrote:

Christoph Rüthing

unread,
Aug 16, 2016, 6:57:33 AM8/16/16
to ReconOS

Great, so if you will have interesting results or new ideas, feel free to contribute 😊

 

Yours,

Christoph

 

Von: Guanwen (Henry) Zhong
Gesendet: Dienstag, 16. August 2016 11:26
An: ReconOS
Cc: chri...@ruething25.de
Betreff: Re: [reconos] How to run reconos hls version

 


"Guanwen (Henry) Zhong" <zhgu...@gmail.com> hat am 16. August 2016 um 11:26 geschrieben:
Reply all
Reply to author
Forward
0 new messages