*** tpb has joined #litex | 00:00 | |
*** pftbest has joined #litex | 00:13 | |
*** pftbest has quit IRC | 00:18 | |
*** Degi has quit IRC | 00:19 | |
*** Degi has joined #litex | 00:20 | |
*** cjearls has joined #litex | 00:37 | |
*** cjearls has quit IRC | 00:42 | |
*** Emantor has quit IRC | 01:20 | |
*** Emantor has joined #litex | 01:20 | |
*** TMM has quit IRC | 05:13 | |
*** TMM has joined #litex | 05:23 | |
*** Bertl_oO is now known as Bertl_zZ | 06:11 | |
*** pftbest has joined #litex | 07:01 | |
*** TMM has quit IRC | 08:32 | |
*** TMM has joined #litex | 08:32 | |
nickoe | zyp: Hmm! Can it be because I am trying to access the memory in the very first cycles that it does not work? Maybe the memory is not initialized, even in the sim? | 09:14 |
---|---|---|
*** pftbest has quit IRC | 09:16 | |
zyp | maybe, I've never tried simulating memory | 09:16 |
nickoe | I just tried to use the DMAReader from the from litevideo.output.core import DMAReader, and I appear to see the same issue of zero data | 09:17 |
nickoe | like this https://dpaste.com/FCTJ9HLQE.txt | 09:22 |
nickoe | I mean, that is how I did it initally | 09:22 |
nickoe | which does not appear to work | 09:22 |
*** CarlFK has quit IRC | 09:30 | |
*** j4cbo has quit IRC | 09:30 | |
*** joseng has quit IRC | 09:30 | |
*** benh has quit IRC | 09:30 | |
*** pftbest has joined #litex | 09:35 | |
*** j4cbo has joined #litex | 09:36 | |
*** CarlFK has joined #litex | 09:37 | |
*** joseng has joined #litex | 09:37 | |
*** benh has joined #litex | 09:37 | |
*** pftbest has quit IRC | 09:38 | |
*** pftbest has joined #litex | 09:40 | |
nickoe | mmm, please remind me how to make the litex_server connect to my simulation | 10:06 |
nickoe | I am trying litex_server --udp but I get Exception: Unable to probe Etherbone server at 192.168.1.50. | 10:06 |
nickoe | I have --with-etherbone for my sim | 10:08 |
nickoe | zyp: Ok, I now got some data. I made it trace on demand from the demo app.. and when I write ot the CSR storage bit i will start the dma and trace it | 10:24 |
nickoe | it appears I have the correct data initally, but I may not be dumping the data correctly in the demo app https://i.snipboard.io/7CrtjT.jpg | 10:49 |
nickoe | I am not exactly sure I understand why there is that much spacing between the bytes | 10:53 |
*** pftbest has quit IRC | 12:20 | |
*** pftbest has joined #litex | 12:23 | |
*** TMM has quit IRC | 12:44 | |
*** TMM has joined #litex | 12:44 | |
*** pftbest has quit IRC | 12:55 | |
*** pftbest has joined #litex | 12:56 | |
nickoe | Can gtkwave count transistions, like or example if I quicly want to count cyles on a signal without having to calculate it from the time? | 13:15 |
*** Bertl_zZ is now known as Bertl | 13:34 | |
Melkhior | Hello all, | 13:44 |
Melkhior | Got around reimplementing the PS/2 host controller in Migen to make it easier to use in Litex.Not sure how to 'properly' integrate it in Litex (namespace, which repository or in its own, ...) and that's my first Migen code so it's probably quite ugly. But it enables me to have a proper text console when using a framebuffer in Linux :-) | 13:44 |
Melkhior | Repo with current code, Linux driver, and example of how I intergrated it in my board are in: https://github.com/rdolbeau/PS2forLitex | 13:44 |
Melkhior | Any advice on integration/cleanup/improvement welcome! | 13:45 |
nickoe | Melkhior: cool, but I have no idea where to contribute that | 13:53 |
nickoe | Melkhior: Do you have a video demo? | 13:54 |
nickoe | asuming you tested it on hw | 13:54 |
Melkhior | no video sorry, tested on my Qmtech Wukong (cheap chinese-made Artix-7 100T board) with a digilent PS/2 Pmod and an old PS/2 keyboard I have lying around | 13:57 |
nickoe | zyp: Do you know how I can make better use of the time with the LiteDRAMDMAReader()? I just get four bytes at a time here https://i.snipboard.io/FDtqxm.jpg | 13:57 |
Melkhior | untested with a mouse because I haven't found a PS/2 mouse i my archives (the PS/2 keyboard was for older servers, no need for a matching mouse) | 13:58 |
Melkhior | linux says: | 13:59 |
Melkhior | buildroot:~> dmesg | grep kbd | 13:59 |
Melkhior | [ 2.839894] litex_ps2 f0004800.ps2kbd: base (ptrval), irq 3 | 13:59 |
Melkhior | [ 3.710142] input: AT Raw Set 2 keyboard as /devices/platform/soc/f0004800.ps2kbd/serio0/input/input0 | 13:59 |
*** Bertl is now known as Bertl_oO | 16:05 | |
*** pftbest has quit IRC | 16:15 | |
nickoe | mmm, how do I do bitwise operations on signals in migen? | 16:35 |
nickoe | slike OR a slice together with another signal | 16:36 |
*** pftbest has joined #litex | 16:37 | |
nickoe | I tried to make this, probably ridiculously complex way of doing this, https://dpaste.com/FDRXYC66G.txt ... which does not work as expected. | 16:41 |
nickoe | https://i.snipboard.io/HcvTFZ.jpg | 16:42 |
nickoe | It is about the two orange sigals, I wanted to concatenate the single bytes into a 32 bit signal. | 16:42 |
nickoe | I clearly failed at it so far. | 16:43 |
nickoe | mmm, I think I got it, missing the MSB | 16:57 |
nickoe | in the slice | 16:57 |
Melkhior | @nickoe yes in Migen they are Python slice so the upper bound is not included | 17:03 |
Melkhior | I got bit by that one as well | 17:03 |
nickoe | So I got the indexing right now, but I don | 17:03 |
nickoe | don't understand why the other bits are set to zero when I just .eq a slice. | 17:04 |
Melkhior | and 'Cat' to concatenate is lsb->msb, reverse from verilog's '{}' notation | 17:04 |
Melkhior | I don't know enough migen to help sorry | 17:05 |
Melkhior | maybe try with NextValue and copying the old values ? | 17:05 |
Melkhior | NextValue(data, Cat(newdata[0:8], data[8:32])) | 17:06 |
Melkhior | to replace the low-order 8 bits? | 17:06 |
Melkhior | good luck | 17:06 |
nickoe | https://i.snipboard.io/AQ58uT.jpg | 17:06 |
*** pftbest has quit IRC | 19:08 | |
*** pftbest has joined #litex | 19:09 | |
*** pftbest has quit IRC | 20:34 | |
*** pftbest has joined #litex | 20:35 | |
*** pftbest has joined #litex | 20:35 | |
*** flammit has quit IRC | 20:44 | |
*** mithro has quit IRC | 20:45 | |
*** flammit has joined #litex | 20:45 | |
*** mithro has joined #litex | 20:48 | |
*** esden has quit IRC | 20:49 | |
*** _florent_ has quit IRC | 20:49 | |
*** ric96 has quit IRC | 20:49 | |
*** tucanae47 has quit IRC | 20:49 | |
*** mithro has quit IRC | 20:50 | |
*** davidlattimore has quit IRC | 20:50 | |
*** mithro has joined #litex | 20:51 | |
*** tucanae47 has joined #litex | 20:51 | |
*** ric96 has joined #litex | 20:51 | |
*** _florent_ has joined #litex | 20:51 | |
*** davidlattimore has joined #litex | 20:51 | |
*** tannewt has quit IRC | 20:54 | |
*** tcal has quit IRC | 20:54 | |
*** ric96 has quit IRC | 20:54 | |
*** guan has quit IRC | 20:54 | |
*** guan has joined #litex | 20:55 | |
*** esden has joined #litex | 20:55 | |
*** flammit has quit IRC | 20:55 | |
*** tannewt has joined #litex | 20:56 | |
*** pdp7 has quit IRC | 20:56 | |
*** ric96 has joined #litex | 20:56 | |
*** flammit has joined #litex | 20:56 | |
*** tcal has joined #litex | 20:56 | |
*** pdp7 has joined #litex | 20:57 | |
*** lf_ has joined #litex | 23:17 | |
*** lf has quit IRC | 23:17 | |
*** pftbest has quit IRC | 23:37 | |
*** pftbest has joined #litex | 23:38 | |
*** pftbest has joined #litex | 23:38 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!