rsa_auth_app : added namespace for all HSI TCL commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
This commit is contained in:
parent
0c875e87c8
commit
7446107f39
1 changed files with 6 additions and 6 deletions
|
@ -7,7 +7,7 @@ proc swapp_get_description {} {
|
|||
}
|
||||
|
||||
proc get_stdout {} {
|
||||
set os [get_os]
|
||||
set os [hsi::get_os]
|
||||
if { $os == "" } {
|
||||
error "No Operating System specified in the Board Support Package.";
|
||||
}
|
||||
|
@ -16,9 +16,9 @@ proc get_stdout {} {
|
|||
}
|
||||
|
||||
proc check_stdout_hw {} {
|
||||
set slaves [get_property SLAVES [get_cells [get_sw_processor]]]
|
||||
set slaves [get_property SLAVES [hsi::get_cells [hsi::get_sw_processor]]]
|
||||
foreach slave $slaves {
|
||||
set slave_type [get_property IP_NAME [get_cells $slave]];
|
||||
set slave_type [get_property IP_NAME [hsi::get_cells $slave]];
|
||||
# Check for MDM-Uart peripheral. The MDM would be listed as a peripheral
|
||||
# only if it has a UART interface. So no further check is required
|
||||
if { $slave_type == "ps7_uart" || $slave_type == "axi_uartlite" ||
|
||||
|
@ -41,10 +41,10 @@ proc check_stdout_sw {} {
|
|||
proc swapp_is_supported_hw {} {
|
||||
|
||||
# check processor type
|
||||
set proc_instance [get_sw_processor];
|
||||
set proc_instance [hsi::get_sw_processor];
|
||||
set hw_processor [get_property HW_INSTANCE $proc_instance]
|
||||
|
||||
set proc_type [get_property IP_NAME [get_cells $hw_processor]];
|
||||
set proc_type [get_property IP_NAME [hsi::get_cells $hw_processor]];
|
||||
|
||||
if { $proc_type != "ps7_cortexa9" } {
|
||||
error "This application is supported only for CortexA9 processors.";
|
||||
|
@ -61,7 +61,7 @@ proc swapp_is_supported_sw {} {
|
|||
check_stdout_sw;
|
||||
|
||||
# make sure xilrsa is available
|
||||
set librarylist [get_libs -filter "NAME==xilrsa"];
|
||||
set librarylist [hsi::get_libs -filter "NAME==xilrsa"];
|
||||
|
||||
if { [llength $librarylist] == 0 } {
|
||||
error "This application requires xilrsa library in the Board Support Package.";
|
||||
|
|
Loading…
Add table
Reference in a new issue