From 8f2af20ad11d76843b9ea35290e80a42fc588c28 Mon Sep 17 00:00:00 2001 From: Kishore Kumar Korathaluri Date: Mon, 5 Jan 2015 15:03:17 +0530 Subject: [PATCH] mutex : added namespace for all HSI TCL commands. Signed-off-by: Kishore Kumar Korathaluri --- XilinxProcessorIPLib/drivers/mutex/data/mutex.tcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/XilinxProcessorIPLib/drivers/mutex/data/mutex.tcl b/XilinxProcessorIPLib/drivers/mutex/data/mutex.tcl index b02a6196..c498b903 100755 --- a/XilinxProcessorIPLib/drivers/mutex/data/mutex.tcl +++ b/XilinxProcessorIPLib/drivers/mutex/data/mutex.tcl @@ -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 {