Wednesday, 2020-02-05

*** tpb has joined #litex00:00
*** CarlFK has quit IRC00:39
*** rohitksingh has joined #litex00:49
*** CarlFK has joined #litex02:23
*** m4ssi has joined #litex06:30
*** CarlFK has quit IRC07:01
*** CarlFK has joined #litex07:17
*** CarlFK has quit IRC08:05
*** rohitksingh has quit IRC09:23
*** m4ssi has quit IRC13:12
acathla_florent_, I'm lost. There are many more signals on MIIs, I don't know which module to keep or not...14:13
_florent_acathla: maybe the best is to look at GMII, since the PHY is also 8-bit: https://github.com/enjoy-digital/liteeth/blob/master/liteeth/phy/gmii.py14:15
tpbTitle: liteeth/gmii.py at master · enjoy-digital/liteeth · GitHub (at github.com)14:15
_florent_you need to create equivalents of https://github.com/enjoy-digital/liteeth/blob/master/liteeth/phy/gmii.py#L12-L43 for TX and RX14:15
tpbTitle: liteeth/gmii.py at master · enjoy-digital/liteeth · GitHub (at github.com)14:15
_florent_for the CRG, you can just create a dummy one using sys_clk for the eth_clk14:16
acathla_florent_, ok.14:16
_florent_acathla: in fact, sorry you should probably look at https://github.com/enjoy-digital/liteeth/blob/master/liteeth/phy/model.py14:16
tpbTitle: liteeth/model.py at master · enjoy-digital/liteeth · GitHub (at github.com)14:16
_florent_you can just reuse this CRG14:17
acathlaI was just looking at it =)14:17
_florent_and you can find the connection needed here: https://github.com/enjoy-digital/liteeth/blob/master/liteeth/phy/model.py#L36-L4814:17
tpbTitle: liteeth/model.py at master · enjoy-digital/liteeth · GitHub (at github.com)14:17
acathla_florent_, is the LiteEthPHYModel supposed to be a loopback interface? I see no Tx or Rx16:10
_florent_acathla: there is no TX/RX because it's directly done in the model16:21
_florent_https://github.com/enjoy-digital/liteeth/blob/master/liteeth/phy/model.py#L36-L40 is the TX16:22
tpbTitle: liteeth/model.py at master · enjoy-digital/liteeth · GitHub (at github.com)16:22
_florent_https://github.com/enjoy-digital/liteeth/blob/master/liteeth/phy/model.py#L36-L40 is the RX16:22
acathla_florent_, where does those pads.source_valid and pads.sink_valid go? I'm lost again :(16:40
_florent_acathla: that's a record from https://github.com/enjoy-digital/litex/blob/master/litex/tools/litex_sim.py#L51-L5716:41
tpbTitle: litex/litex_sim.py at master · enjoy-digital/litex · GitHub (at github.com)16:41
acathlaSocCore is using LiteEthPHY which will choose the right LiteEth*MII which will use LiteEthPHY*MIICRG and TX/RX16:42
acathla_florent_, Oh, ok, so I can generate these signals from my own module16:44
_florent_yes16:44
_florent_if you want to be sure to use the right PHY, you can also avoid using LiteEthPHY and just replace this with your PHY16:45
*** CarlFK has joined #litex16:54
*** rohitksingh has joined #litex17:18
*** rohitksingh has quit IRC20:42
*** rohitksingh has joined #litex21:04
*** rohitksingh has quit IRC21:20
*** rohitksingh has joined #litex21:28
*** rohitksingh has quit IRC21:38
*** rohitksingh has joined #litex21:43
*** rohitksingh has quit IRC22:19

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!