Monday, 2020-08-24

*** tpb has joined #litex00:00
*** jaseg has quit IRC02:23
*** jaseg has joined #litex02:25
*** Degi has quit IRC04:00
*** Degi has joined #litex04:01
*** guan has quit IRC06:23
*** guan has joined #litex06:23
_florent_feldim2425: soc_core.py/SoCCore is still used indeed, but the logic has been rewritten and moved to soc.py, it's mostly providing a retro-compatibility layer now and the aim in the future is to switch designs to LiteXSoC directly06:40
_florent_[Matt]: when testing https://github.com/enjoy-digital/pcie_analyzer/blob/master/ac701.py we indeed had issues calibrating all the modules together on the AC70106:43
tpbTitle: pcie_analyzer/ac701.py at master · enjoy-digital/pcie_analyzer · GitHub (at github.com)06:43
_florent_you can try to reduce the DRAM IOs to https://github.com/enjoy-digital/pcie_analyzer/blob/master/ac701.py#L91-L12006:43
tpbTitle: pcie_analyzer/ac701.py at master · enjoy-digital/pcie_analyzer · GitHub (at github.com)06:43
_florent_or  use the PHYPadsReducer on the ddram_pads, like done here: https://github.com/enjoy-digital/litex_vexriscv_smp/blob/master/genesys2.py#L8006:45
tpbTitle: litex_vexriscv_smp/genesys2.py at master · enjoy-digital/litex_vexriscv_smp · GitHub (at github.com)06:45
_florent_but with PHYPadsReducer(platform.request("ddram"), [0, 1, 2, 3])06:45
_florent_this will use half the data pads and should allow you to get it working, i'll work on improving the flexibility of the calibration soon but don't have an AC701 to test.06:47
*** kgugala has joined #litex07:56
*** kgugala_ has quit IRC07:58
*** FFY00 has quit IRC08:54
*** FFY00 has joined #litex08:54
*** m4ssi has joined #litex08:56
*** mibus[m] has quit IRC09:01
*** kgugala has quit IRC11:44
*** kgugala has joined #litex11:44
[Matt]_florent_: Ahah! Many thanks, Florent.  (I've been swapping pins this morning; there are 6 working bytes, 2 non-working.  Had indeed wondered about reducing to 32b width, thanks!)12:14
[Matt]_florent_: Do you have a suspicion re the calibration problem?  (BTW I am happy to help test on AC701, in future.)12:16
*** kgugala has quit IRC12:51
*** kgugala has joined #litex12:51
*** m4ssi has quit IRC12:52
*** kgugala_ has joined #litex12:53
*** kgugala has quit IRC12:54
*** kgugala has joined #litex12:55
*** kgugala_ has quit IRC12:56
*** kgugala_ has joined #litex12:56
*** kgugala has quit IRC12:59
[Matt]_florent_: FWIW, PHYPadsReducer w/ [4, 5, 6, 7], plus cmd_latency=1 works on my AC701.  (Thanks again!)  Any combination that includes byte lanes 0 or 1 fails.13:40
*** kgugala has joined #litex13:51
*** kgugala_ has quit IRC13:52
*** FFY00 has quit IRC13:53
*** FFY00 has joined #litex13:54
*** peeps has joined #litex14:58
*** peeps[zen] has quit IRC15:03
*** FFY00 has quit IRC15:03
*** tannewt has quit IRC15:03
*** tannewt has joined #litex15:05
*** y2kbugger has quit IRC15:07
*** y2kbugger_ has joined #litex15:07
*** y2kbugger_ is now known as y2kbugger15:07
*** lf_ has quit IRC15:08
*** lf has joined #litex15:11
*** _whitelogger has quit IRC15:22
*** disasm[m] has quit IRC15:22
*** nrossi has quit IRC15:22
*** FFY00 has joined #litex15:24
*** esden has quit IRC15:27
*** esden has joined #litex15:29
*** nrossi has joined #litex15:34
*** disasm[m] has joined #litex15:35
*** _whitelogger has joined #litex15:35
*** awe00 has joined #litex16:01
*** awe00 has quit IRC16:24
*** awe00 has joined #litex16:32
*** feldim2425_ has joined #litex16:42
*** feldim2425 has quit IRC16:42
*** kgugala_ has joined #litex16:42
*** kgugala has quit IRC16:44
*** FFY00 has quit IRC17:48
*** FFY00 has joined #litex17:54
felix_when i tried to get the ddr3 dram running on the ac701 in early 2018 i didn't get it working; iirc the issue is likely that litedram doesn't do read leveling on artix718:01
*** awe001 has joined #litex18:03
felix_having 6 out of 8 byte lanes working sounds like what i was seeing back then18:04
*** awe00 has quit IRC18:05
felix_for read leveling the odelay blocks are used that are only present on the high performance i/o banks, but a7 doesn't have those; k7 does have those. a7 has some other i/o logic for the ds/dqs interfaces, but last time i looked, litedram didn't use those18:09
[Matt]felix_: Merci! (Do you mean write levelling? This build is appearing to do read levelling but not WR.)  Naively, would no WL mean getting corruption of written data?  (I see zero for those lanes no matter what I write, it's quite strange, not just random/broken data.)19:07
_florent_A "real" write leveling is indeed not possible on Artix7 with the current PHY (that is only using ISERDESE2/ODERDESE2 + IODELAYs) since the ODELAYs are not present on Artix7, so we are using a phase shifted clock, but with a 64-bit SODIMM it's difficult to have a phase shift that works for all modules.19:14
*** awe002 has joined #litex19:14
_florent_The read leveling is similar to the one on Kintex719:14
[Matt]Ahhh19:14
[Matt]_florent_: Can you tell me a little more about the dedicated dqs logic? (I'm assuming MIG uses this!)19:16
*** awe001 has quit IRC19:16
[Matt]er, that felix_ mentioned ;)19:16
zyp_florent_, IIRC you mentioned etherbone can now be used at sys clock rates below 125MHz, was that so?19:18
[Matt]Another experiment I found interesting was to restrict to a 16-bit i/f, using only the two "bad" bytes, and RL failed to find a preferred delay on either (whereas it does on the other "good" bytes)19:18
_florent_the MIG uses PHASER_IN/OUT primitives, it shoudl be possible to use them but this is not really documented: https://www.xilinx.com/support/answers/42026.html19:19
[Matt]Cheers!19:19
*** kgugala_ has quit IRC19:20
*** kgugala has joined #litex19:21
felix_ah, seems that mixed up read leveling and write leveling19:21
felix_the MIG-generated code is helpful to understand how those blocks work19:22
_florent_zyp: yes, the UDP/IP stack will still runs at 125MHz but the Etherbone is now running  in sys_clk (down to 125MHz/4=31.25MHz theorically)19:24
zypgood19:26
*** feldim2425_ is now known as feldim242519:28
_florent_felix_: in fact the Artix7 boards with > 32-bit DDR3 are not very common, most of the Artix7 boards have 16 or 32-bit which is working fine with the current approach, so i haven't spend that much time looking PHASER_IN/OUT blocks, this is limiting mostly for the AC70119:34
*** feldim2425 has quit IRC19:36
*** feldim2425 has joined #litex19:36
zyp_florent_, the 125MHz domain still doesn't meet timing on the ecp5 (colorlight)?19:49
*** m4ssi has joined #litex20:14
*** m4ssi has quit IRC20:26
*** nelgau has joined #litex20:31
*** awe003 has joined #litex20:32
*** awe002 has quit IRC20:33
*** nelgau has quit IRC20:35
*** nelgau has joined #litex20:36
*** FFY00 has quit IRC21:14
*** FFY00 has joined #litex21:15
*** awe003 has quit IRC22:01
*** awe003 has joined #litex22:16
*** awe00 has joined #litex23:07
*** awe003 has quit IRC23:08
*** lf has quit IRC23:56
*** lf has joined #litex23:56

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!