_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
CarlFK has quit [Quit: Leaving.]
peepsalot has quit [Ping timeout: 246 seconds]
peepsalot has joined #litex
Degi has quit [Ping timeout: 240 seconds]
Degi has joined #litex
_whitelogger has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 260 seconds]
st-gourichon-fid has quit [Read error: Connection reset by peer]
st-gourichon-fid has joined #litex
keesj has quit [*.net *.split]
keesj has joined #litex
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 240 seconds]
<st-gourichon-fid> pepijndevos, if my PR was useful to your "good news! vexrisc boots to console no" then I'm happy about it, any way that's okay. https://github.com/enjoy-digital/litex/pull/663
<tpb> Title: Fix SoC CPU crash on minimal variants on call to flush_cpu_dcache(). by fidergo-stephane-gourichon · Pull Request #663 · enjoy-digital/litex · GitHub (at github.com)
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 256 seconds]
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 246 seconds]
david-sawatzke[m has quit [*.net *.split]
CarlFK[m]1 has quit [*.net *.split]
david-sawatzke[m has joined #litex
CarlFK[m]1 has joined #litex
<st-gourichon-fid> Hi! When building documentation for a design we get "AttributeError: 'CDCUsbPHY' object has no attribute 'duid'". Investigating the hypothesis that this means "document id" and something is missing in CSCUsbPHY. Any hint appreciated.
<st-gourichon-fid> on calling generate_docs(soc, "build/"+target+"/documentation")
<zyp> sounds to me like the CDCUsbPHY instance gets passed to some code that expects a CSR instance (the CSR instances have a duid attribute)
<zyp> i.e. you're probably passing in the wrong object somewhere
<st-gourichon-fid> Thanks zyp for the feedback. The design compiles and works fine, only generating doc fails like this.
<zyp> can you pastebin the full traceback of the error?
<st-gourichon-fid> yes
<tpb> Title: Ubuntu Pastebin (at paste.ubuntu.com)
<zyp> ah, right, it's not the CSR duid, it's the ModuleDoc duid
<zyp> where does the CDCUsbPHY come from?
<st-gourichon-fid> Strangely, the code does test if object is of ModuleDoc class.
<st-gourichon-fid> Let me check.
<st-gourichon-fid> In ValentyUSB
<st-gourichon-fid> We were instructed to follow https://gist.github.com/enjoy-digital/82ed88b77ef0b1e3e91b0592e44eaa14#file-gistfile1-txt-L83 which requires branch hw_cdc_eptri of valentyusb
<tpb> Title: Fomu · GitHub (at gist.github.com)
<zyp> ah, right
<tpb> Title: valentyusb/cdc_eptri.py at hw_cdc_eptri · gregdavill/valentyusb · GitHub (at github.com)
<st-gourichon-fid> class CDCUsbPHY(Module, AutoDoc, ModuleDoc):
<zyp> yeah, I found it
kgugala_ has joined #litex
<zyp> I have an idea of what the problem might be
<st-gourichon-fid> I'm interested.
kgugala has quit [Ping timeout: 240 seconds]
kgugala has joined #litex
<tpb> Title: litex/doc.py at master · enjoy-digital/litex · GitHub (at github.com)
<zyp> that claims there's no need to call __init__(), but __init__() is what calls DUID.__init__() which is what sets self.duid
kgugala_ has quit [Ping timeout: 258 seconds]
<zyp> so I don't really understand how it's supposed to work without calling __init__
<zyp> try adding ModuleDoc.__init__(self) to CDCUsbPHY
<st-gourichon-fid> doing that
<zyp> I guess it got overlooked because __init__() doesn't do anything else useful when called without arguments
<st-gourichon-fid> Done. No more exception.
<tpb> Title: valentyusb/cdc_eptri.py at hw_cdc_eptri · gregdavill/valentyusb · GitHub (at github.com)
<zyp> yeah, and probably a PR to litex as well to remove the line about __init__ not being required :)
<zyp> unless there is a better way to solve it
<st-gourichon-fid> Can do that. Will include your hints in the PR.
kgugala_ has joined #litex
kgugala_ has quit [Read error: Connection reset by peer]
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 272 seconds]
<st-gourichon-fid> zyp, where is that mentioned in litex that __init__ is not required?
<st-gourichon-fid> I grepped and did not find.
<zyp> I linked it
<tpb> Title: litex/doc.py at master · enjoy-digital/litex · GitHub (at github.com)
kgugala_ has quit [Read error: No route to host]
kgugala has joined #litex
<st-gourichon-fid> Ah thanks. I grepped excluding *.py ...
<st-gourichon-fid> Thanks zyp, things were not clear to me before, re-reading your lines above things are clear now. Doing PRs.
<tpb> Title: Fix incompatibility with ModuleDoc(). by fidergo-stephane-gourichon · Pull Request #1 · gregdavill/valentyusb · GitHub (at github.com)
<tpb> Title: Change misleading comment about ModuleDoc. by fidergo-stephane-gourichon · Pull Request #668 · enjoy-digital/litex · GitHub (at github.com)
kgugala_ has joined #litex
kgugala_ has quit [Read error: Connection reset by peer]
kgugala has quit [Ping timeout: 240 seconds]
kgugala has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 256 seconds]
FFY00 has quit [Read error: Connection reset by peer]
FFY00 has joined #litex
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
[Matt] has quit [Ping timeout: 240 seconds]
[Matt] has joined #litex
vup has quit [Remote host closed the connection]
vup has joined #litex
CarlFK has joined #litex
<tpb> Title: GitHub - secworks/poly1305: Hardware implementation of the poly1305 message authentication function. (at github.com)
lf has quit [Ping timeout: 240 seconds]
lf has joined #litex