Skip to content

Instantly share code, notes, and snippets.

@simeonmiteff
Last active August 9, 2021 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simeonmiteff/abe97d2e2904c5373919db4c2f56e46f to your computer and use it in GitHub Desktop.
Save simeonmiteff/abe97d2e2904c5373919db4c2f56e46f to your computer and use it in GitHub Desktop.
Colorlight 5A-75B v7.0 with two Ethernet Phys?
#=============================================================================
self.submodules.ethphy0 = LiteEthPHYRGMII(
clock_pads = self.platform.request("eth_clocks", 0),
pads = self.platform.request("eth", 0),
tx_delay=0e-9,
)
self.add_etherbone(phy=self.ethphy0, ip_address=eth_ip, phy_cd="ethphy0_eth")
self.submodules.ethphy1 = LiteEthPHYRGMII(
clock_pads = self.platform.request("eth_clocks", 1),
pads = self.platform.request("eth", 1),
tx_delay=0e-9,
)
self.add_ethernet(phy=self.ethphy1, phy_cd="ethphy1_eth")
#=============================================================================
ERROR: Cell 'TRELLIS_IO' cannot be bound to bel 'X0/Y38/PIOD' since it is already bound to cell 'TRELLIS_IO_1'
#=============================================================================
self.submodules.ethphy0 = LiteEthPHYRGMII(
clock_pads = self.platform.request("eth_clocks", 0),
pads = self.platform.request("eth", 0),
tx_delay=0e-9,
)
self.add_etherbone(phy=self.ethphy0, ip_address=eth_ip)
self.submodules.ethphy1 = LiteEthPHYRGMII(
clock_pads = self.platform.request("eth_clocks", 1),
pads = self.platform.request("eth", 1),
tx_delay=0e-9,
)
self.add_ethernet(phy=self.ethphy1)
#=============================================================================
Exception: Unresolved clock domain eth_rx, availables:
- etherbone
- sys
- sys_ps
- ethphy0_eth_rx
- ethphy0_eth_tx
- ethphy1_eth_rx
- ethphy1_eth_tx
#=============================================================================
the_clock_pads = self.platform.request("eth_clocks", 0)
self.submodules.ethphy0 = LiteEthPHYRGMII(
clock_pads =the_clock_pads,
pads = self.platform.request("eth", 0),
tx_delay=0e-9,
)
self.add_etherbone(phy=self.ethphy0, ip_address=eth_ip, phy_cd="ethphy0_eth")
self.submodules.ethphy1 = LiteEthPHYRGMII(
clock_pads = the_clock_pads,
pads = self.platform.request("eth", 1),
tx_delay=0e-9,
)
self.add_ethernet(phy=self.ethphy1, phy_cd="ethphy1_eth")
#=============================================================================
Warning: multiple conflicting drivers for colorlight_5a_75b.\eth_clocks0_tx:
port Z[0] of cell DELAYG (DELAYG)
port Z[0] of cell DELAYG_11 (DELAYG)
found and reported 648 problems.
ERROR: Net 'eth_clocks0_tx' is multiply driven by cell ports DELAYG.Z and DELAYG_11.Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment