mutex : added namespace for all HSI TCL commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
This commit is contained in:
parent
72296eb9c4
commit
8f2af20ad1
1 changed files with 3 additions and 3 deletions
|
@ -137,12 +137,12 @@ proc xdefine_mutex_config_files {drv_handle hfile_name cfile_name drv_string} {
|
|||
}
|
||||
|
||||
proc check_if_connected {periph if_num} {
|
||||
set sw_proc_handle [get_sw_processor]
|
||||
set hw_proc_handle [get_cells $sw_proc_handle]
|
||||
set sw_proc_handle [hsi::get_sw_processor]
|
||||
set hw_proc_handle [hsi::get_cells $sw_proc_handle]
|
||||
set if_isaxi 0
|
||||
|
||||
set baseaddr [get_property CONFIG.[format "C_S%d_AXI_BASEADDR" $if_num] $periph]
|
||||
set mem [get_mem_ranges -of_objects $hw_proc_handle -filter "INSTANCE==$periph"]
|
||||
set mem [hsi::get_mem_ranges -of_objects $hw_proc_handle -filter "INSTANCE==$periph"]
|
||||
if {[llength $mem] != 0} {
|
||||
set addrs [get_property BASE_VALUE $mem]
|
||||
foreach addr $addrs {
|
||||
|
|
Loading…
Add table
Reference in a new issue