Saturday, 2022-03-05

*** tpb <[email protected]> has joined #litex00:00
*** acathla <[email protected]> has quit IRC (Ping timeout: 252 seconds)00:26
*** acathla <[email protected]> has joined #litex00:34
*** Emantor <[email protected]> has quit IRC (Quit: ZNC - http://znc.in)02:20
*** Emantor <[email protected]> has joined #litex02:20
*** Degi_ <[email protected]> has joined #litex03:05
*** Degi <[email protected]> has quit IRC (Ping timeout: 256 seconds)03:06
*** Degi_ is now known as Degi03:06
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex09:17
*** cr1901_ <cr1901_!~cr1901@2601:8d:8600:911:cf1:8507:720a:c17> has quit IRC (Remote host closed the connection)15:58
*** cr1901_ <cr1901_!~cr1901@2601:8d:8600:911:cf1:8507:720a:c17> has joined #litex15:58
*** cr1901_ is now known as cr190115:59
tcalIs there already a generic delta-sigma DAC LiteX core?    Maybe there's so many variations about how to do the buffering that everyone just rolls their own?    I made a simple one with no buffering, just a CSR to hold the current value -- it's just a few lines of Migen.   With this simple core, software is responsible for correct timing/synchronization of the samples.17:13
tntMmmm, the way the DMA works in prog mode is actually pretty annoying :/18:59
_florent_tnt: The DMA is only covering the use cases I needed, but it should not be too complicated to change the high level behavior.20:59
tntYeah, working on it. I was hoping to use the HW as-is and only change the sw, but the loop status is not suitable for what I needed so I had to tweak it.21:01
tntI got a single buffer write/read cycle working. Now further tweaking the kernel driver ...21:02
tntI might end up just substituting the LitePCIeDMAScatterGather with a more custom one. It'll depend if all the CSR writes to refill the descriptors end up being a slow down or not.21:04
tnt(i.e. like instead of having to rewrite each descriptors individually, I'd add a single CSR and if you write 50 to it, it auto-resubmits 50 descriptors with a single CSR write)21:05
_florent_I also probably did the initial code in 2014, so would probably do it differently now, but now that things are used, I avoid changing things too much, but different DMAs could eventually be implemented.21:32
_florent_Antmicro also implemented https://github.com/enjoy-digital/litepcie/blob/master/litepcie/frontend/axi.py21:33

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