cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Davix
Contributor
Contributor
359 Views
Registered: ‎11-18-2020

Accelerated kernel addressing

Hi all,

i created a kernel with Vitis. I want to know the physical address related to the registers and interrupts of the driver of the kernel, and also the physical address of the module itself. How can i find these information in Vitis IDE?

0 Kudos
2 Replies
stephenm
Xilinx Employee
Xilinx Employee
319 Views
Registered: ‎09-12-2007

Once way would be to use the HSI API to read the cells from XSCT

  • hsi::open_hw_design XSA_FILE
  • common::report_property [hsi::get_cells <your accel function name>]
0 Kudos
Davix
Contributor
Contributor
255 Views
Registered: ‎11-18-2020

Hi @stephenm ,

Thanks for your reply. However, i have done differently. I took the registers address from the device tree inside the image.ub generated by Vitis, while the address of the compute unit is printed during the execution of the program when it is loaded.

0 Kudos