Friday, 2021-11-26

*** tpb <[email protected]> has joined #litex00:00
*** AndrewD <[email protected]> has quit IRC (Quit: Client closed)00:18
*** jer_ <[email protected]> has quit IRC (Quit: Connection closed for inactivity)00:21
*** Aleksa <[email protected]> has joined #litex01:05
AleksaHi all! I'm trying to fit my FPGA design into a smaller part by swapping out a MIG generated DDR3 controller with the litedram core. I've generated it standalone (to stay inside vivado for now) using gen.py. I noticed it came with a wishbone bus, I left it disconnected when I swapped the core in for the MIG controller and it doesn't seem to work at01:58
Aleksaall. Is there any way this core can work off the bat like the MIG, or will I have to talk to it before it starts working?01:58
*** Degi_ <[email protected]> has joined #litex02:22
*** Degi <[email protected]> has quit IRC (Ping timeout: 260 seconds)02:22
*** Degi_ is now known as Degi02:22
*** Aleksa <[email protected]> has quit IRC (Quit: Client closed)03:24
*** cr1901_ <cr1901_!~cr1901@2601:8d:8600:911:b5a9:5a2f:5742:e65f> has joined #litex06:13
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:a595:700d:9610:531d> has quit IRC (Ping timeout: 264 seconds)06:17
_florent_Aleksa: You can generate a core very similar to MIG (with CPU/firmware) integrated for the calibration. That's what will do litedram_gen arty.yml for example06:23
_florent_https://github.com/enjoy-digital/litedram/blob/master/examples/arty.yml06:23
_florent_You can then customize the type of CPU (I generally use VexRiscv Min variant for this)06:23
_florent_and the user ports06:24
_florent_the calibration will be done automatically and reported on init_done /init_error outputs06:24
*** ejcspii <ejcspii!~ejcspii@2001:a61:12a3:ad01:c5d6:747f:f51d:c457> has joined #litex06:35
ejcspii_florent_ Hi Florent, this is the addition to digilent_arty.py: https://pastebin.com/Ke8X25mU06:40
tpbTitle: WB test - Pastebin.com (at pastebin.com)06:40
_florent_ejcspii: Thanks, it is also possible to share wb_test_slave.v? I could then test it myself07:49
ejcspii_florent_ Here it is: https://pastebin.com/zZZc6cDD07:54
tpbTitle: module wb_test_slave( input wire i_clk, i_re - Pastebin.com (at pastebin.com)07:54
ejcspiiNever tried to do wishbone before. Thanks in advance!07:54
*** FabM <[email protected]> has joined #litex08:03
*** AndrewD <[email protected]> has joined #litex08:06
_florent_ejcspii: I was able to reproduce the issue with litex_sim08:07
_florent_ejcspii: and did a quick fix on the wb_ack in wb_test_slave.v08:07
_florent_https://www.irccloud.com/pastebin/zmkn1VFM/08:07
tpbTitle: Snippet | IRCCloud (at www.irccloud.com)08:07
_florent_https://usercontent.irccloud-cdn.com/file/ZnYHkyGt/Screenshot%20from%202021-11-26%2009-03-42.png08:07
AndrewD_florent_: did you get the email about meeting to discuss collaboration?08:07
_florent_AndrewD: Ah sorry, got it but forgot to answer after reading it.08:09
ejcspii_florent_ Thank you, so I should not just ignore wb_cyc.08:11
ejcspiiAnd thanks for the diff, I'll look into the simulation myself.08:13
*** rtucker <[email protected]> has joined #litex08:43
*** jeffdi <[email protected]> has quit IRC (Quit: Leaving.)09:10
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)09:36
*** TMM_ <[email protected]> has joined #litex09:36
*** jeffdi <[email protected]> has joined #litex09:40
*** AndrewD <[email protected]> has quit IRC (Ping timeout: 256 seconds)09:42
*** jeffdi <[email protected]> has quit IRC (Quit: Leaving.)10:00
*** ejcspii <ejcspii!~ejcspii@2001:a61:12a3:ad01:c5d6:747f:f51d:c457> has quit IRC (Quit: Client closed)11:05
*** ejcspii <ejcspii!~ejcspii@2001:a61:12a3:ad01:c5d6:747f:f51d:c457> has joined #litex11:43
*** anuejn_ <[email protected]> has joined #litex11:49
*** vup2 <[email protected]> has joined #litex11:50
*** shorne_ <[email protected]> has joined #litex11:50
*** geertu_ <[email protected]> has joined #litex11:50
*** tnt_ <tnt_!~tnt@osmocom/tnt> has joined #litex11:51
*** indy_ <[email protected]> has joined #litex11:54
*** shorne <[email protected]> has quit IRC (Ping timeout: 260 seconds)11:55
*** indy <[email protected]> has quit IRC (Ping timeout: 260 seconds)11:55
*** rektide <[email protected]> has quit IRC (Ping timeout: 260 seconds)11:55
*** vup <[email protected]> has quit IRC (Ping timeout: 260 seconds)11:56
*** anuejn <[email protected]> has quit IRC (Ping timeout: 260 seconds)11:56
*** geertu <[email protected]> has quit IRC (Ping timeout: 260 seconds)11:56
*** tnt <tnt!~tnt@osmocom/tnt> has quit IRC (Ping timeout: 260 seconds)11:56
*** rektide_ <[email protected]> has joined #litex11:56
*** indy_ is now known as indy11:57
*** geertu_ is now known as geertu12:02
*** rtucker <[email protected]> has quit IRC (Quit: Lost terminal)12:08
*** somlo_ is now known as somlo13:06
*** jeffdi <[email protected]> has joined #litex14:00
*** Aleksa <[email protected]> has joined #litex14:23
AleksaFlorent: Thanks for the clarification! I set CPU to none, thinking it had to do with the rest of litex, but I now see that it's a very small CPU dedicated to calibrating the DDR3 controller. Can't wait to get it working tonight, between the low logic usage and the much faster compile time, the litedram core makes me never want to use MIG again lol14:28
*** Aleksa <[email protected]> has quit IRC (Quit: Client closed)14:30
*** tnt_ is now known as tnt14:32
tntSo I used to include base/uart.h to get UART_EV_RX ... now that header seem gone and I don't see where to get that #define from.15:02
tntnm ... 15:04
*** cr1901_ is now known as cr190115:10
tntNext step is figure out how to unbreak the firmware build ... :/  I don't want any of the picolibc, I have all my own stuff.15:15
tntHow do I disable the quiet build ?  ( like instead of "CC       firmware.elf"  I want the full thing it's trying to do)15:17
*** ejcspii <ejcspii!~ejcspii@2001:a61:12a3:ad01:c5d6:747f:f51d:c457> has quit IRC (Quit: Client closed)15:20
cr1901tnt: It's in the top-level Makefile how to disable the quiet build. If I remembered the exact invocation, I would tell you :P15:29
cr1901https://github.com/enjoy-digital/litex/blob/master/litex/soc/software/common.mak#L28-L4015:30
cr1901Set V=1, presumably in the environment so GNU Make knows to steal that value for its own variables15:30
tntcr1901: yup tx, works.15:32
tntLooks like a bunch of my issues aren't actually litex but tinyusb having changed some stuff.15:33
cr1901tinyusb himself appears to have vanished15:33
cr1901His Twitter acct is gone, and my last email to him went unanswered15:33
tntWell there was a commit 4 days ago.15:34
cr1901Oh? Hmmm...15:34
cr1901Ohhh whoops15:35
cr1901TinyFPGA*15:35
cr1901It's too early in the morning15:35
cr1901Ignore my comment- tinyusb* is pretty good at getting back to ppl.15:35
tntOh yeah Luke Valenty is gone from OSS/Public stuff 15:35
cr1901Which is his prerogative, but I wish he at least notified ppl/xferred ownership of some repos.15:36
*** ejcspii <ejcspii!~ejcspii@2001:a61:12a3:ad01:c5d6:747f:f51d:c457> has joined #litex15:46
tnt:/ Seem the picolibc stuff is hardcoded I don't easily disable it.15:49
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving)15:49
cr1901No, and the picolibc stuff was one reason I wanted to port all of litex to meson- so everything could be under a single ninja file15:50
tntI have my own printf and stuff like that, I don't want any of theirs :/15:51
cr1901(ninja is not GNU makeserver-compat either, so a top-level make will spawn "ncores" make instances and "ncores + 2" ninja instances15:51
cr1901I'm pretty sure there was a commit recently to skip building picolibc tho15:52
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)15:57
*** TMM_ <[email protected]> has joined #litex15:57
*** ejcspii <ejcspii!~ejcspii@2001:a61:12a3:ad01:c5d6:747f:f51d:c457> has quit IRC (Quit: Client closed)16:45
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex19:46
*** essele <[email protected]> has joined #litex20:07
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 268 seconds)20:09
*** essele <[email protected]> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)20:22
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:b5a9:5a2f:5742:e65f> has quit IRC (Read error: Connection reset by peer)20:24
*** cr1901 <cr1901!~cr1901@2601:8d:8600:911:dd88:331f:ddb3:df09> has joined #litex20:36

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