_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
slagernate has joined #litex
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #litex
nelgau has quit []
nelgau has joined #litex
nelgau has quit []
nelgau has joined #litex
Degi has quit [Ping timeout: 250 seconds]
Degi has joined #litex
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
slagernate has quit [Ping timeout: 252 seconds]
Brinx has joined #litex
MoeIcenowy has quit [Ping timeout: 265 seconds]
MoeIcenowy has joined #litex
Brinx has quit [Remote host closed the connection]
Brinx has joined #litex
Brinx has quit [Ping timeout: 268 seconds]
Brinx has joined #litex
Brinx has quit [Remote host closed the connection]
Brinx has joined #litex
Brinx has quit [Ping timeout: 264 seconds]
Brinx_ has joined #litex
Brinx_ has quit [Remote host closed the connection]
Brinx has joined #litex
_franck_4 has quit [Read error: Connection reset by peer]
_franck_4 has joined #litex
Brinx has quit [Ping timeout: 260 seconds]
DoubleJ2 has joined #litex
DoubleJ has quit [Ping timeout: 268 seconds]
DoubleJ2 is now known as DoubleJ
Brinx has joined #litex
DoubleJ has quit [Quit: Not all those who wander are lost]
DoubleJ has joined #litex
Brinx has quit [Remote host closed the connection]
Brinx has joined #litex
Brinx has quit [Ping timeout: 250 seconds]
<tpw_rules> does dolu1990 have an irc nick?
<tnt> he's not on irc AFAIK
<tpw_rules> ah. is there a good way to contact him? wanted to talk about handling of the pythondata repos. might just send a PR if there's not
<tpb> Title: SpinalHDL/VexRiscv - Gitter (at gitter.im)
<tpw_rules> actually this might be a question more for mithro
pbsds has joined #litex
coco3431 has joined #litex
<tpw_rules> mithro: i think it would be good if the pythondata concept had scope for additional code with the repo, or we did something else for the CPUs which are generated
<tpw_rules> it's pretty inconvenient to have the driver code which converts the cpu request to a generator invocation as a part of litex itself and some CPUs also do additional setup and downloads prior to generation which makes tracking versions complicated
<mithro> I would just send a PR.
<mithro> tpw_rules: it would be great if the pythondata repos handled generated CPUs better
<mithro> tpw_rules: I just never got around to doing the "run command between git pull and git commit + push" bit
<tpw_rules> minerva sort of does what i want where the options are directly passed to code in the pythondata repo but it's done by shelling out to another python
<tpw_rules> in my mind there would be a little more intelligence so you can call a function directly on the data module to do that, or maybe query it for some option descriptions
<tpw_rules> but that doesn't fit the template or "just run a command" model
<tpw_rules> and that sort of code doesn't quite belong in litex because it's cpu specific and cpu isolated and not dependent on litex, and it doesn't quite belong upstream for a lot of the cpus because they are used in other applications or not python themselves
<mithro> tpw_rules: the code was almost completely written while I was avoiding doing something more important
<tpw_rules> maybe i'm reading more into some grand plan than there really is :) i have a bad habit of that
<tpw_rules> let's try again more directly
<tpw_rules> from what i get from issues and glancing at the code, your pythondata-auto tool wants to completely control the content of the pythondata repos and generate them from scratch using that .ini. but there are good reasons imo to add more stuff to them. how should that be done
<mithro> tpw_rules: the pythondata-auto already copies files from the template
<tpw_rules> maybe this is something to push upstream, but most of the CPUs don't have a working build command anyway without code from litex
<mithro> tpw_rules: no reason it couldn't also pull extra stuff from another repo or something
<tpw_rules> i was more thinking a semi-automatic approach where there's some script to generate the initial layout and separate ongoing maintenance to merge upstream code/update submodules, run build commands, and update the __init__.py metadata. then glue code would be subject to the normal PR process and ideally change relatively infrequently
<tpw_rules> having an additional pythondata-specific source repo seems complex to me
<tpw_rules> (that actually raises the question, why are the commits copied instead of using submodules?)
<mithro> I would say we want to keep the modules updating as quickly as the upstream, so that prevents manual intervention.
<tpw_rules> you wouldn't need to manually intervene to keep upstream updating though
<tpw_rules> that ongoing maintenance i mention would be fully automatic. we would just have to think a bit about what parts of the repo the bot and humans should touch
<mithro> The main reason for not having humans touch the output is the version number issue
<mithro> The current version numbers are the sum of the source and pythondata-auto
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
<mithro> Version number needs to keep going forward and incrementing for things like PyPi to work
<tpw_rules> ah that makes sense
<mithro> Versioning is hard
<mithro> But I /think/ most stuff can either go upstream or in LiteX directly?
<mithro> The only reason you might want glue code in the auto repos is that you want to share it between LiteX and a non-LiteX project?
<tpw_rules> i mean the pythondata readme template sort of casts that as the default case
<tpw_rules> more concretely i'm not sure how you would have the bot run a build command without introducing a circular dependency
pbsds has quit [Ping timeout: 265 seconds]
coco3431 has quit [Quit: Client closed]
pbsds has joined #litex
slagernate has joined #litex
slagernate has quit [Ping timeout: 252 seconds]
SpaceCoaster has quit [Quit: Bye]
SpaceCoaster has joined #litex