axicdma : Modified namespace from HSM to HSI.
Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
This commit is contained in:
parent
691a647d28
commit
1da61a9d14
1 changed files with 6 additions and 6 deletions
|
@ -68,7 +68,7 @@ proc gen_include_files {swproj mhsinst} {
|
||||||
|
|
||||||
if {$swproj == 1} {
|
if {$swproj == 1} {
|
||||||
|
|
||||||
set axicdmaintr [::hsm::utils::is_ip_interrupting_current_proc $mhsinst]
|
set axicdmaintr [::hsi::utils::is_ip_interrupting_current_proc $mhsinst]
|
||||||
set sg [get_property CONFIG.C_INCLUDE_SG $mhsinst]
|
set sg [get_property CONFIG.C_INCLUDE_SG $mhsinst]
|
||||||
|
|
||||||
if {$sg == 1} {
|
if {$sg == 1} {
|
||||||
|
@ -100,7 +100,7 @@ proc gen_src_files {swproj mhsinst} {
|
||||||
}
|
}
|
||||||
|
|
||||||
if {$swproj == 1} {
|
if {$swproj == 1} {
|
||||||
set axicdmaintr [::hsm::utils::is_ip_interrupting_current_proc $mhsinst]
|
set axicdmaintr [::hsi::utils::is_ip_interrupting_current_proc $mhsinst]
|
||||||
set sg [get_property CONFIG.C_INCLUDE_SG $mhsinst]
|
set sg [get_property CONFIG.C_INCLUDE_SG $mhsinst]
|
||||||
|
|
||||||
if {$sg == 1} {
|
if {$sg == 1} {
|
||||||
|
@ -145,7 +145,7 @@ proc gen_init_code {swproj mhsinst} {
|
||||||
if {$swproj == 1} {
|
if {$swproj == 1} {
|
||||||
|
|
||||||
set ipname [get_property NAME $mhsinst]
|
set ipname [get_property NAME $mhsinst]
|
||||||
set axicdmaintr [::hsm::utils::is_ip_interrupting_current_proc $mhsinst]
|
set axicdmaintr [::hsi::utils::is_ip_interrupting_current_proc $mhsinst]
|
||||||
if {$axicdmaintr == 1} {
|
if {$axicdmaintr == 1} {
|
||||||
set decl " static XAxiCdma ${ipname};"
|
set decl " static XAxiCdma ${ipname};"
|
||||||
set inc_file_lines $decl
|
set inc_file_lines $decl
|
||||||
|
@ -167,9 +167,9 @@ proc gen_testfunc_call {swproj mhsinst} {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
set axicdmaintr [::hsm::utils::is_ip_interrupting_current_proc $mhsinst]
|
set axicdmaintr [::hsi::utils::is_ip_interrupting_current_proc $mhsinst]
|
||||||
set ipname [get_property NAME $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]]
|
set stdout [get_property CONFIG.STDOUT [get_os]]
|
||||||
if { $stdout == "" || $stdout == "none" } {
|
if { $stdout == "" || $stdout == "none" } {
|
||||||
set hasStdout 0
|
set hasStdout 0
|
||||||
|
@ -180,7 +180,7 @@ proc gen_testfunc_call {swproj mhsinst} {
|
||||||
|
|
||||||
if {$axicdmaintr == 1} {
|
if {$axicdmaintr == 1} {
|
||||||
set intr_pin_name [get_pins -of_objects [get_cells $ipname] -filter "TYPE==INTERRUPT"]
|
set intr_pin_name [get_pins -of_objects [get_cells $ipname] -filter "TYPE==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 intcvar intc
|
||||||
set proc [get_property IP_NAME [get_cells [get_sw_processor]]]
|
set proc [get_property IP_NAME [get_cells [get_sw_processor]]]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue