@@ -79,8 +79,6 @@ adi_add_bus "axis_eth_tx" "slave" \
7979 {" axis_eth_tx_tuser" " TUSER" } \
8080 ]
8181
82- adi_add_bus_clock " eth_tx_clk" " axis_eth_tx" " eth_tx_rst" " master" " master"
83-
8482adi_add_bus " axis_eth_rx" " master" \
8583 " xilinx.com:interface:axis_rtl:1.0" \
8684 " xilinx.com:interface:axis:1.0" \
@@ -93,8 +91,6 @@ adi_add_bus "axis_eth_rx" "master" \
9391 {" axis_eth_rx_tuser" " TUSER" } \
9492 ]
9593
96- adi_add_bus_clock " eth_rx_clk" " axis_eth_rx" " eth_rx_rst" " master" " master"
97-
9894adi_if_infer_bus analog.com:interface:if_ctrl_reg slave ctrl_reg [list \
9995 " ctrl_reg_wr_addr ctrl_reg_wr_addr" \
10096 " ctrl_reg_wr_data ctrl_reg_wr_data" \
@@ -136,47 +132,20 @@ adi_if_infer_bus analog.com:interface:if_axis_tx_ptp slave axis_tx_ptp [list \
136132 " ready axis_eth_tx_ptp_ts_ready" \
137133]
138134
139- adi_add_bus_clock " eth_tx_clk" " axis_tx_ptp" " eth_tx_rst" " master" " master"
140-
141- ipx::infer_bus_interface clk xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
142- set reset_intf_main [ipx::infer_bus_interface rst xilinx.com:signal:reset_rtl:1.0 [ipx::current_core]]
143- set reset_polarity_main [ipx::add_bus_parameter " POLARITY" $reset_intf_main ]
144- set_property value " ACTIVE_HIGH" $reset_polarity_main
145-
146- ipx::infer_bus_interface ptp_clk xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
147- ipx::infer_bus_interface ptp_sample_clk xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
148-
149- ipx::infer_bus_interface eth_tx_clk xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
150- ipx::infer_bus_interface eth_rx_clk xilinx.com:signal:clock_rtl:1.0 [ipx::current_core]
151-
152- set reset_intf_ptp [ipx::infer_bus_interface ptp_rst xilinx.com:signal:reset_rtl:1.0 [ipx::current_core]]
153- set reset_polarity_ptp [ipx::add_bus_parameter " POLARITY" $reset_intf_ptp ]
154- set_property value " ACTIVE_HIGH" $reset_polarity_ptp
155-
156- set eth_tx_rst_intf [ipx::infer_bus_interface eth_tx_rst xilinx.com:signal:reset_rtl:1.0 [ipx::current_core]]
157- set eth_tx_rst_polarity [ipx::add_bus_parameter " POLARITY" $eth_tx_rst_intf ]
158- set_property value " ACTIVE_HIGH" $eth_tx_rst_polarity
159- set eth_rx_rst_intf [ipx::infer_bus_interface eth_rx_rst xilinx.com:signal:reset_rtl:1.0 [ipx::current_core]]
160- set eth_rx_rst_polarity [ipx::add_bus_parameter " POLARITY" $eth_rx_rst_intf ]
161- set_property value " ACTIVE_HIGH" $eth_rx_rst_polarity
162-
163135adi_if_infer_bus analog.com:interface:if_ethernet_ptp slave ethernet_ptp_tx [list \
164- " ptp_clk eth_tx_clk " \
165- " ptp_rst eth_tx_rst " \
136+ " ptp_clk eth_tx_ptp_clk " \
137+ " ptp_rst eth_tx_ptp_rst " \
166138 " ptp_ts eth_tx_ptp_ts" \
167139 " ptp_ts_step eth_tx_ptp_ts_step" \
168140]
169141
170142adi_if_infer_bus analog.com:interface:if_ethernet_ptp slave ethernet_ptp_rx [list \
171- " ptp_clk eth_rx_clk " \
172- " ptp_rst eth_rx_rst " \
143+ " ptp_clk eth_rx_ptp_clk " \
144+ " ptp_rst eth_rx_ptp_rst " \
173145 " ptp_ts eth_rx_ptp_ts" \
174146 " ptp_ts_step eth_rx_ptp_ts_step" \
175147]
176148
177- adi_add_bus_clock " eth_tx_clk" " ethernet_ptp_tx" " eth_tx_rst" " master" " master"
178- adi_add_bus_clock " eth_rx_clk" " ethernet_ptp_rx" " eth_rx_rst" " master" " master"
179-
180149adi_if_infer_bus analog.com:interface:if_flow_control_tx slave flow_control_tx [list \
181150 " tx_enable eth_tx_enable" \
182151 " tx_status eth_tx_status" \
@@ -199,16 +168,6 @@ adi_if_infer_bus analog.com:interface:if_flow_control_rx slave flow_control_rx [
199168 " rx_fc_quanta_clk_en eth_rx_fc_quanta_clk_en" \
200169]
201170
202- adi_add_bus " m_axis_stat" " master" \
203- " xilinx.com:interface:axis_rtl:1.0" \
204- " xilinx.com:interface:axis:1.0" \
205- [ list \
206- {" s_axis_stat_tdata" " TDATA" } \
207- {" s_axis_stat_tid" " TID" } \
208- {" s_axis_stat_tvalid" " TVALID" } \
209- {" s_axis_stat_tready" " TREADY" } \
210- ]
211-
212171adi_if_infer_bus analog.com:interface:if_sfp master m_sfp [list \
213172 " rx_p sfp_rx_p" \
214173 " rx_n sfp_rx_n" \
@@ -271,6 +230,11 @@ adi_if_infer_bus analog.com:interface:if_ptp slave ptp_clock [list \
271230 " ptp_perout_pulse ptp_perout_pulse" \
272231]
273232
233+ adi_add_bus_clock " eth_tx_clk" " axis_eth_tx:axis_tx_ptp" " eth_tx_rst" " master" " master"
234+ adi_add_bus_clock " eth_rx_clk" " axis_eth_rx" " eth_rx_rst" " master" " master"
235+ adi_add_bus_clock " eth_tx_ptp_clk" " ethernet_ptp_tx" " eth_tx_ptp_rst" " master" " master"
236+ adi_add_bus_clock " eth_rx_ptp_clk" " ethernet_ptp_rx" " eth_rx_ptp_rst" " master" " master"
237+
274238# # Customize GUI page
275239
276240# Remove the automatically generated GUI page
0 commit comments