scutimer : added common namespace to all common tcl commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
This commit is contained in:
parent
804e830d95
commit
99e4eae2fb
1 changed files with 3 additions and 3 deletions
|
@ -81,7 +81,7 @@ proc gen_init_code {swproj mhsinst} {
|
||||||
}
|
}
|
||||||
if {$swproj == 1} {
|
if {$swproj == 1} {
|
||||||
|
|
||||||
set ipname [get_property NAME $mhsinst]
|
set ipname [common::get_property NAME $mhsinst]
|
||||||
set decl " static XScuTimer ${ipname};"
|
set decl " static XScuTimer ${ipname};"
|
||||||
set inc_file_lines $decl
|
set inc_file_lines $decl
|
||||||
return $inc_file_lines
|
return $inc_file_lines
|
||||||
|
@ -96,9 +96,9 @@ proc gen_testfunc_call {swproj mhsinst} {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
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 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" } {
|
if { $stdout == "" || $stdout == "none" } {
|
||||||
set hasStdout 0
|
set hasStdout 0
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue