*** tpb has joined #litex | 00:00 | |
*** pftbest has quit IRC | 00:02 | |
*** Degi_ has joined #litex | 00:06 | |
*** Degi has quit IRC | 00:07 | |
*** Degi_ is now known as Degi | 00:07 | |
*** feldim2425 has quit IRC | 00:34 | |
*** feldim2425_ has joined #litex | 00:34 | |
*** feldim2425_ is now known as feldim2425 | 00:34 | |
*** Emantor has quit IRC | 01:20 | |
*** Emantor has joined #litex | 01:23 | |
*** TMM has quit IRC | 04:32 | |
*** TMM has joined #litex | 04:32 | |
*** Bertl is now known as Bertl_zZ | 04:36 | |
*** pftbest has joined #litex | 07:00 | |
*** kgugala_ has joined #litex | 07:23 | |
*** kgugala has quit IRC | 07:27 | |
*** pftbest has quit IRC | 07:32 | |
*** kgugala has joined #litex | 08:09 | |
*** kgugala_ has quit IRC | 08:12 | |
*** pftbest has joined #litex | 08:15 | |
nickoe | ohh,... mmm, if I use cdc.source.ready to incremente the addr it work! ... I am not sure why that is... mmm | 08:46 |
---|---|---|
nickoe | zyp: https://github.com/nickoe/litex-boards/commit/b526e5cd394aabaaf2d7497128d035bafdf6e94a#diff-20ac2baa37a4011312f33c4b6bc95738a86519505d8706cc8b3b381f3949a89cR176 | 08:57 |
zyp | because ready indicates when the receiver is ready for a new address | 09:00 |
zyp | so incrementing the address only when it's ready for a new address makes sense | 09:00 |
nickoe | ah, right. I am still not very intuitive to the signal names and directions :S | 09:01 |
nickoe | yes! I understand that, but I clearly mess it up sometimes :D | 09:01 |
nickoe | I think my thinking was that, if the sink is ready to receive,... but that signal is the ready signal in the middle of the chain instead of the end where I want to control it from | 09:05 |
nickoe | if that makes any sense at all | 09:05 |
zyp | each element in the pipeline only needs to consider the flow control signals of the elements it's directly adjacent to | 09:06 |
zyp | the bottleneck in your pipeline should be the DAC, since it's running at a fixed rate | 09:07 |
nickoe | yes | 09:07 |
zyp | the DAC will be fed by the DMA as fast as the DAC is ready to receive new data | 09:07 |
zyp | and then the DMA will be fed with new addrs as fast as it is ready to receive more addrs | 09:08 |
zyp | they will then naturally end up averaging the same rate, but since the DMA works in bursts, it'll also be ready for new addrs in bursts, not at an even rate | 09:09 |
zyp | and due to the flow control signals it should just work out | 09:09 |
nickoe | so is this correct signals used in the If? https://github.com/nickoe/litex-boards/blob/bdf9dd30672499fab837bf480927a7b6d6ace6bb/litex_boards/targets/mars_ax3_custom.py#L175-L179 | 09:10 |
zyp | maybe, I haven't studied the full picture of your application :) | 09:10 |
nickoe | I mean this is the whole chain https://github.com/nickoe/litex-boards/blob/bdf9dd30672499fab837bf480927a7b6d6ace6bb/litex_boards/targets/mars_ax3_custom.py#L114-L128 | 09:11 |
nickoe | dma -> cdc -> dac | 09:11 |
* nickoe really needs to clean it up a bit now | 09:13 | |
zyp | you should probably not do anything about cdc.source there, cdc.source is in the other clock domain | 09:13 |
zyp | if I'm reading it right | 09:13 |
nickoe | With that code it appears to work good, as https://i.snipboard.io/GHJYlm.jpg, ... | 09:17 |
nickoe | and now when I remove it it ALSO works :S odd | 09:17 |
nickoe | But finally it looks like I wanted it to two weeks ago. zyp Thank you very much for your help! I owe you a keg of beer. | 09:18 |
nickoe | zyp: Can I detect in a Module if this is a simulation? | 09:26 |
nickoe | ah, never mind, I don't need to | 09:27 |
nickoe | I just have the signalsin the simulation _io | 09:27 |
*** kgugala_ has joined #litex | 10:11 | |
*** kgugala has quit IRC | 10:14 | |
nickoe | mmm, right now the analyzer does not dump a lot over jtag | 10:35 |
nickoe | It just does: [uploading]... [> ] 0% [writing to dump.vcd]... | 10:36 |
nickoe | calling litescope_cli without args do seem to dump stuff | 10:40 |
*** pftbest has quit IRC | 11:47 | |
nickoe | zyp: For soe reason it just appears to be happy to consume addresses a bit too much https://i.snipboard.io/T8KYa2.jpg | 11:48 |
nickoe | I wonder why the dma.sink.ready has that strage pattern with one high cycle, one low, then a couple high. | 11:50 |
nickoe | That is on hardware. The sim looks good. | 11:52 |
*** pftbest has joined #litex | 11:57 | |
*** Bertl_zZ is now known as Bertl | 13:27 | |
*** Bertl is now known as Bertl_oO | 13:34 | |
nickoe | it is a bit hard to compare the traces https://i.snipboard.io/9HRmpj.jpg | 14:00 |
nickoe | at littele bit more https://i.snipboard.io/geh8WT.jpg | 14:03 |
nickoe | So on the target it appears that the dma.sink.ready signal is flopping a bit onre | 14:04 |
nickoe | a bit more | 14:04 |
*** TMM has quit IRC | 14:04 | |
*** TMM has joined #litex | 14:04 | |
nickoe | restulting in the address being updated | 14:04 |
*** lfforth has joined #litex | 15:47 | |
*** lfforth has quit IRC | 15:50 | |
*** chgavilana has joined #litex | 16:42 | |
chgavilana | hi, over linux, gpioset work for all here? for me just gpio-hammer work for gpio on linux-on-litex-vexriscv using GPIOOut | 16:44 |
*** pftbest has quit IRC | 16:56 | |
*** pftbest has joined #litex | 16:58 | |
*** pftbest has quit IRC | 17:02 | |
*** pftbest has joined #litex | 17:23 | |
*** pftbest has quit IRC | 17:26 | |
*** pftbest has joined #litex | 17:27 | |
*** pftbest has quit IRC | 17:29 | |
*** pftbest has joined #litex | 17:30 | |
*** pftbest has quit IRC | 17:51 | |
*** pftbest has joined #litex | 17:52 | |
*** pftbest has quit IRC | 17:52 | |
*** pftbest has joined #litex | 19:33 | |
*** pftbest has quit IRC | 19:36 | |
*** pftbest has joined #litex | 19:36 | |
*** pftbest has quit IRC | 19:55 | |
*** pftbest has joined #litex | 19:56 | |
*** pftbest has quit IRC | 20:56 | |
*** pftbest has joined #litex | 20:57 | |
nickoe | chgavilana: What are you talking about? | 21:18 |
*** pftbest has quit IRC | 21:32 | |
*** pftbest has joined #litex | 21:32 | |
chgavilana | in linux_on_litex_vexriscv project, what command do you use to control the gpios ?, is that sysfs is no longer in kernel 5+ | 21:40 |
nickoe | Dunno, I am not really using the linux stuff in litex at the moment, but can't you just enable sysfs, evne though it is 5+? | 21:44 |
nickoe | I am not sure what the replacement for sysfs is. | 21:45 |
*** lf has quit IRC | 23:09 | |
*** lf has joined #litex | 23:10 | |
*** peepsalot has quit IRC | 23:21 | |
*** peepsalot has joined #litex | 23:21 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!