*** tpb <[email protected]> has joined #litex | 00:00 | |
*** Degi_ <[email protected]> has joined #litex | 03:27 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 03:28 | |
*** Degi_ is now known as Degi | 03:28 | |
*** TrailingEdge <TrailingEdge!~libraryhe@2a03:4000:50:9cf:44e1:cfff:fe5f:7c89> has joined #litex | 05:50 | |
*** FabM <FabM!~FabM@2a03:d604:103:600:2e60:8c7c:e8fb:7990> has joined #litex | 07:28 | |
*** TrailingEdge <TrailingEdge!~libraryhe@2a03:4000:50:9cf:44e1:cfff:fe5f:7c89> has left #litex (WeeChat 2.3) | 07:32 | |
*** TrailingEdge <TrailingEdge!~libraryhe@2a03:4000:50:9cf:44e1:cfff:fe5f:7c89> has joined #litex | 07:32 | |
*** Brinx <[email protected]> has quit IRC (Remote host closed the connection) | 09:14 | |
*** toshywoshy <toshywoshy!~toshywosh@2a02:181f:0:1e9:41c6:f2e2:2466:f85b> has quit IRC (Ping timeout: 268 seconds) | 09:14 | |
*** toshywoshy <toshywoshy!~toshywosh@ptr-377wf33o3bnthuddmycb.18120a2.ip6.access.telenet.be> has joined #litex | 09:14 | |
*** Yanan <[email protected]> has joined #litex | 09:24 | |
Yanan | Hi everyone, is there any document on how to implement a new PHY for litedram? I am planing to add support for efinix FPGAs. | 09:25 |
---|---|---|
*** toshywoshy <toshywoshy!~toshywosh@ptr-377wf33o3bnthuddmycb.18120a2.ip6.access.telenet.be> has quit IRC (Ping timeout: 256 seconds) | 09:31 | |
*** toshywoshy <toshywoshy!~toshywosh@ptr-377wf33o3bnthuddmycb.18120a2.ip6.access.telenet.be> has joined #litex | 09:32 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 09:42 | |
*** TMM_ <[email protected]> has joined #litex | 09:42 | |
*** Brinx <[email protected]> has joined #litex | 09:46 | |
*** Brinx <[email protected]> has quit IRC (Ping timeout: 252 seconds) | 09:50 | |
*** Brinx <[email protected]> has joined #litex | 10:04 | |
*** jersey99 <[email protected]> has quit IRC (Quit: Client closed) | 10:47 | |
*** Yanan <[email protected]> has quit IRC (Ping timeout: 260 seconds) | 11:40 | |
*** TrailingEdge <TrailingEdge!~libraryhe@2a03:4000:50:9cf:44e1:cfff:fe5f:7c89> has quit IRC (Quit: WeeChat 2.3) | 11:59 | |
*** TrailingEdge <TrailingEdge!~libraryhe@2a03:4000:50:9cf:44e1:cfff:fe5f:7c89> has joined #litex | 12:00 | |
sensille | what would be a good starting point for a riscv on a small fpga with ethernet? it has SDRAM, but is probably not needed | 14:35 |
sensille | hm, based on SoCCore it automatically builds a ROM of 24k, which is a lot for the small chip. maybe i can add the SDRAM, copy from spi flash on startup and run from SDRAM | 15:15 |
sensille | maybe icebreaker-fpga is a good starting point | 15:19 |
*** Brinx <[email protected]> has quit IRC (Remote host closed the connection) | 16:43 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving) | 17:10 | |
zyp | sensille, you mentioned having a colorlite board the other day, in which case the obvious starting point would be the example project for the colorlite board | 17:30 |
zyp | e.g. https://github.com/litex-hub/litex-boards/blob/master/litex_boards/targets/colorlight_5a_75x.py or https://github.com/litex-hub/litex-boards/blob/master/litex_boards/targets/colorlight_i5.py depending on which you've got | 17:31 |
sensille | yeah, done that. i mean for adding a CPU | 17:33 |
sensille | i have the rv901t | 17:33 |
sensille | i managed to build a bitstream, but it doesn't ping. while with a different project (Litex-CNC) it pings. now i'm trying to find the difference in the board definition | 17:35 |
zyp | by «adding a CPU», do you mean in the sense of writing your own? | 17:36 |
sensille | no, an existing risc core. the is what i currently have, c&p'd from various sources: https://dpaste.org/4o3rn | 17:41 |
tpb | Title: dpaste/4o3rn (Python) (at dpaste.org) | 17:41 |
sensille | i should take the working (pinging) project and morph it into what i want to have in baby steps | 17:44 |
*** jersey99 <[email protected]> has joined #litex | 18:17 | |
sensille | boils down to: when i change sys_clk from 30mhz to 50mhz it works | 18:46 |
sensille | maybe ... litex derives the 30 from the 25, but not exactly, and then derives the 125mhz from the inexact 30? | 18:47 |
sensille | no, eth_clocks0_rx is an input | 18:53 |
zyp | no, it's just that 30 is too slow to keep up with the ethernet stream once the data is passed over to the sys domain | 19:09 |
sensille | oh. so maybe some modul could check that and bail out? | 19:11 |
sensille | do you happen to know what the minimum is? | 19:12 |
zyp | a gigabit data stream is 125 MT/s at 8-bit, or 31.25 MT/s at 32-bit | 19:12 |
zyp | I mean, it's as simple as 1000 / 32 :) | 19:12 |
zyp | I'm assuming it's 32-bit, given that it works at 50 but not 30 | 19:13 |
sensille | :) | 19:14 |
sensille | it's nice that litex hides everything from me, but in a case like this at least some insight could be helpful :) | 19:15 |
zyp | well, you could insert a litex.soc.interconnect.stream.Monitor in a stream pipeline to gain insight into how it's performing | 19:17 |
*** zjason` <zjason`[email protected]> has joined #litex | 19:19 | |
*** zjason <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 19:20 | |
*** Brinx <[email protected]> has joined #litex | 20:20 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 22:53 | |
*** TMM_ <[email protected]> has joined #litex | 22:53 | |
*** jersey99 <[email protected]> has quit IRC (Quit: Client closed) | 23:46 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!