From 4a79ba74e6a1eda30dc0154432d575513b65a846 Mon Sep 17 00:00:00 2001 From: Nava kishore Manne Date: Thu, 9 Apr 2015 14:46:34 +0530 Subject: [PATCH] wdttb : added namespace for all HSI TCL commands. Signed-off-by: Nava kishore Manne --- .../drivers/wdttb/data/wdttb_tapp.tcl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/XilinxProcessorIPLib/drivers/wdttb/data/wdttb_tapp.tcl b/XilinxProcessorIPLib/drivers/wdttb/data/wdttb_tapp.tcl index fabac1e8..15723f87 100755 --- a/XilinxProcessorIPLib/drivers/wdttb/data/wdttb_tapp.tcl +++ b/XilinxProcessorIPLib/drivers/wdttb/data/wdttb_tapp.tcl @@ -73,7 +73,7 @@ proc gen_include_files {swproj mhsinst} { return "" } if {$swproj == 1} { - set iftmrintr [::hsm::utils::is_ip_interrupting_current_proc $mhsinst] + set iftmrintr [::hsi::utils::is_ip_interrupting_current_proc $mhsinst] if {$iftmrintr == 1} { set inc_file_lines {xwdttb.h wdttb_header.h wdttb_intr_header.h} } else { @@ -88,7 +88,7 @@ proc gen_src_files {swproj mhsinst} { return "" } if {$swproj == 1} { - set iftmrintr [::hsm::utils::is_ip_interrupting_current_proc $mhsinst] + set iftmrintr [::hsi::utils::is_ip_interrupting_current_proc $mhsinst] if {$iftmrintr == 1} { set inc_file_lines {examples/xwdttb_selftest_example.c examples/xwdttb_intr_example.c data/wdttb_header.h data/wdttb_intr_header.h} @@ -111,7 +111,7 @@ proc gen_init_code {swproj mhsinst} { if {$swproj == 1} { set ipname [get_property NAME $mhsinst] - set iftmrintr [::hsm::utils::is_ip_interrupting_current_proc $mhsinst] + set iftmrintr [::hsi::utils::is_ip_interrupting_current_proc $mhsinst] if {$iftmrintr == 1} { set decl " static XWdtTb ${ipname}_Wdttb;" set inc_file_lines $decl @@ -129,10 +129,10 @@ proc gen_testfunc_call {swproj mhsinst} { return "" } - set iftmrintr [::hsm::utils::is_ip_interrupting_current_proc $mhsinst] + set iftmrintr [::hsi::utils::is_ip_interrupting_current_proc $mhsinst] set ipname [get_property NAME $mhsinst] - set deviceid [::hsm::utils::get_ip_param_name $mhsinst "DEVICE_ID"] - set stdout [get_property CONFIG.STDOUT [get_os]] + set deviceid [::hsi::utils::get_ip_param_name $mhsinst "DEVICE_ID"] + set stdout [get_property CONFIG.STDOUT [hsi::get_os]] if { $stdout == "" || $stdout == "none" } { set hasStdout 0 } else { @@ -140,10 +140,10 @@ proc gen_testfunc_call {swproj mhsinst} { } if {$iftmrintr == 1} { - set intr_pin_name [get_pins -of_objects [get_cells $ipname] WDT_INTERRUPT] - set intcname [::hsm::utils::get_connected_intr_cntrl $ipname $intr_pin_name] + set intr_pin_name [hsi::get_pins -of_objects [hsi::get_cells $ipname] WDT_INTERRUPT] + set intcname [::hsi::utils::get_connected_intr_cntrl $ipname $intr_pin_name] set intcvar intc - set proc [get_property IP_NAME [get_cells [get_sw_processor]]] + set proc [get_property IP_NAME [hsi::get_cells [hsi::get_sw_processor]]] } set testfunc_call ""