emacps : Modified namespace from HSM to HSI.

Signed-off-by: Kishore Kumar Korathaluri <kkorath@xilinx.com>
This commit is contained in:
Kishore Kumar Korathaluri 2014-12-23 11:07:26 +05:30 committed by Nava kishore Manne
parent 5b81f024ff
commit 3e9dfd1625
2 changed files with 16 additions and 16 deletions

View file

@ -64,7 +64,7 @@ proc generate {drv_handle} {
} }
proc generate_gmii2rgmii_params {drv_handle file_name} { proc generate_gmii2rgmii_params {drv_handle file_name} {
set file_handle [::hsm::utils::open_include_file $file_name] set file_handle [::hsi::utils::open_include_file $file_name]
set ips [get_cells "*"] set ips [get_cells "*"]
foreach ip $ips { foreach ip $ips {
set ipname [get_property NAME $ip] set ipname [get_property NAME $ip]
@ -111,8 +111,8 @@ proc is_gmii2rgmii_conv_present {slave} {
set tmp [string first "ENET0" $port_value] set tmp [string first "ENET0" $port_value]
if { $tmp >= 0 } { if { $tmp >= 0 } {
if { [string compare -nocase $enetipinstance_name "ps7_ethernet_0"] == 0} { if { [string compare -nocase $enetipinstance_name "ps7_ethernet_0"] == 0} {
set phyaddr [::hsm::utils::get_param_value $ipconv C_PHYADDR] set phyaddr [::hsi::utils::get_param_value $ipconv C_PHYADDR]
set phy_addr [::hsm::utils::convert_binary_to_decimal $phyaddr] set phy_addr [::hsi::utils::convert_binary_to_decimal $phyaddr]
if {[llength $phy_addr] == 0} { if {[llength $phy_addr] == 0} {
set phy_addr 0 set phy_addr 0
} }
@ -121,8 +121,8 @@ proc is_gmii2rgmii_conv_present {slave} {
set tmp0 [string first "ENET1" $port_value] set tmp0 [string first "ENET1" $port_value]
if { $tmp0 >= 0 } { if { $tmp0 >= 0 } {
if { [string compare -nocase $enetipinstance_name "ps7_ethernet_1"] == 0} { if { [string compare -nocase $enetipinstance_name "ps7_ethernet_1"] == 0} {
set phyaddr [::hsm::utils::get_param_value $ipconv C_PHYADDR] set phyaddr [::hsi::utils::get_param_value $ipconv C_PHYADDR]
set phy_addr [::hsm::utils::convert_binary_to_decimal $phyaddr] set phy_addr [::hsi::utils::convert_binary_to_decimal $phyaddr]
if {[llength $phy_addr] == 0} { if {[llength $phy_addr] == 0} {
set phy_addr 0 set phy_addr 0
} }
@ -135,7 +135,7 @@ proc is_gmii2rgmii_conv_present {slave} {
} }
proc generate_sgmii_params {drv_handle file_name} { proc generate_sgmii_params {drv_handle file_name} {
set file_handle [::hsm::utils::open_include_file $file_name] set file_handle [::hsi::utils::open_include_file $file_name]
set ips [get_cells "*"] set ips [get_cells "*"]
foreach ip $ips { foreach ip $ips {
@ -194,8 +194,8 @@ proc is_gige_pcs_pma_ip_present {slave} {
set tmp [string first "ENET0" $port_value] set tmp [string first "ENET0" $port_value]
if { $tmp >= 0 } { if { $tmp >= 0 } {
if { [string compare -nocase $enetipinstance_name "ps7_ethernet"] == 0} { if { [string compare -nocase $enetipinstance_name "ps7_ethernet"] == 0} {
set phyaddr [::hsm::utils::get_param_value $ipconv C_PHYADDR] set phyaddr [::hsi::utils::get_param_value $ipconv C_PHYADDR]
set phy_addr [::hsm::utils::convert_binary_to_decimal $phyaddr] set phy_addr [::hsi::utils::convert_binary_to_decimal $phyaddr]
if {[llength $phy_addr] == 0} { if {[llength $phy_addr] == 0} {
set phy_addr 0 set phy_addr 0
} }
@ -204,8 +204,8 @@ proc is_gige_pcs_pma_ip_present {slave} {
set tmp0 [string first "ENET1" $port_value] set tmp0 [string first "ENET1" $port_value]
if { $tmp0 >= 0 } { if { $tmp0 >= 0 } {
if { [string compare -nocase $enetipinstance_name "ps7_ethernet"] == 0} { if { [string compare -nocase $enetipinstance_name "ps7_ethernet"] == 0} {
set phyaddr [::hsm::utils::get_param_value $ipconv C_PHYADDR] set phyaddr [::hsi::utils::get_param_value $ipconv C_PHYADDR]
set phy_addr [::hsm::utils::convert_binary_to_decimal $phyaddr] set phy_addr [::hsi::utils::convert_binary_to_decimal $phyaddr]
puts [format "phy_addr %s phyaddr %s" $phy_addr $phyaddr] puts [format "phy_addr %s phyaddr %s" $phy_addr $phyaddr]
if {[llength $phy_addr] == 0} { if {[llength $phy_addr] == 0} {
set phy_addr 0 set phy_addr 0

View file

@ -99,7 +99,7 @@ proc gen_testfunc_call {swproj 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
@ -107,7 +107,7 @@ proc gen_testfunc_call {swproj mhsinst} {
set hasStdout 1 set hasStdout 1
} }
set isintr [::hsm::utils::is_ip_interrupting_current_proc $mhsinst] set isintr [::hsi::utils::is_ip_interrupting_current_proc $mhsinst]
set intcvar intc set intcvar intc