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

Cannot find reference-files dir in RTL Kernel Wizard

Jump to solution

Hi, I've ZCU104 platform with Vitis 2020.1 on CentOS 7.7.

I want to create a RTL kernel which could be called by host(C++).

Because there is a complete flow which contains the host & RTL kernel in tutorial RTL Kernel Wizard Flow, I followed it to test.

Whereas, I met a bottleneck in the RTL Kernel Wizard Flow next step: Vivado Design Suite - RTL Design

I cannot find "reference-files" directory, and it causes that I cannot do the next step...

reference-files.jpg

I found that the tutorial uses Xilinx u200(Alveo Data Center) as platform. Is it exactly adaptive on ZCU104? Or the directory structure is different?

Any help will be highly appreciated!

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
114 Views
Registered: ‎01-04-2013

You can clone the Tutorial repository from this location: 

https://github.com/Xilinx/Vitis-Tutorials

It includes the source files required for the tutorials, including the RTL Kernel tutorial you are following:

https://github.com/Xilinx/Vitis-Tutorials/tree/master/Hardware_Accelerators/Feature_Tutorials/01-rtl_kernel_workflow/reference-files

For the platform issue, the source files are the same, and the build results will be similar though not identical, but it is the build commands that will vary as you need to provide additional details for the embedded processor platforms. 

View solution in original post

3 Replies
Highlighted
Xilinx Employee
Xilinx Employee
115 Views
Registered: ‎01-04-2013

You can clone the Tutorial repository from this location: 

https://github.com/Xilinx/Vitis-Tutorials

It includes the source files required for the tutorials, including the RTL Kernel tutorial you are following:

https://github.com/Xilinx/Vitis-Tutorials/tree/master/Hardware_Accelerators/Feature_Tutorials/01-rtl_kernel_workflow/reference-files

For the platform issue, the source files are the same, and the build results will be similar though not identical, but it is the build commands that will vary as you need to provide additional details for the embedded processor platforms. 

View solution in original post

Highlighted
Visitor
Visitor
90 Views
Registered: ‎11-02-2020

Dear randyh:

Thanks for your reply!

I've cloned the Vitis-Tutorials and studied the reference-files dir.

I found the content inside the "reference-files/src" dir(include sub-dir: IP, testbench &  xml) which is almost the same as "imports" in Linux.

ex. Compare content inside the "reference-files/src/IP" & "imports" dir:

reference-file IP dir.jpg

import dir.jpg

Therefore, I guess MAYBE that "reference-files/src" dir becomes "imports" dir now. Is it right?

Thus, I selected "imports" dir instead of "reference-files/src/IP" dir as IP dir & selected Vadd_A_B_tb.sv.

However, it met error in final step: "Generate RTL Kernel"...

Generate RTL Kernel error.jpg

And I put the detail message in the attached file.

Please help me to solve this issue... Thanks a lot!

0 Kudos
Highlighted
Visitor
Visitor
74 Views
Registered: ‎11-02-2020

Dear randyh:

I think I've understood what you said. The "reference-files" isn't created by project automatically. User needs to downloads the directory from git and puts it into your project directory.

After I used the method, I completed all step in Vivado Design Suite - RTL Design .

Thanks for your help!!

0 Kudos