<cr1901>
Since Sentinel requires Python 3.11, Amaranth requires 3.9, and LiteX can be used on as low as 3.8, I improvise by requiring a PEP 723-aware tool
<tpw_rules>
augh i still find shelling out to that stuff cursed
<tpw_rules>
can't decide if it is better or worse than wget
Degi has quit [Ping timeout: 245 seconds]
Degi has joined #amaranth-lang
<cr1901>
Maybe I could add a path that detects whether the appropriate deps are already present on your system, but relative to all other time spent generating a SoC, I don't think it's worth it
<cr1901>
Anyways it's jfng's core, so his call. I'll just do the work if he doesn't want to
<tpw_rules>
does pep 723 create a new venv just for that script?
frgo has joined #amaranth-lang
<tpw_rules>
(or rather most pep 723 impls)
frgo has quit [Ping timeout: 260 seconds]
<cr1901>
yes, but it's cached so if you rerun the script, the venv is reused
<tpw_rules>
ok, that's not so horrible. i thought it installed in the litex environment
cr1901 has quit [Quit: Leaving]
cr1901 has joined #amaranth-lang
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 260 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 265 seconds]
frgo has joined #amaranth-lang
peepsalot has quit [Ping timeout: 260 seconds]
peepsalot has joined #amaranth-lang
trabucayre has joined #amaranth-lang
Degi has quit [Ping timeout: 244 seconds]
Degi has joined #amaranth-lang
mindw0rk_ has joined #amaranth-lang
mindw0rk has quit [Ping timeout: 272 seconds]
mindw0rk_ is now known as mindw0rk
jfng[m] has joined #amaranth-lang
<jfng[m]>
<cr1901> "jfng: Would you like me to do..." <- sure! if it is not too much work for you; let me know if you need anything on minerva's side
<jfng[m]>
i guess the only changes would be to connect the IRQ lines to minerva's `fast_interrupt` ports, and use the upper 16 bits of the mip/mie CSRs in the interrupt handling code
frgo_ has joined #amaranth-lang
frgo_ has quit [Remote host closed the connection]
frgo_ has joined #amaranth-lang
frgo_ has quit [Read error: Connection reset by peer]
<cr1901>
If you want a quick test I tested with "python -m litex_boards.targets.gsd_orangecrab --cpu-type minerva --output-dir build/orangecrab-minerva --build"
<cr1901>
And yes, moving the IRQ lines and changing the interrupt handling code are all I had to do
<jfng[m]>
thanks! there have been minor commits to minerva today, that you may want to pull also