Skip to content

Commit

Permalink
targets/xilinx_zc706: SFP/etherbone working: added a note to use it
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed Mar 29, 2024
1 parent 917ae33 commit 27dce96
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion litex_boards/targets/xilinx_zc706.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@
# SPDX-License-Identifier: BSD-2-Clause

# Build/use
# Build/Load bitstream:
# ./xilinx_zc7006.py --with-etherbone --uart-name=crossover --csr-csv=csr.csv --build --load
#
# Test Ethernet:
# ping 192.168.1.50
#
# Test Console:
# litex_server --udp
# litex_term crossover
#
#
# Build/Load bitstream:
# ./xilinx_zc706.py --with-jtagbone --uart-name=crossover --csr-csv=csr.csv --build --load
#
Expand Down Expand Up @@ -79,8 +90,11 @@ def __init__(self, sys_clk_freq=125e6,
with_pcie = False,
**kwargs):
platform = xilinx_zc706.Platform()

# When nor jtagbone, nor etherbone are set forces jtagbone.
kwargs["uart_name"] = "crossover"
kwargs["with_jtagbone"] = True
if kwargs["with_jtagbone"] or with_etherbone:
kwargs["with_jtagbone"] = True

# CRG --------------------------------------------------------------------------------------
self.crg = _CRG(platform, sys_clk_freq)
Expand Down

0 comments on commit 27dce96

Please sign in to comment.