hdl
hdl copied to clipboard
axi_hpx_interconnect clock name numbering issue
In function proc ad_mem_hpx_interconnect() of script file adi_board.tcl, the variable sys_mem_clk_index is global for all HPx bus types. Under certain circumstances, the clock name numbering can be incorrect (line 876):
ad_connect $p_clk $m_interconnect_cell/ACLK$sys_mem_clk_index
It seems there is no issue with the NOC bus that gets its sys_mem_clk_index value directly from the instance (line 834):
set sys_mem_clk_index [expr [get_property CONFIG.NUM_CLKS [get_bd_cells axi_noc_0]]-1]
This should be generalized to all other HPx bus types.