Monday, 2022-01-17

*** tpb <[email protected]> has joined #litex00:00
*** ilia__s <[email protected]> has joined #litex00:20
*** bl0x_ <bl0x_!~bastii@p200300d7a7325c00a534749a6125421d.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds)02:25
*** bl0x_ <bl0x_!~bastii@p200300d7a70e7c009652b8da135cd16a.dip0.t-ipconnect.de> has joined #litex02:27
bl0x__florent_: I've tried a few things, changing clock speed and in general looking about the cmod_a7 related code. Also tried sending serial.tx to another pin as suggested. I can't see any serial output. I see that litex_buildenv claims to have working support for cmod_a7, so I might try that as well. Shouldn't the LEDs also blink a pattern by default? I only see the RGB LEDs at ~30% brightness.02:44
*** C-Man <[email protected]> has quit IRC (Ping timeout: 256 seconds)03:18
*** Degi_ <[email protected]> has joined #litex04:39
*** Degi <[email protected]> has quit IRC (Ping timeout: 256 seconds)04:39
*** Degi_ is now known as Degi04:39
sajattack[m]so this is probably a dumb question, but could litesata be used for ide/pata? is it backwards compatible?06:28
*** FabM <FabM!~FabM@armadeus/team/FabM> has joined #litex07:38
tntwith an external sata -> pata you mean ?07:58
_florent_bl0x_: I merged your PRs, by default the LedChaser should be blinking and only requires a valid clock/reset to do so. The issue could also be related to Symbiflow, if you have Vivado install it could be interesting to test with it. (Or I could generate a bitstream for you)08:37
_florent_sajattack[m]: LiteSATA has a specific user interface and I'm not very familiar with ide/pata. Some chips are doing bridge between SATA and other interfaces, so this could also be an option if such chips exists for ide/pata. With a client on a design we for example used LiteSATA to interface with a SDCard through a DB300 chip: http://www.d-broad.com/db300_eg.html08:41
tpbTitle: d-broad Inc. (at www.d-broad.com)08:41
sajattack[m]I was just looking at the ide controller here https://github.com/MiSTer-devel/ao486_MiSTer/blob/master/rtl/soc/ide.v and found it rather incomplete, and was curious if litesata could be used as a replacement, sounds like not without external hardware. tnx.08:43
bl0x__florent_: Thanks for the merge. I don't have Vivado on my laptop, only on a Windows machine. Tried to install litex there, but that turned out to be a rabbit hole. I might be able to set up an environment with Vivado on a more capable machine, but that'll take a couple of days. Which version of Vivado is currently preferred with litex? ... Generate bitstream for me: Only if it is quick for you to10:19
bl0x_do.10:19
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)10:40
*** TMM_ <[email protected]> has joined #litex10:40
*** C-Man <[email protected]> has joined #litex11:44
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has quit IRC (Ping timeout: 256 seconds)13:13
leonsJust to confirm my understanding of the LiteDRAM native ports / DMA frontend: LiteDRAM itself does not provide any mechnism to prevent data races, right? I have multiple ports accessing a shared chunk of memory, so I'm wondering what types of guarantees LiteDRAM can give me vs. what protections I need to implement myself.13:24
_florent_leons: LiteDRAM doesn't provide a mechanism for this. The only guarantee currently is that there is no write data buffering internally, so the write order will be the similar to the order it accepts the data on the user ports14:22
_florent_bl0x_: I'm going to generate a bitstream14:23
_florent_https://github.com/litex-hub/litex-boards/files/7882457/digilent_cmod_a7_2022_01_17.zip14:24
bl0x__florent_: thx14:24
leons_florent_: Thanks, that already helps me a lot. I have a small hazard detection component which is suboptimal but constant-size and time, exactly what I need for my usecase.14:24
_florent_result of ./digilent_cmod_a7.py --build14:24
leons_florent_: The only thing which would be really helpful to know is the latency which an accepted `wdata` transaction takes until it is committed to memory and can be read again. Is that latency known somehow?14:25
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has joined #litex14:28
bl0x__florent_: I get nice blinking lights now! And a litex prompt when using lxterm. great! Now, the question is what's going wrong with symbiflow?14:29
_florent_leons: this latency is fixed yes (the reason is still similar: there is no buffering, the data is accepted one it is emitted). If you want to measure it, you could put a LiteScope instance in your design and observe the ready from the wdata port and some internal control path signals of the PHY: https://github.com/enjoy-digital/litedram/blob/master/litedram/phy/s7ddrphy.py#L490-L50214:31
leonsThanks for the pointers! I'll look into that :)14:32
_florent_bl0x_: You should probably report this to the symbiflow project, since you had to do some adaptation to the LiteX build backend, I imagine it's something that hasn't been tested with LiteX14:37
bl0x__florent_: Will do. Thanks again14:40
*** tpb_ <[email protected]> has joined #litex14:58
*** tpb <[email protected]> has quit IRC (Killed (NickServ (GHOST command used by tpb_)))14:58
*** tpb_ is now known as tpb14:58
*** Coldberg <[email protected]> has joined #litex15:20
*** kbeckmann1 is now known as kbeckmann15:22
*** C-Man <[email protected]> has quit IRC (Ping timeout: 256 seconds)15:23
*** Guest48 <[email protected]> has joined #litex16:06
WolfvakI just noticed that on the orangecrab, the linux project uses a spi driver to interface with the SD card rather than the dedicated controller, is there any reason for that?16:11
*** Guest48 <[email protected]> has quit IRC (Ping timeout: 256 seconds)16:20
Wolfvaknvm just found https://github.com/litex-hub/linux-on-litex-vexriscv/issues/25516:37
*** Martoni <Martoni!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex18:38
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 250 seconds)18:42
*** Guest48 <[email protected]> has joined #litex20:19
Guest48Hi there, I hope this is the right place to seek help. Im trying to send bits to ttyACM from fomu with litex. These bits are generated from migen code, so in hardware, not from a programm running on the cpu. Currently litex seems to be using its own fork of valentyusb, however I have trouble to understand where exactly I can send the bits, meaning20:51
Guest48how the valentyusb api works. A snippet would be greatly appreciated. Or can I not use valentyusb in this manner? So far I've been trying with the serv cpu, because it fit. And when I tried --cpu-type=None it gave me csr collision errors, which I didnt know how to resolve. For my design I dont actually need a cpu though (I think). Help is greatly20:51
Guest48appreciated. And thanks for the work in litex it seems quite awesome, although I only understand a fraction of it.20:51
*** Guest48 <[email protected]> has quit IRC (Quit: Client closed)20:51
*** C-Man <[email protected]> has joined #litex20:57
*** Coldberg <[email protected]> has quit IRC (Ping timeout: 256 seconds)20:59
*** Guest48 <[email protected]> has joined #litex21:16
*** Guest48 <[email protected]> has quit IRC (Client Quit)21:18
*** C-Man <[email protected]> has quit IRC (Ping timeout: 240 seconds)21:25
*** Martoni <Martoni!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 240 seconds)21:25
bl0x_I'm wondering what the cd_sys4x is used for. Looking around litex I find that this is mostly associated with litedram? Boards without DRAM would not need these clock, or am I wrong?21:55
bl0x_Perhaps that is just a general thing to always have a CD ready for serdes?21:58

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