examples: Improve identation/presentation.
This commit is contained in:
parent
e3a5d6fc19
commit
2c67d13456
|
@ -6,14 +6,16 @@
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
# PHY ----------------------------------------------------------------------
|
# PHY ----------------------------------------------------------------------
|
||||||
phy: LiteEthPHYMII
|
phy : LiteEthPHYMII
|
||||||
vendor: xilinx
|
vendor : xilinx
|
||||||
toolchain: vivado
|
toolchain : vivado
|
||||||
# Core ---------------------------------------------------------------------
|
|
||||||
clk_freq: 100e6
|
|
||||||
core: axi-lite
|
|
||||||
endianness: big
|
|
||||||
|
|
||||||
|
# Core ---------------------------------------------------------------------
|
||||||
|
clk_freq : 100e6
|
||||||
|
core : axi-lite
|
||||||
|
endianness : big
|
||||||
|
|
||||||
|
# SoC ---------------------------------------------------------------------
|
||||||
soc:
|
soc:
|
||||||
mem_map:
|
mem_map:
|
||||||
ethmac: 0x50000000
|
ethmac: 0x50000000
|
||||||
|
|
|
@ -4,14 +4,14 @@
|
||||||
# Copyright (c) 2020-2024 Florent Kermarrec <florent@enjoy-digital.fr>
|
# Copyright (c) 2020-2024 Florent Kermarrec <florent@enjoy-digital.fr>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
# PHY ----------------------------------------------------------------------
|
# PHY --------------------------------------------------------------------------
|
||||||
phy : A7_1000BASEX
|
phy : A7_1000BASEX
|
||||||
phy_tx_polarity : 0
|
phy_tx_polarity : 0
|
||||||
phy_rx_polarity : 0
|
phy_rx_polarity : 0
|
||||||
vendor : xilinx
|
vendor : xilinx
|
||||||
toolchain : vivado
|
toolchain : vivado
|
||||||
|
|
||||||
# Core ---------------------------------------------------------------------
|
# Core -------------------------------------------------------------------------
|
||||||
refclk_freq : 156.25e6
|
refclk_freq : 156.25e6
|
||||||
clk_freq : 25e6
|
clk_freq : 25e6
|
||||||
core : udp
|
core : udp
|
||||||
|
@ -19,8 +19,8 @@ data_width : 32
|
||||||
dhcp : True
|
dhcp : True
|
||||||
|
|
||||||
# UDP Ports --------------------------------------------------------------------
|
# UDP Ports --------------------------------------------------------------------
|
||||||
udp_ports: {
|
udp_ports : {
|
||||||
"udp0": {
|
"udp0" : {
|
||||||
"data_width" : 32,
|
"data_width" : 32,
|
||||||
"tx_fifo_depth" : 1024,
|
"tx_fifo_depth" : 1024,
|
||||||
"rx_fifo_depth" : 1024,
|
"rx_fifo_depth" : 1024,
|
||||||
|
|
|
@ -1,24 +1,29 @@
|
||||||
--- # PHY ----------------------------------------------------------------------
|
#
|
||||||
|
# This file is part of LiteEth.
|
||||||
|
#
|
||||||
# Copyright (c) 2023 LumiGuide Fietsdetectie B.V. <goemansrowan@gmail.com>
|
# Copyright (c) 2023 LumiGuide Fietsdetectie B.V. <goemansrowan@gmail.com>
|
||||||
# License: BSD
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
|
# PHY --------------------------------------------------------------------------
|
||||||
|
phy : LiteEthECP5PHYRGMII
|
||||||
|
phy_tx_delay : 0e-9
|
||||||
|
phy_rx_delay : 2e-9
|
||||||
|
device : LFE5U-25F-6BG256C
|
||||||
|
vendor : lattice
|
||||||
|
toolchain : trellis
|
||||||
|
|
||||||
phy: LiteEthECP5PHYRGMII
|
|
||||||
phy_tx_delay: 0e-9
|
|
||||||
phy_rx_delay: 2e-9
|
|
||||||
device: LFE5U-25F-6BG256C
|
|
||||||
vendor: lattice
|
|
||||||
toolchain: trellis
|
|
||||||
# Core -------------------------------------------------------------------------
|
# Core -------------------------------------------------------------------------
|
||||||
clk_freq: 125e6
|
clk_freq : 125e6
|
||||||
core: udp
|
core : udp
|
||||||
|
|
||||||
mac_address: 0x10e2d5000000
|
mac_address : 0x10e2d5000000
|
||||||
ip_address: 172.30.0.1
|
ip_address : 172.30.0.1
|
||||||
|
|
||||||
|
tx_cdc_depth : 16
|
||||||
|
tx_cdc_buffered : True
|
||||||
|
rx_cdc_depth : 16
|
||||||
|
rx_cdc_buffered : True
|
||||||
|
|
||||||
tx_cdc_depth: 16
|
|
||||||
tx_cdc_buffered: True
|
|
||||||
rx_cdc_depth: 16
|
|
||||||
rx_cdc_buffered: True
|
|
||||||
# UDP Ports --------------------------------------------------------------------
|
# UDP Ports --------------------------------------------------------------------
|
||||||
# mode `raw` vs `streamer` mode:
|
# mode `raw` vs `streamer` mode:
|
||||||
# The streamer mode is a convenience wrapper around a `raw` UDP port. A raw UDP
|
# The streamer mode is a convenience wrapper around a `raw` UDP port. A raw UDP
|
||||||
|
@ -32,13 +37,13 @@ rx_cdc_buffered: True
|
||||||
# control of transmitted UDP packet sizes.
|
# control of transmitted UDP packet sizes.
|
||||||
udp_ports:
|
udp_ports:
|
||||||
raw:
|
raw:
|
||||||
data_width: 32
|
data_width : 32
|
||||||
mode: raw
|
mode : raw
|
||||||
streamer1:
|
streamer1:
|
||||||
data_width: 32
|
data_width : 32
|
||||||
port: 1337
|
port : 1337
|
||||||
mode: streamer
|
mode : streamer
|
||||||
streamer2:
|
streamer2:
|
||||||
data_width: 32
|
data_width : 32
|
||||||
port: 6077
|
port : 6077
|
||||||
mode: streamer
|
mode : streamer
|
||||||
|
|
|
@ -5,27 +5,27 @@
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
# PHY --------------------------------------------------------------------------
|
# PHY --------------------------------------------------------------------------
|
||||||
phy: LiteEthS7PHYRGMII
|
phy : LiteEthS7PHYRGMII
|
||||||
vendor: xilinx
|
vendor : xilinx
|
||||||
toolchain: vivado
|
toolchain : vivado
|
||||||
|
|
||||||
# Core -------------------------------------------------------------------------
|
# Core -------------------------------------------------------------------------
|
||||||
clk_freq: 125e6
|
clk_freq : 125e6
|
||||||
core: udp
|
core : udp
|
||||||
mac_address: 0x10e2d5000000
|
mac_address : 0x10e2d5000000
|
||||||
ip_address: 192.168.1.50
|
ip_address : 192.168.1.50
|
||||||
data_width: 8
|
data_width : 8
|
||||||
|
|
||||||
# UDP Ports --------------------------------------------------------------------
|
# UDP Ports --------------------------------------------------------------------
|
||||||
udp_ports: {
|
udp_ports : {
|
||||||
"udp0": {
|
"udp0" : {
|
||||||
"udp_port" : 2000, # Static Params.
|
"udp_port" : 2000, # Static Params.
|
||||||
"ip_address" : "192.168.1.100", # Static Params.
|
"ip_address" : "192.168.1.100", # Static Params.
|
||||||
"data_width" : 32,
|
"data_width" : 32,
|
||||||
"tx_fifo_depth" : 64,
|
"tx_fifo_depth" : 64,
|
||||||
"rx_fifo_depth" : 64,
|
"rx_fifo_depth" : 64,
|
||||||
},
|
},
|
||||||
"udp1": {
|
"udp1" : {
|
||||||
#"udp_port" : , # Dynamic Params.
|
#"udp_port" : , # Dynamic Params.
|
||||||
#"ip_address" : , # Dynamic Params.
|
#"ip_address" : , # Dynamic Params.
|
||||||
"data_width" : 32,
|
"data_width" : 32,
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
# Copyright (c) 2020-2023 Florent Kermarrec <florent@enjoy-digital.fr>
|
# Copyright (c) 2020-2023 Florent Kermarrec <florent@enjoy-digital.fr>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
# PHY ----------------------------------------------------------------------
|
# PHY --------------------------------------------------------------------------
|
||||||
phy : USP_GTH_1000BASEX
|
phy : USP_GTH_1000BASEX
|
||||||
vendor : xilinx
|
vendor : xilinx
|
||||||
toolchain : vivado
|
toolchain : vivado
|
||||||
|
|
||||||
# Core ---------------------------------------------------------------------
|
# Core -------------------------------------------------------------------------
|
||||||
refclk_freq : 156.25e6
|
refclk_freq : 156.25e6
|
||||||
clk_freq : 25e6
|
clk_freq : 25e6
|
||||||
core : udp
|
core : udp
|
||||||
|
@ -17,8 +17,8 @@ data_width : 32
|
||||||
dhcp : True
|
dhcp : True
|
||||||
|
|
||||||
# UDP Ports --------------------------------------------------------------------
|
# UDP Ports --------------------------------------------------------------------
|
||||||
udp_ports: {
|
udp_ports : {
|
||||||
"udp0": {
|
"udp0" : {
|
||||||
"data_width" : 32,
|
"data_width" : 32,
|
||||||
"tx_fifo_depth" : 1024,
|
"tx_fifo_depth" : 1024,
|
||||||
"rx_fifo_depth" : 1024,
|
"rx_fifo_depth" : 1024,
|
||||||
|
|
|
@ -4,15 +4,17 @@
|
||||||
# Copyright (c) 2020 Florent Kermarrec <florent@enjoy-digital.fr>
|
# Copyright (c) 2020 Florent Kermarrec <florent@enjoy-digital.fr>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
# PHY ----------------------------------------------------------------------
|
# PHY --------------------------------------------------------------------------
|
||||||
phy: LiteEthPHYMII
|
phy : LiteEthPHYMII
|
||||||
vendor: xilinx
|
vendor : xilinx
|
||||||
toolchain: vivado
|
toolchain : vivado
|
||||||
# Core ---------------------------------------------------------------------
|
|
||||||
clk_freq: 100e6
|
|
||||||
core: wishbone
|
|
||||||
endianness: big
|
|
||||||
|
|
||||||
|
# Core -------------------------------------------------------------------------
|
||||||
|
clk_freq : 100e6
|
||||||
|
core : wishbone
|
||||||
|
endianness : big
|
||||||
|
|
||||||
|
# SoC --------------------------------------------------------------------------
|
||||||
soc:
|
soc:
|
||||||
mem_map:
|
mem_map:
|
||||||
ethmac: 0x50000000
|
ethmac: 0x50000000
|
||||||
|
|
Loading…
Reference in New Issue