wdttb : Modified namespace from HSM to HSI.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
This commit is contained in:
parent
9feeadc3a1
commit
f71d3e6118
1 changed files with 6 additions and 6 deletions
|
@ -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,9 +129,9 @@ 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 deviceid [::hsi::utils::get_ip_param_name $mhsinst "DEVICE_ID"]
|
||||
set stdout [get_property CONFIG.STDOUT [get_os]]
|
||||
if { $stdout == "" || $stdout == "none" } {
|
||||
set hasStdout 0
|
||||
|
@ -141,7 +141,7 @@ 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 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]]]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue