Closed mayyxeng closed 2 years ago
Hi @mayyxeng , Thanks for reporting on this clock frequency setting issue. We will take a look and get back to you.
Thanks, Vishnu
Hi @mayyxeng , Your observation, and query is not specific to examples. Can you please post your query on the Xilinx Forum - https://support.xilinx.com/s/topic/0TO2E000000YKYAWA4/vitis-acceleration-acceleration?language=en_US
Thanks Virat
Thanks @mayyxeng . We are closing this git issue as it is already getting discussed in Xilinx Forum with Vitis experts.
I was trying to manually set the clock frequency of an RTL (e.g.,
rtl_vadd
) kernel through the--clock.freqHz
or--clock.defaultFreqHz
option in Vitis for Alveo U200. Interestingly, no matter what frequency I provide thehw_emu
andhw
hangs (even if I provide the default value of 300000000).Upon inspecting the waveforms, I noticed that the
ap_rst_n
signal given to the kernel is forever kept low (i.e., the kernel is constantly being reset).I made the following simple change to the Makefile in
rtl_kernels/rtl_vadd/Makefile
.Interestingly, that is not the case for U250, in fact managed to pass the
hw_emu
test just fine using the following commands:If I replace the
--clock.defaultFreqHz
with--kernel_frequency
thenhw
andhw_emu
succeed on U200. mentions that--kernel_frequency
should only be used with legacy platforms and since I am using the latest U200 shell I was surprised by this observation. Is this expected?System info: