Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

axi_ethernet: fix DT gen in "PCS/PMA" mode #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions axi_ethernet/data/axi_ethernet.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ proc generate {drv_handle} {

if { [llength $intf] } {
set connected_ip [get_connectedip $intf]
} else {
set connected_ip ""
}

foreach n "AXI_STR_RXD m_axis_tx_ts" {
Expand All @@ -140,6 +142,7 @@ proc generate {drv_handle} {
set tx_tsip [get_connectedip $intf]
set_drv_prop $drv_handle axififo-connected "$tx_tsip" reference
}

if {![string_is_empty $connected_ip]} {
set_property axistream-connected "$connected_ip" $drv_handle
set_property axistream-control-connected "$connected_ip" $drv_handle
Expand Down