Wednesday, 2023-01-04

*** tpb <[email protected]> has joined #litex00:00
*** Degi_ <[email protected]> has joined #litex02:03
*** Degi <[email protected]> has quit IRC (Ping timeout: 246 seconds)02:03
*** Degi_ is now known as Degi02:03
*** bl0x <[email protected]> has joined #litex02:54
*** bl0x_ <[email protected]> has quit IRC (Ping timeout: 246 seconds)02:55
*** FabM <FabM!~FabM@2a03:d604:103:600:2e60:8c7c:e8fb:7990> has joined #litex06:00
*** knicklicht <knicklicht!~knicklich@2a02:908:1995:4220:d58e:5f27:e09f:3e6d> has joined #litex06:26
*** knicklicht41 <knicklicht41!~knicklich@2a02:908:1995:4220:d58e:5f27:e09f:3e6d> has joined #litex06:30
knicklichtWhich variant is chosen when building with --cpu-type vexrisc but without --cpu-variant?06:40
knicklichtIn the wiki it says "standard" is the default, but somehow I cannot get timing closure when I choose it explicitly.06:45
sensilleno idea, doesn't it say in the open while generating?06:47
sensillebtw, didn't you start with the rv901t?06:48
knicklichtYes, I did:-)  . However, it's much easier for me to get my hands on the colorlight. The rv901t seems to be outdated.06:49
sensilleah, i assumed you already had it06:50
sensillei got a rv201t, it has an anlogic fpga06:50
knicklichtFor my project I don't need just one. I am currently trying to evaluate which board makes most sense for me.06:51
sensillegot my rv901t a while back for 12 euro shipped or so06:51
knicklichtThat's a great price. I got one used locally for 20€. There are some suppliers that have it in stock in china for around 17$ + taxes and shipping.06:52
knicklichtThe colorlight I can get through Ali. Since I can pay taxes and customs fees right with them, that's a lot easier for me.06:54
sensilleyeah. directly from linsn you might get a good price, but for 100+ card + shipping + customs06:54
knicklichtExactly, and since I need only around 15 boards that's not enough for them to even bother.06:56
sensilledid you think about making your own board? it's fun :)06:59
knicklichtLuckily, for now I don't need the boards to evaluate my options. It's just more fun to see some stuff run on actual hardware. It's a pity that I can't get Zephyr to run. Some issue during the build process.07:00
knicklichtYes, but the price is just not competitive for now.07:00
knicklichtIs it usually more busy here? I would very much like to get some input from someone using vexriscv and zephyr.07:04
sensillenot during the few weeks i'm here07:07
knicklichtThat's to bad. The project seems so well designed, but without someone answering specific questions, it's hard to get started.07:08
sensillethat was my problem, too07:09
*** geertu <[email protected]> has quit IRC (Quit: upgrade)10:24
*** geertu <[email protected]> has joined #litex10:25
geertu/412:24
*** geertu <[email protected]> has quit IRC (Quit: leaving)12:24
*** geertu <[email protected]> has joined #litex12:33
*** knicklicht <knicklicht!~knicklich@2a02:908:1995:4220:d58e:5f27:e09f:3e6d> has quit IRC (Quit: Client closed)12:52
knicklicht41FYI: I got an answer in the yosys chat: You can pass --seed to nextpnr-ecp5, I wrote a script a while back to run lots of seeds in parallel and report the best https://gist.github.com/adamgreig/b040b6e3d7a7a64f613780eae6c0793014:41
sensilleknicklicht41: do you see significant variations between seeds?14:48
knicklicht41Absolutely, my runs vary around 15%14:50
somloI generated a box plot of Fmax for a litex+Rocket design targeted at a lambdaconcept ecpix5 board. Target Fmax was 50MHz, the average result came out at about 47, went as low as 44, and eventually (after 20-30 attempts with different random seeds) passed 50 (which is when I stopped gathering data)15:04
somlothe boxplot png itself I didn't keep, and I didn't keep the imgur.com link where I posted it either...15:05
somlobut as gatecat mentioned in #yosys, using "--yosys-flow3" helps (a lot) toward nextpnr being able to get to a faster Fmax15:06
somlobtw, "--yosys-flow3" is currently available in litex as a command line option for the ecp5 trellis builder15:07
knicklicht41Thanks somlo, where can I set "--yosys-flow3" for the trellis builder?15:17
*** knicklicht41 <knicklicht41!~knicklich@2a02:908:1995:4220:d58e:5f27:e09f:3e6d> has quit IRC (Quit: Client closed)15:54
*** nickoe <nickoe!~nickoe@2a06.4004.21c3.0001.0000.0000.0000.0cf9.static6.kviknet.net> has quit IRC (Quit: Client closed)16:16
*** nickoe <nickoe!~nickoe@2a06.4004.21c3.0001.0000.0000.0000.0cf9.static6.kviknet.net> has joined #litex16:16
*** knicklicht <knicklicht!~knicklich@2a02:908:1995:4220:d58e:5f27:e09f:3e6d> has joined #litex16:46
*** knicklicht <knicklicht!~knicklich@2a02:908:1995:4220:d58e:5f27:e09f:3e6d> has quit IRC (Ping timeout: 260 seconds)18:42
somloknicklicht41: for any board supported by litex using an ecp5 lattice fpga (see github.com/litex-hub/litex-boards), the command to build a litex SoC looks like, e.g.: "./litex-boards/litex_boards/targets/lambdaconcept_ecpix5.py --build ..."18:45
somloif you add "--yosys-flow3" to that command line, the build script will be generated such that flow3 will be used with yosys and abc18:45
somlofor the "lambdaconcept_ecpix5" board, that script will be dumped to ./build/lambdaconcept_ecpix5/gateware/build_lambdaconcept_ecpix5.sh18:47
somlothere will also be a <board_name>.ys yosys script, etc.18:47
somloso the litex builder will create all the magic required to pass the right arguments into yosys and abc (and nextpnr too)18:48
somlobut look at the above mentioned shell script if you want to untangle all that and figure out what's actually being called18:48
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Remote host closed the connection)21:34
rtodaro[m]1I'm excited. It only took a few minutes to to get litex up and running on the arty a7... 🤩23:17

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