<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?
pftbest has quit [Remote host closed the connection]
<zyp>
maybe, I've never tried simulating memory
<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
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
<nickoe>
mmm, please remind me how to make the litex_server connect to my simulation
<nickoe>
I am trying litex_server --udp but I get Exception: Unable to probe Etherbone server at 192.168.1.50.
<nickoe>
I have --with-etherbone for my sim
<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
<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
<nickoe>
I am not exactly sure I understand why there is that much spacing between the bytes
pftbest has quit [Remote host closed the connection]
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
<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?
Bertl_zZ is now known as Bertl
<Melkhior>
Hello all,
<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 :-)
<Melkhior>
Any advice on integration/cleanup/improvement welcome!
<nickoe>
Melkhior: cool, but I have no idea where to contribute that
<nickoe>
Melkhior: Do you have a video demo?
<nickoe>
asuming you tested it on hw
<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
<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
<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)
<Melkhior>
linux says:
<Melkhior>
buildroot:~> dmesg | grep kbd
<Melkhior>
[ 2.839894] litex_ps2 f0004800.ps2kbd: base (ptrval), irq 3
<Melkhior>
[ 3.710142] input: AT Raw Set 2 keyboard as /devices/platform/soc/f0004800.ps2kbd/serio0/input/input0
Bertl is now known as Bertl_oO
pftbest has quit [Remote host closed the connection]
<nickoe>
mmm, how do I do bitwise operations on signals in migen?
<nickoe>
slike OR a slice together with another signal
pftbest has joined #litex
<nickoe>
I tried to make this, probably ridiculously complex way of doing this, https://dpaste.com/FDRXYC66G.txt ... which does not work as expected.