_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://freenode.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
thorns514 has joined #litex
Degi has quit [Ping timeout: 260 seconds]
Degi has joined #litex
FFY00_ has quit [Remote host closed the connection]
FFY00_ has joined #litex
Bleepshop|2 is now known as Bleepshop
thorns514 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bertl_oO is now known as Bertl_zZ
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 265 seconds]
kgugala has quit [Read error: Connection reset by peer]
kgugala has joined #litex
peeps[zen] has quit [*.net *.split]
davidlattimore has quit [*.net *.split]
apolkosnik[m] has quit [*.net *.split]
guan has quit [*.net *.split]
SpaceCoaster has quit [*.net *.split]
feldim2425 has quit [*.net *.split]
dormito has quit [*.net *.split]
CarlFK has quit [*.net *.split]
st-gourichon-fid has quit [*.net *.split]
pepijndevos has quit [*.net *.split]
carlomaragno has quit [*.net *.split]
shoragan has quit [*.net *.split]
Emantor has quit [*.net *.split]
tucanae47 has quit [*.net *.split]
[Matt] has quit [*.net *.split]
cr1901_modern has quit [*.net *.split]
felix_ has quit [*.net *.split]
shenki has quit [*.net *.split]
xobs has quit [*.net *.split]
promach3 has quit [*.net *.split]
midnight has quit [*.net *.split]
vup has quit [*.net *.split]
joseng has quit [*.net *.split]
benh has quit [*.net *.split]
pdp7 has quit [*.net *.split]
Xesxen has quit [*.net *.split]
_florent_ has quit [*.net *.split]
lf has quit [*.net *.split]
Claude has quit [*.net *.split]
sorear has quit [*.net *.split]
acathla has quit [*.net *.split]
esden has quit [*.net *.split]
the_jinx has quit [*.net *.split]
xfxf has quit [*.net *.split]
y2kbugger has quit [*.net *.split]
gruetzkopf has quit [*.net *.split]
disasm[m] has quit [*.net *.split]
JJJollyjim1 has quit [*.net *.split]
Bertl_zZ has quit [*.net *.split]
awygle has quit [*.net *.split]
flammit has quit [*.net *.split]
kgugala has quit [*.net *.split]
Bleepshop has quit [*.net *.split]
_franck_ has quit [*.net *.split]
captain_morgan has quit [*.net *.split]
awordnot has quit [*.net *.split]
tmbinc has quit [*.net *.split]
ric96 has quit [*.net *.split]
tannewt has quit [*.net *.split]
levi has quit [*.net *.split]
rektide has quit [*.net *.split]
gatecat has quit [*.net *.split]
Stary has quit [*.net *.split]
miek has quit [*.net *.split]
mithro has quit [*.net *.split]
alanvgreen has quit [*.net *.split]
x56_ has quit [*.net *.split]
key2 has quit [*.net *.split]
rohitksingh has quit [*.net *.split]
palmer has quit [*.net *.split]
somlo has quit [*.net *.split]
RaYmAn has quit [*.net *.split]
mntmn has quit [*.net *.split]
Degi has quit [*.net *.split]
zyp has quit [*.net *.split]
TMM has quit [*.net *.split]
proteusguy has quit [*.net *.split]
keesj has quit [*.net *.split]
kbeckmann has quit [*.net *.split]
anuejn has quit [*.net *.split]
geertu has quit [*.net *.split]
trabucayre has quit [*.net *.split]
tpb has quit [*.net *.split]
G33KatWork has quit [*.net *.split]
dkozel has quit [*.net *.split]
shorne has quit [*.net *.split]
goran-mahovlic has quit [*.net *.split]
sajattack[m] has quit [*.net *.split]
jryans has quit [*.net *.split]
tumbleweed has quit [*.net *.split]
bubble_buster has quit [*.net *.split]
simeonm has quit [*.net *.split]
j4cbo has quit [*.net *.split]
pftbest_ has quit [*.net *.split]
indy has quit [*.net *.split]
lkcl has quit [*.net *.split]
FFY00_ has quit [*.net *.split]
Finde has quit [*.net *.split]
bastelmann has quit [*.net *.split]
nickoe has quit [*.net *.split]
nats` has quit [*.net *.split]
leons has quit [Ping timeout: 276 seconds]
shoragan[m] has quit [Ping timeout: 276 seconds]
ric96 has joined #litex
mithro has joined #litex
ric96 has joined #litex
mithro has joined #litex
ric96 has quit [Changing host]
mithro has quit [Changing host]
disasm[m] has joined #litex
tpb has joined #litex
G33KatWork has joined #litex
dkozel has joined #litex
shorne has joined #litex
goran-mahovlic has joined #litex
leons has joined #litex
CarlFK has joined #litex
sajattack[m] has joined #litex
jryans has joined #litex
promach3 has joined #litex
shoragan[m] has joined #litex
JJJollyjim has joined #litex
xobs has joined #litex
apolkosnik[m] has joined #litex
kgugala_ has joined #litex
thorns514 has joined #litex
thorns51_ has joined #litex
thorns514 has quit [Ping timeout: 268 seconds]
thorns514 has joined #litex
thorns51_ has quit [Ping timeout: 258 seconds]
thorns51_ has joined #litex
thorns514 has quit [Ping timeout: 258 seconds]
thorns51_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thorns514 has joined #litex
kgugala_ has quit [Quit: -a- Connection Timed Out]
kgugala has joined #litex
rj has joined #litex
pftbest has joined #litex
m4ssi has joined #litex
thorns514 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<leons> _florent_: thanks so much for integrating my LiteEth timestamping PR!
<leons> I have one question though (I feel like I'm missing something). You changed the code to make the SRAM Writer only have a result status FIFO when timestamping is enabled
<leons> I was under the impression by introducing the result status FIFO I was implicitly solving another issue: how does a LiteEth user know how many packets have been sent when not having a result FIFO?
<leons> Sure, they can count interrupts. Imagine however the OS is pretty busy and it will take a while to do anything reasonable with the interrupt. LiteEth might have sent multiple packets, right?
rj has quit [Quit: rj]
pftbest has quit [Remote host closed the connection]
<_florent_> leons: The reasoning is fine and I agree with it, I did this change mostly because it is changing the software API (with CSRs moving) and so would break the current drivers using this API, so I just want to be sure we do it at the right time (and maybe after doing https://github.com/enjoy-digital/litex/issues/548 that could avoid breaking current drivers with the change).
pftbest has joined #litex
pftbest has quit [Ping timeout: 240 seconds]
pftbest has joined #litex
thorns514 has joined #litex
<leons> Ah, thanks for the explanation, this makes sense. I already prepared to get my hands dirty in the Linux LiteEth driver to adjust it, but it makes sense that there are many clients relying on it
<leons> I think it's very important nonetheless, as my driver (without timestamps retrofitted) currently relies on one interrupt routed to the driver per packet, and I'm reasonably sure that caused issues at least a few times already
<leons> I'm a huge fan of having more static, well defined CSRs as proposed in https://github.com/enjoy-digital/litex/issues/548
<leons> In case one would, in the future, run into the case where the CSR interface is deemed sufficiently broken to need to redesign it backwards-incompatible, wouldn't it make sense to version the interface while we're at it? I'd love to fail fast in my driver if the interface is changed in a backwards-incompatible way. If that might make sense, I'll be sure to add a comment to #548
<zyp> what you might want to do is add a version register
<leons> zyp: yup! ideally, always at the start of the CSR bank for each peripheral. An 8-bit number should probably suffice
<zyp> I've got an upcoming usecase for this too
<zyp> I've designed an ecp5 based board for the orbuculum project that'll act as a swd/jtag/trace probe: https://bin.jvnv.net/file/e4wot.png
<leons> zyp: hah, my usecase is "I have a bunch of drivers, and I don't know if updating LiteX will break my drivers in a way that manifests itself in a weird edge-case"
<leons> I suppose that's a pretty common "usecase" haha
<zyp> and I'm planning to eventually port the blackmagic probe firmware to run on a vexriscv in the fpga
<zyp> so it would be nice to be able to present a consistent register interface towards the firmware, since the firmware would be fairly decoupled from the gateware platform
<leons> zyp: That looks pretty awesome, I didn't know orbuculum yet!
<leons> Specifically what makes backwards-incompatible changes in CSRs tricky for me is that the OS I'm maintaining the LiteX target for is written in Rust, so I can't integrate it with the usual generated headers
<leons> And auto-generating the driver's register abstraction from JSON/SVD isn't really a great option either
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 240 seconds]
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 240 seconds]
lf has joined #litex