<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]
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
<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
<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]