hdl icon indicating copy to clipboard operation
hdl copied to clipboard

axi_hpx_interconnect clock name numbering issue

Open analog-system-compiler opened this issue 2 years ago • 1 comments

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.

analog-system-compiler avatar Sep 29 '22 16:09 analog-system-compiler