From 07bb71ef4c5e674389b79036ba170c48b38ae2c8 Mon Sep 17 00:00:00 2001 From: Kishore Kumar Korathaluri Date: Mon, 12 Jan 2015 09:36:40 +0530 Subject: [PATCH] wdttb : added common namespace to all common tcl commands. Signed-off-by: Kishore Kumar Korathaluri --- XilinxProcessorIPLib/drivers/wdttb/data/wdttb_tapp.tcl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/XilinxProcessorIPLib/drivers/wdttb/data/wdttb_tapp.tcl b/XilinxProcessorIPLib/drivers/wdttb/data/wdttb_tapp.tcl index 15723f87..b213f309 100755 --- a/XilinxProcessorIPLib/drivers/wdttb/data/wdttb_tapp.tcl +++ b/XilinxProcessorIPLib/drivers/wdttb/data/wdttb_tapp.tcl @@ -110,7 +110,7 @@ proc gen_init_code {swproj mhsinst} { } if {$swproj == 1} { - set ipname [get_property NAME $mhsinst] + set ipname [common::get_property NAME $mhsinst] set iftmrintr [::hsi::utils::is_ip_interrupting_current_proc $mhsinst] if {$iftmrintr == 1} { set decl " static XWdtTb ${ipname}_Wdttb;" @@ -130,9 +130,9 @@ proc gen_testfunc_call {swproj mhsinst} { } set iftmrintr [::hsi::utils::is_ip_interrupting_current_proc $mhsinst] - set ipname [get_property NAME $mhsinst] + set ipname [common::get_property NAME $mhsinst] set deviceid [::hsi::utils::get_ip_param_name $mhsinst "DEVICE_ID"] - set stdout [get_property CONFIG.STDOUT [hsi::get_os]] + set stdout [common::get_property CONFIG.STDOUT [hsi::get_os]] if { $stdout == "" || $stdout == "none" } { set hasStdout 0 } else { @@ -143,7 +143,7 @@ proc gen_testfunc_call {swproj mhsinst} { 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 [hsi::get_cells [hsi::get_sw_processor]]] + set proc [common::get_property IP_NAME [hsi::get_cells [hsi::get_sw_processor]]] } set testfunc_call ""