cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lmaxeniro
Adventurer
Adventurer
460 Views
Registered: ‎09-09-2019

How to seamless integrate RTL project into Vitis IDE

Jump to solution

I am able to git clone the many example projects and imported into Vitis IDE--then I can build the kernel directly in Vitis (right-click on the Hardware/Emulation-HW in the assistant window, and select build--this likely will directly call the make file)

But I can not do this to  rtl projects-- what I can do, instead, is to run "make check Target=hw/hw_emu/ PLATFORM=xxx" under command line. and this will generate the relevant HW or HW_EMU build (a folder named as "build_dir.hw.xxxxxxxxx", then I have to copy the folder into my Vitis project folder--I CAN NOT build the rtl project inside Vitis directly (by right-click on the Hardware/Emulation-HW in the assistant window, and select build)

This is not very convenient though it works OK--But I wonder is there better solution for that?

0 Kudos
1 Solution

Accepted Solutions
hongh
Moderator
Moderator
365 Views
Registered: ‎11-04-2010

If you have created xo files with such tcl script, you can add the generated xo files into Vitis project as source files.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos
5 Replies
hongh
Moderator
Moderator
441 Views
Registered: ‎11-04-2010

Please try to use RTL Wizard:

https://www.xilinx.com/html_docs/xilinx2020_1/vitis_doc/devrtlkernel.html#qnk1504034323350

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
lmaxeniro
Adventurer
Adventurer
413 Views
Registered: ‎09-09-2019

@honghua 

Do you mean to launch a RTL wizard, then remove all rtl design and copy all customize rtl design file into it?

Also we have some tcl script as well, how to deal with that?

0 Kudos
hongh
Moderator
Moderator
384 Views
Registered: ‎11-04-2010

What's the purpose of your tcl script? To control the vivado option? 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
lmaxeniro
Adventurer
Adventurer
372 Views
Registered: ‎09-09-2019

the tcl script is also from Xilinx example project, which looks likely is used for packaging to compile the xo file..

https://github.com/Xilinx/Vitis_Accel_Examples/tree/master/rtl_kernels/rtl_vadd_hw_debug/scripts

0 Kudos
hongh
Moderator
Moderator
366 Views
Registered: ‎11-04-2010

If you have created xo files with such tcl script, you can add the generated xo files into Vitis project as source files.

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

0 Kudos