-
Notifications
You must be signed in to change notification settings - Fork 710
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example design for Alveo U55C and Alveo U55N/Varium C1100
Signed-off-by: Alex Forencich <[email protected]>
- Loading branch information
1 parent
fe5f6aa
commit 3535e53
Showing
11 changed files
with
1,368 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
|
||
# FPGA settings | ||
FPGA_PART = xcu55c-fsvh2892-2L-e | ||
FPGA_TOP = fpga | ||
FPGA_ARCH = virtexuplus | ||
|
||
# Files for synthesis | ||
SYN_FILES = rtl/fpga_au55.v | ||
SYN_FILES += rtl/fpga_core.v | ||
SYN_FILES += rtl/eth_xcvr_phy_wrapper.v | ||
SYN_FILES += rtl/eth_xcvr_phy_quad_wrapper.v | ||
SYN_FILES += rtl/sync_signal.v | ||
SYN_FILES += lib/eth/rtl/eth_mac_10g_fifo.v | ||
SYN_FILES += lib/eth/rtl/eth_mac_10g.v | ||
SYN_FILES += lib/eth/rtl/axis_xgmii_rx_64.v | ||
SYN_FILES += lib/eth/rtl/axis_xgmii_tx_64.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_rx.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_rx_if.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_rx_frame_sync.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_rx_ber_mon.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_rx_watchdog.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_tx.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_tx_if.v | ||
SYN_FILES += lib/eth/rtl/xgmii_baser_dec_64.v | ||
SYN_FILES += lib/eth/rtl/xgmii_baser_enc_64.v | ||
SYN_FILES += lib/eth/rtl/lfsr.v | ||
SYN_FILES += lib/eth/rtl/eth_axis_rx.v | ||
SYN_FILES += lib/eth/rtl/eth_axis_tx.v | ||
SYN_FILES += lib/eth/rtl/udp_complete_64.v | ||
SYN_FILES += lib/eth/rtl/udp_checksum_gen_64.v | ||
SYN_FILES += lib/eth/rtl/udp_64.v | ||
SYN_FILES += lib/eth/rtl/udp_ip_rx_64.v | ||
SYN_FILES += lib/eth/rtl/udp_ip_tx_64.v | ||
SYN_FILES += lib/eth/rtl/ip_complete_64.v | ||
SYN_FILES += lib/eth/rtl/ip_64.v | ||
SYN_FILES += lib/eth/rtl/ip_eth_rx_64.v | ||
SYN_FILES += lib/eth/rtl/ip_eth_tx_64.v | ||
SYN_FILES += lib/eth/rtl/ip_arb_mux.v | ||
SYN_FILES += lib/eth/rtl/arp.v | ||
SYN_FILES += lib/eth/rtl/arp_cache.v | ||
SYN_FILES += lib/eth/rtl/arp_eth_rx.v | ||
SYN_FILES += lib/eth/rtl/arp_eth_tx.v | ||
SYN_FILES += lib/eth/rtl/eth_arb_mux.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/arbiter.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/priority_encoder.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/axis_fifo.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/axis_register.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/axis_async_fifo.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/axis_async_fifo_adapter.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/sync_reset.v | ||
|
||
# XDC files | ||
XDC_FILES = fpga_au55.xdc | ||
XDC_FILES += lib/eth/syn/vivado/eth_mac_fifo.tcl | ||
XDC_FILES += lib/eth/lib/axis/syn/vivado/axis_async_fifo.tcl | ||
XDC_FILES += lib/eth/lib/axis/syn/vivado/sync_reset.tcl | ||
|
||
# IP | ||
IP_TCL_FILES += ip/eth_xcvr_gt.tcl | ||
|
||
# Configuration | ||
CONFIG_TCL_FILES = ./config.tcl | ||
|
||
include ../common/vivado.mk | ||
|
||
program: $(FPGA_TOP).bit | ||
echo "open_hw" > program.tcl | ||
echo "connect_hw_server" >> program.tcl | ||
echo "open_hw_target" >> program.tcl | ||
echo "current_hw_device [lindex [get_hw_devices] 0]" >> program.tcl | ||
echo "refresh_hw_device -update_hw_probes false [current_hw_device]" >> program.tcl | ||
echo "set_property PROGRAM.FILE {$(FPGA_TOP).bit} [current_hw_device]" >> program.tcl | ||
echo "program_hw_devices [current_hw_device]" >> program.tcl | ||
echo "exit" >> program.tcl | ||
vivado -nojournal -nolog -mode batch -source program.tcl | ||
|
||
%.mcs %.prm: %.bit | ||
echo "write_cfgmem -force -format mcs -size 128 -interface SPIx4 -loadbit {up 0x01002000 $*.bit} -checksum -file $*.mcs" > generate_mcs.tcl | ||
echo "exit" >> generate_mcs.tcl | ||
vivado -nojournal -nolog -mode batch -source generate_mcs.tcl | ||
mkdir -p rev | ||
COUNT=100; \ | ||
while [ -e rev/$*_rev$$COUNT.bit ]; \ | ||
do COUNT=$$((COUNT+1)); done; \ | ||
COUNT=$$((COUNT-1)); \ | ||
for x in .mcs .prm; \ | ||
do cp $*$$x rev/$*_rev$$COUNT$$x; \ | ||
echo "Output: rev/$*_rev$$COUNT$$x"; done; | ||
|
||
flash: $(FPGA_TOP).mcs $(FPGA_TOP).prm | ||
echo "open_hw" > flash.tcl | ||
echo "connect_hw_server" >> flash.tcl | ||
echo "open_hw_target" >> flash.tcl | ||
echo "current_hw_device [lindex [get_hw_devices] 0]" >> flash.tcl | ||
echo "refresh_hw_device -update_hw_probes false [current_hw_device]" >> flash.tcl | ||
echo "create_hw_cfgmem -hw_device [current_hw_device] [lindex [get_cfgmem_parts {mt25qu01g-spi-x1_x2_x4}] 0]" >> flash.tcl | ||
echo "current_hw_cfgmem -hw_device [current_hw_device] [get_property PROGRAM.HW_CFGMEM [current_hw_device]]" >> flash.tcl | ||
echo "set_property PROGRAM.FILES [list \"$(FPGA_TOP).mcs\"] [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.PRM_FILES [list \"$(FPGA_TOP).prm\"] [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.ERASE 1 [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.CFG_PROGRAM 1 [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.VERIFY 1 [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.CHECKSUM 0 [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.ADDRESS_RANGE {use_file} [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.UNUSED_PIN_TERMINATION {pull-none} [current_hw_cfgmem]" >> flash.tcl | ||
echo "create_hw_bitstream -hw_device [current_hw_device] [get_property PROGRAM.HW_CFGMEM_BITFILE [current_hw_device]]" >> flash.tcl | ||
echo "program_hw_devices [current_hw_device]" >> flash.tcl | ||
echo "refresh_hw_device [current_hw_device]" >> flash.tcl | ||
echo "program_hw_cfgmem -hw_cfgmem [current_hw_cfgmem]" >> flash.tcl | ||
echo "boot_hw_device [current_hw_device]" >> flash.tcl | ||
echo "exit" >> flash.tcl | ||
vivado -nojournal -nolog -mode batch -source flash.tcl | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Copyright (c) 2023 Alex Forencich | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
# THE SOFTWARE. | ||
|
||
# Transceiver configuration | ||
set eth_xcvr_freerun_freq {125} | ||
set eth_xcvr_line_rate {25.78125} | ||
set eth_xcvr_sec_line_rate {0} | ||
set eth_xcvr_refclk_freq {161.1328125} | ||
set eth_xcvr_qpll_fracn [expr {int(fmod($eth_xcvr_line_rate*1000/2 / $eth_xcvr_refclk_freq, 1)*pow(2, 24))}] | ||
set eth_xcvr_sec_qpll_fracn [expr {int(fmod($eth_xcvr_sec_line_rate*1000/2 / $eth_xcvr_refclk_freq, 1)*pow(2, 24))}] | ||
set eth_xcvr_rx_eq_mode {DFE} | ||
|
||
set xcvr_config [dict create] | ||
|
||
dict set xcvr_config CONFIG.TX_LINE_RATE $eth_xcvr_line_rate | ||
dict set xcvr_config CONFIG.TX_QPLL_FRACN_NUMERATOR $eth_xcvr_qpll_fracn | ||
dict set xcvr_config CONFIG.TX_REFCLK_FREQUENCY $eth_xcvr_refclk_freq | ||
dict set xcvr_config CONFIG.RX_LINE_RATE $eth_xcvr_line_rate | ||
dict set xcvr_config CONFIG.RX_QPLL_FRACN_NUMERATOR $eth_xcvr_qpll_fracn | ||
dict set xcvr_config CONFIG.RX_REFCLK_FREQUENCY $eth_xcvr_refclk_freq | ||
dict set xcvr_config CONFIG.RX_EQ_MODE $eth_xcvr_rx_eq_mode | ||
if {$eth_xcvr_sec_line_rate != 0} { | ||
dict set xcvr_config CONFIG.SECONDARY_QPLL_ENABLE true | ||
dict set xcvr_config CONFIG.SECONDARY_QPLL_FRACN_NUMERATOR $eth_xcvr_sec_qpll_fracn | ||
dict set xcvr_config CONFIG.SECONDARY_QPLL_LINE_RATE $eth_xcvr_sec_line_rate | ||
dict set xcvr_config CONFIG.SECONDARY_QPLL_REFCLK_FREQUENCY $eth_xcvr_refclk_freq | ||
} else { | ||
dict set xcvr_config CONFIG.SECONDARY_QPLL_ENABLE false | ||
} | ||
dict set xcvr_config CONFIG.FREERUN_FREQUENCY $eth_xcvr_freerun_freq | ||
|
||
set_property -dict $xcvr_config [get_ips eth_xcvr_gt_full] | ||
set_property -dict $xcvr_config [get_ips eth_xcvr_gt_channel] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
|
||
# FPGA settings | ||
FPGA_PART = xcu55c-fsvh2892-2L-e | ||
FPGA_TOP = fpga | ||
FPGA_ARCH = virtexuplus | ||
|
||
# Files for synthesis | ||
SYN_FILES = rtl/fpga_au55.v | ||
SYN_FILES += rtl/fpga_core.v | ||
SYN_FILES += rtl/eth_xcvr_phy_wrapper.v | ||
SYN_FILES += rtl/eth_xcvr_phy_quad_wrapper.v | ||
SYN_FILES += rtl/sync_signal.v | ||
SYN_FILES += lib/eth/rtl/eth_mac_10g_fifo.v | ||
SYN_FILES += lib/eth/rtl/eth_mac_10g.v | ||
SYN_FILES += lib/eth/rtl/axis_xgmii_rx_64.v | ||
SYN_FILES += lib/eth/rtl/axis_xgmii_tx_64.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_rx.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_rx_if.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_rx_frame_sync.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_rx_ber_mon.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_rx_watchdog.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_tx.v | ||
SYN_FILES += lib/eth/rtl/eth_phy_10g_tx_if.v | ||
SYN_FILES += lib/eth/rtl/xgmii_baser_dec_64.v | ||
SYN_FILES += lib/eth/rtl/xgmii_baser_enc_64.v | ||
SYN_FILES += lib/eth/rtl/lfsr.v | ||
SYN_FILES += lib/eth/rtl/eth_axis_rx.v | ||
SYN_FILES += lib/eth/rtl/eth_axis_tx.v | ||
SYN_FILES += lib/eth/rtl/udp_complete_64.v | ||
SYN_FILES += lib/eth/rtl/udp_checksum_gen_64.v | ||
SYN_FILES += lib/eth/rtl/udp_64.v | ||
SYN_FILES += lib/eth/rtl/udp_ip_rx_64.v | ||
SYN_FILES += lib/eth/rtl/udp_ip_tx_64.v | ||
SYN_FILES += lib/eth/rtl/ip_complete_64.v | ||
SYN_FILES += lib/eth/rtl/ip_64.v | ||
SYN_FILES += lib/eth/rtl/ip_eth_rx_64.v | ||
SYN_FILES += lib/eth/rtl/ip_eth_tx_64.v | ||
SYN_FILES += lib/eth/rtl/ip_arb_mux.v | ||
SYN_FILES += lib/eth/rtl/arp.v | ||
SYN_FILES += lib/eth/rtl/arp_cache.v | ||
SYN_FILES += lib/eth/rtl/arp_eth_rx.v | ||
SYN_FILES += lib/eth/rtl/arp_eth_tx.v | ||
SYN_FILES += lib/eth/rtl/eth_arb_mux.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/arbiter.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/priority_encoder.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/axis_fifo.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/axis_register.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/axis_async_fifo.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/axis_async_fifo_adapter.v | ||
SYN_FILES += lib/eth/lib/axis/rtl/sync_reset.v | ||
|
||
# XDC files | ||
XDC_FILES = fpga_au55.xdc | ||
XDC_FILES += lib/eth/syn/vivado/eth_mac_fifo.tcl | ||
XDC_FILES += lib/eth/lib/axis/syn/vivado/axis_async_fifo.tcl | ||
XDC_FILES += lib/eth/lib/axis/syn/vivado/sync_reset.tcl | ||
|
||
# IP | ||
IP_TCL_FILES += ip/eth_xcvr_gt.tcl | ||
|
||
# Configuration | ||
CONFIG_TCL_FILES = ./config.tcl | ||
|
||
include ../common/vivado.mk | ||
|
||
program: $(FPGA_TOP).bit | ||
echo "open_hw" > program.tcl | ||
echo "connect_hw_server" >> program.tcl | ||
echo "open_hw_target" >> program.tcl | ||
echo "current_hw_device [lindex [get_hw_devices] 0]" >> program.tcl | ||
echo "refresh_hw_device -update_hw_probes false [current_hw_device]" >> program.tcl | ||
echo "set_property PROGRAM.FILE {$(FPGA_TOP).bit} [current_hw_device]" >> program.tcl | ||
echo "program_hw_devices [current_hw_device]" >> program.tcl | ||
echo "exit" >> program.tcl | ||
vivado -nojournal -nolog -mode batch -source program.tcl | ||
|
||
%.mcs %.prm: %.bit | ||
echo "write_cfgmem -force -format mcs -size 128 -interface SPIx4 -loadbit {up 0x01002000 $*.bit} -checksum -file $*.mcs" > generate_mcs.tcl | ||
echo "exit" >> generate_mcs.tcl | ||
vivado -nojournal -nolog -mode batch -source generate_mcs.tcl | ||
mkdir -p rev | ||
COUNT=100; \ | ||
while [ -e rev/$*_rev$$COUNT.bit ]; \ | ||
do COUNT=$$((COUNT+1)); done; \ | ||
COUNT=$$((COUNT-1)); \ | ||
for x in .mcs .prm; \ | ||
do cp $*$$x rev/$*_rev$$COUNT$$x; \ | ||
echo "Output: rev/$*_rev$$COUNT$$x"; done; | ||
|
||
flash: $(FPGA_TOP).mcs $(FPGA_TOP).prm | ||
echo "open_hw" > flash.tcl | ||
echo "connect_hw_server" >> flash.tcl | ||
echo "open_hw_target" >> flash.tcl | ||
echo "current_hw_device [lindex [get_hw_devices] 0]" >> flash.tcl | ||
echo "refresh_hw_device -update_hw_probes false [current_hw_device]" >> flash.tcl | ||
echo "create_hw_cfgmem -hw_device [current_hw_device] [lindex [get_cfgmem_parts {mt25qu01g-spi-x1_x2_x4}] 0]" >> flash.tcl | ||
echo "current_hw_cfgmem -hw_device [current_hw_device] [get_property PROGRAM.HW_CFGMEM [current_hw_device]]" >> flash.tcl | ||
echo "set_property PROGRAM.FILES [list \"$(FPGA_TOP).mcs\"] [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.PRM_FILES [list \"$(FPGA_TOP).prm\"] [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.ERASE 1 [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.CFG_PROGRAM 1 [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.VERIFY 1 [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.CHECKSUM 0 [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.ADDRESS_RANGE {use_file} [current_hw_cfgmem]" >> flash.tcl | ||
echo "set_property PROGRAM.UNUSED_PIN_TERMINATION {pull-none} [current_hw_cfgmem]" >> flash.tcl | ||
echo "create_hw_bitstream -hw_device [current_hw_device] [get_property PROGRAM.HW_CFGMEM_BITFILE [current_hw_device]]" >> flash.tcl | ||
echo "program_hw_devices [current_hw_device]" >> flash.tcl | ||
echo "refresh_hw_device [current_hw_device]" >> flash.tcl | ||
echo "program_hw_cfgmem -hw_cfgmem [current_hw_cfgmem]" >> flash.tcl | ||
echo "boot_hw_device [current_hw_device]" >> flash.tcl | ||
echo "exit" >> flash.tcl | ||
vivado -nojournal -nolog -mode batch -source flash.tcl | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Copyright (c) 2023 Alex Forencich | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
# THE SOFTWARE. | ||
|
||
# Transceiver configuration | ||
set eth_xcvr_freerun_freq {125} | ||
set eth_xcvr_line_rate {10.3125} | ||
set eth_xcvr_sec_line_rate {0} | ||
set eth_xcvr_refclk_freq {161.1328125} | ||
set eth_xcvr_qpll_fracn [expr {int(fmod($eth_xcvr_line_rate*1000/2 / $eth_xcvr_refclk_freq, 1)*pow(2, 24))}] | ||
set eth_xcvr_sec_qpll_fracn [expr {int(fmod($eth_xcvr_sec_line_rate*1000/2 / $eth_xcvr_refclk_freq, 1)*pow(2, 24))}] | ||
set eth_xcvr_rx_eq_mode {DFE} | ||
|
||
set xcvr_config [dict create] | ||
|
||
dict set xcvr_config CONFIG.TX_LINE_RATE $eth_xcvr_line_rate | ||
dict set xcvr_config CONFIG.TX_QPLL_FRACN_NUMERATOR $eth_xcvr_qpll_fracn | ||
dict set xcvr_config CONFIG.TX_REFCLK_FREQUENCY $eth_xcvr_refclk_freq | ||
dict set xcvr_config CONFIG.RX_LINE_RATE $eth_xcvr_line_rate | ||
dict set xcvr_config CONFIG.RX_QPLL_FRACN_NUMERATOR $eth_xcvr_qpll_fracn | ||
dict set xcvr_config CONFIG.RX_REFCLK_FREQUENCY $eth_xcvr_refclk_freq | ||
dict set xcvr_config CONFIG.RX_EQ_MODE $eth_xcvr_rx_eq_mode | ||
if {$eth_xcvr_sec_line_rate != 0} { | ||
dict set xcvr_config CONFIG.SECONDARY_QPLL_ENABLE true | ||
dict set xcvr_config CONFIG.SECONDARY_QPLL_FRACN_NUMERATOR $eth_xcvr_sec_qpll_fracn | ||
dict set xcvr_config CONFIG.SECONDARY_QPLL_LINE_RATE $eth_xcvr_sec_line_rate | ||
dict set xcvr_config CONFIG.SECONDARY_QPLL_REFCLK_FREQUENCY $eth_xcvr_refclk_freq | ||
} else { | ||
dict set xcvr_config CONFIG.SECONDARY_QPLL_ENABLE false | ||
} | ||
dict set xcvr_config CONFIG.FREERUN_FREQUENCY $eth_xcvr_freerun_freq | ||
|
||
set_property -dict $xcvr_config [get_ips eth_xcvr_gt_full] | ||
set_property -dict $xcvr_config [get_ips eth_xcvr_gt_channel] |
Oops, something went wrong.