cpu_cortexa9: added namespace for all HSI TCL commands.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
This commit is contained in:
parent
13276180eb
commit
8f1be52a83
1 changed files with 7 additions and 7 deletions
|
@ -54,9 +54,9 @@ proc generate {drv_handle} {
|
|||
|
||||
proc xdefine_cortexa9_params {drvhandle} {
|
||||
|
||||
set sw_proc_handle [get_sw_processor]
|
||||
set hw_proc_handle [get_cells [get_property HW_INSTANCE $sw_proc_handle ]]
|
||||
set procdrv [get_sw_processor]
|
||||
set sw_proc_handle [hsi::get_sw_processor]
|
||||
set hw_proc_handle [hsi::get_cells [get_property HW_INSTANCE $sw_proc_handle ]]
|
||||
set procdrv [hsi::get_sw_processor]
|
||||
set archiver [get_property CONFIG.archiver $procdrv]
|
||||
if {[string first "iarchive" $archiver] < 0 } {
|
||||
} else {
|
||||
|
@ -70,7 +70,7 @@ proc xdefine_cortexa9_params {drvhandle} {
|
|||
}
|
||||
}
|
||||
set periphs [::hsi::utils::get_common_driver_ips $drvhandle]
|
||||
set lprocs [get_cells -filter "IP_NAME==ps7_cortexa9"]
|
||||
set lprocs [hsi::get_cells -filter "IP_NAME==ps7_cortexa9"]
|
||||
set lprocs [lsort $lprocs]
|
||||
|
||||
set config_inc [::hsi::utils::open_include_file "xparameters.h"]
|
||||
|
@ -95,13 +95,13 @@ proc xdefine_cortexa9_params {drvhandle} {
|
|||
}
|
||||
|
||||
proc xdefine_addr_params_for_ext_intf {drvhandle file_name} {
|
||||
set sw_proc_handle [get_sw_processor]
|
||||
set hw_proc_handle [get_cells [get_property HW_INSTANCE $sw_proc_handle ]]
|
||||
set sw_proc_handle [hsi::get_sw_processor]
|
||||
set hw_proc_handle [hsi::get_cells [get_property HW_INSTANCE $sw_proc_handle ]]
|
||||
|
||||
# Open include file
|
||||
set file_handle [::hsi::utils::open_include_file $file_name]
|
||||
|
||||
set mem_ranges [get_mem_ranges -of_objects $hw_proc_handle]
|
||||
set mem_ranges [hsi::get_mem_ranges -of_objects $hw_proc_handle]
|
||||
foreach mem_range $mem_ranges {
|
||||
set inst [get_property INSTANCE $mem_range]
|
||||
if {$inst != ""} {
|
||||
|
|
Loading…
Add table
Reference in a new issue