_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://libera.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
pftbest has joined #litex
pftbest has quit [Ping timeout: 244 seconds]
Degi_ has joined #litex
Degi has quit [Ping timeout: 252 seconds]
Degi_ is now known as Degi
pftbest has joined #litex
pftbest has quit [Ping timeout: 252 seconds]
pftbest has joined #litex
pftbest has quit [Ping timeout: 240 seconds]
pftbest has joined #litex
pftbest has quit [Ping timeout: 245 seconds]
pftbest has joined #litex
pftbest has quit [Ping timeout: 252 seconds]
pftbest has joined #litex
pftbest has quit [Ping timeout: 244 seconds]
ChuckM has joined #litex
<ChuckM> Has anyone else tried building 'scarabminispartan6+' from targets recently? I'm getting a bunch of warnings and this error is fatal:
<ChuckM> WARNING:HDLCompiler:1499 - "/home/cmcmanis/litex-boards/litex_boards/targets/build/scarabhardware_minispartan6/gateware/scarabhardware_minispartan6.v" Line 4: Empty module <scarabhardware_minispartan6> remains a black box.
<ChuckM> Sorry that is from this: ERROR:HDLCompiler:267 - "/home/cmcmanis/litex-boards/litex_boards/targets/build/scarabhardware_minispartan6/gateware/scarabhardware_minispartan6.v" Line 5287: Cannot find port PWRDWN on this module
alainlou has quit [Ping timeout: 256 seconds]
pftbest has joined #litex
FabM has joined #litex
FabM has joined #litex
FabM has quit [Changing host]
FabM has quit [Remote host closed the connection]
FabM has joined #litex
FabM has joined #litex
ChuckM has quit [Remote host closed the connection]
<_florent_> ChuckM: This was probably your issue: https://github.com/enjoy-digital/litex/pull/962 Updating LiteX should fix it
ewen has joined #litex
<sajattack[m]> I saw liteeth made it to upstream linux. Any hopes for litepcie too?
<sajattack[m]> I still gotta find a project for my acorn
ewen has quit [Ping timeout: 245 seconds]
michalsieron has joined #litex
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
ewen has joined #litex
ChuckM_ has joined #litex
ChuckM has joined #litex
pftbest has quit [Remote host closed the connection]
mc6808 has joined #litex
<mc6808> I started simulating a design with a fsm today and noticed that the fsm state variable bit width was way off, more than 70 bits for a design that uses 3 bits in the FPGA. Anyone else have this issue?
pftbest has joined #litex
<tnt> 70 seems a bit much ... but synthesis tool will often re-encode state variable to be one-hot for instance.
<_florent_> sajattack[m]: For now we are trying to upstream the driver for peripherals that are directly attached to the CPU, LitePCIe is a bit different since run on the Host and is used as a kernel module
<mc6808> And got a similar huge bit width. My design only has 3 states so is 1 bit hot as you referenced
mc6808 has quit [Quit: Client closed]
mc6808 has joined #litex
<tnt> Oh, isn't migen sim encoding the state _name_ (as ascii) in the signal ?
<mc6808> TNT: I have no idea. I'm new to this, but I thought the enumerations would be mapped not literal strings in the signal
<mc6808> Gtkwave doesn't like the output much either way and I thought it supported enumerators for numeric values
ewen has quit [Ping timeout: 252 seconds]
mc6808 has quit [Quit: Client closed]
mc6808 has joined #litex
<sajattack[m]> I can't for the life of me get linux vexriscv to work on pcie
<sajattack[m]> when I flash the bitstream which I've modified to have pcie turned on, I get no "FPGA identification" from litepcie_util info
<sajattack[m]> and then I have to reflash the litex_boards bitstream over spi
<sajattack[m]> vivado warnings
mc6808 has quit [Quit: Client closed]
shorne_ has quit [Ping timeout: 250 seconds]
<leons> florent: I'm now stuck working on the last_be issues for the Packetizer and Depacketizer for multiple days. It's a really hard problem. What makes it so much more complex is that last_be is an optional signal for the Packetizer and Depacketizer.
<leons> Would you be accepting a fix for the last_be handling in these constructs, which internally always has a last_be signal? As far as I understand, we could simply add one internally to the sink and remove it from the exposed source
<leons> So the external interface wouldn't change, but it would have last_be handling internally. I would expect this to be optimized, though I'm not sure
Martoni42 has joined #litex
Martoni42 has quit [Ping timeout: 252 seconds]
<a3f> sajattack: I can't recall if it was the same warnings you have, but try commenting out the SATA parts
<_florent_> sajattack[m]: Sorry I haven't tested Linux on the Acorn with the PCIe enabled. You can try to check the CSR mapping between the version with and without PCIe to be sure it's not different
<bluecmd> sajattack: maybe too basic question, but do you see the card listed in lspci? People sometimes forget that you can't just hotplug PCIe devices (which effectively uploading a new FPGA bitstream is).
cr1901 has joined #litex
alainlou has joined #litex
alainlou has quit [Quit: Client closed]
alainlou has joined #litex
peepsalot has quit [Read error: Connection reset by peer]
peepsalot has joined #litex
<leons> florent: Actually, regarding Packetizer/Depacketizer, with some debugging help of david-sawatzke I've figured it out. Will update the PR and also add tests soon
<leons> It's really hard to know whether it works in every edge case, but I'm somewhat confident for now
<_florent_> leons: perfect, thanks. That's indeed why I'd like these edge case to be integrated in the test, this way we'll be sure to not break them with future modifications
<_florent_> leons: This module is maybe now trying to do too much things, it can eventually be worth handling some cases separately. I'll have a look at this while reviewing
<leons> I'll have to see how we can integrate them. I think the `test_packet` tests do a pretty good job of testing edge cases already, one particular issue I might see with that is that the Packetizer is directly connected to the Depacketizer and so we can't really introspect what's going on between them. It might just work coincidentally because both an error is tolerated by either one of them or they might both be wrong.
<leons> florent: feel free to take a look. I've got to say, this was a tough nut to crack. If you have any ideas how it could be improved that'd be great, but I'm just happy to see it seems to at least work now :)
<_florent_> leons: Thanks for looking at this
tucanae47_ has quit []
tucanae47_ has joined #litex
tcal has quit []
tcal has joined #litex
<sajattack[m]> <bluecmd> "sajattack: maybe too basic..." <- I see it in lspci and I rebooted
<sajattack[m]> <a3f> "sajattack: I can't recall if..." <- I did already
michalsieron has quit [Ping timeout: 252 seconds]
C-Man has quit [Ping timeout: 240 seconds]
<tpw_rules> _florent_: can i PM you a link for the build?
C-Man has joined #litex
<tpw_rules> is there a good overview of zynq dev boards anywhere? i am looking for something that has SATA or USB3 attached to the PS and can do MIPI in the PL
FabM has quit [Ping timeout: 252 seconds]
<_florent_> tpw_rules: yes sure for the build
<_florent_> tpw_rules: the Kria KV260 has USB3 and MIPI and is cheap: https://www.xilinx.com/products/som/kria/kv260-vision-starter-kit.html
michalsieron has joined #litex
michalsieron has quit [Ping timeout: 252 seconds]
Coldberg has joined #litex
C-Man has quit [Ping timeout: 256 seconds]
<tpw_rules> _florent_: ah, that looks nice. has anyone tried litex on it?
<tpw_rules> not sure i want to deal with vitis, etc.
shorne has joined #litex
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
<tpb> Title: Avnet: Quality Electronic Components & Services (at www.avnet.com)
<tpw_rules> i did come across that one, but it seems the Kria board is better in essentially every way, no?
<tpw_rules> except size
<tpw_rules> bah, it seems there is some nondeterminism in the jtag_uart build with the nitefury. if i set the mode to anything other than cle-215+, or use a different version of vivado than 2018.2, or modify the code, it doesn't work. the uart doesn't echo as if the cpu has crashed once the console comes up
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
somlo has quit [Ping timeout: 245 seconds]
somlo has joined #litex
<sajattack[m]> <_florent_> "sajattack: Sorry I haven't..." <- I'm not really sure what I should be looking for...
mc6808 has joined #litex
<mc6808> TNT: you were correct about simulation writing acsii to the VCD file. thanks for the tip!
mc6808 has quit [Quit: Client closed]
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex