CarlFK has quit [Quit: Leaving.]
rohitksingh has joined #litex
CarlFK has joined #litex
m4ssi has joined #litex
CarlFK has quit [Ping timeout: 272 seconds]
CarlFK has joined #litex
CarlFK has quit [Ping timeout: 272 seconds]
rohitksingh has quit [Ping timeout: 246 seconds]
m4ssi has quit [Remote host closed the connection]
<acathla> _florent_, I'm lost. There are many more signals on MIIs, I don't know which module to keep or not...
<_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.py
<tpb> Title: liteeth/gmii.py at master · enjoy-digital/liteeth · GitHub (at github.com)
<_florent_> you need to create equivalents of https://github.com/enjoy-digital/liteeth/blob/master/liteeth/phy/gmii.py#L12-L43 for TX and RX
<tpb> Title: liteeth/gmii.py at master · enjoy-digital/liteeth · GitHub (at github.com)
<_florent_> for the CRG, you can just create a dummy one using sys_clk for the eth_clk
<acathla> _florent_, ok.
<_florent_> acathla: in fact, sorry you should probably look at https://github.com/enjoy-digital/liteeth/blob/master/liteeth/phy/model.py
<tpb> Title: liteeth/model.py at master · enjoy-digital/liteeth · GitHub (at github.com)
<_florent_> you can just reuse this CRG
<acathla> I was just looking at it =)
<_florent_> and you can find the connection needed here: https://github.com/enjoy-digital/liteeth/blob/master/liteeth/phy/model.py#L36-L48
<tpb> Title: liteeth/model.py at master · enjoy-digital/liteeth · GitHub (at github.com)
<acathla> _florent_, is the LiteEthPHYModel supposed to be a loopback interface? I see no Tx or Rx
<_florent_> acathla: there is no TX/RX because it's directly done in the model
<tpb> Title: liteeth/model.py at master · enjoy-digital/liteeth · GitHub (at github.com)
<acathla> _florent_, where does those pads.source_valid and pads.sink_valid go? I'm lost again :(
<tpb> Title: litex/litex_sim.py at master · enjoy-digital/litex · GitHub (at github.com)
<acathla> SocCore is using LiteEthPHY which will choose the right LiteEth*MII which will use LiteEthPHY*MIICRG and TX/RX
<acathla> _florent_, Oh, ok, so I can generate these signals from my own module
<_florent_> yes
<_florent_> if you want to be sure to use the right PHY, you can also avoid using LiteEthPHY and just replace this with your PHY
CarlFK has joined #litex
rohitksingh has joined #litex
rohitksingh has quit [Ping timeout: 245 seconds]
rohitksingh has joined #litex
rohitksingh has quit [Ping timeout: 260 seconds]
rohitksingh has joined #litex
rohitksingh has quit [Ping timeout: 265 seconds]
rohitksingh has joined #litex
rohitksingh has quit [Ping timeout: 240 seconds]
tpb has quit [Remote host closed the connection]
tpb has joined #litex