whitequark[cis] changed the topic of #amaranth-lang to: Amaranth hardware definition language · weekly meetings: Amaranth each Mon 1700 UTC, Amaranth SoC each Fri 1700 UTC · play https://amaranth-lang.org/play/ · code https://github.com/amaranth-lang · logs https://libera.irclog.whitequark.org/amaranth-lang · Matrix #amaranth-lang:matrix.org
<cr1901> If the pdm warnings are about lockfile versions I think those can be ignored. I'll update my pdm (2.19-something) soon enough.
<cr1901> Btw in Amaranth docs, what Sphinx directive/extension/etc do you use to get the tabbed documentation snippets? https://amaranth-lang.org/docs/amaranth/latest/install.html#latest-release
<whitequark[cis]1> it's a plugin i wrote
jn has quit [Ping timeout: 248 seconds]
jn has joined #amaranth-lang
jn has quit [Changing host]
jn has joined #amaranth-lang
FFY00_ has quit [Ping timeout: 276 seconds]
FFY00 has joined #amaranth-lang
Degi has quit [Ping timeout: 265 seconds]
Degi has joined #amaranth-lang
<cr1901> is it available for others to use?
<whitequark[cis]1> yeah, it's on pypi
<conventia[m]> Is there an i2c peripheral implementation in amaranth 0.5.x?
<whitequark[cis]1> there is one in the glasgow interface explorer
<whitequark[cis]1> it's not quite idiomatic but it's well-tested
<conventia[m]> I'm trying to port the one in amlib, but that's a bit hard given how new I am to amaranth. And thanks, I'll take a look.
<whitequark[cis]1> we're still working out exactly how to build peripherals in amaranth 0.5, that's something i've been working on the past autumn
<whitequark[cis]1> other priorities took over but i'd like to resume that sometime this year
RobTaylor[m] has joined #amaranth-lang
<RobTaylor[m]> <whitequark[cis]1> "it's a plugin i wrote" <- nice!
<cr1901> Ahhh, I don't want to use it as a platformpicker, but rather a "core variant picker"
<cr1901> i.e. highlight one variant, it tells you features at a glance, highlight another, it tells you the differences
<whitequark[cis]1> it doesn't actually care what you consider a "platform"
<whitequark[cis]1> i was going to add autodetection of linux/windows/whatever so that you get the right platform when you load the page but i never actually implemented it
<cr1901> Then it's probably fine for what I want and I'll evaluate it
<conventia[m]> I already have an address showing up via i2c. So, awesome. 🙂
<whitequark[cis]1> nice
<whitequark[cis]1> is this with the glasgow core?
<conventia[m]> No, I'm considering using i2c as part of a tiny tapeout project.
<conventia[m]> But the i2c implementation in glasgow is an updated version of the one in amlib, it seems.
<cr1901> How big is the i2c impl approx (both glasgow/amlib)?
<conventia[m]> 122 ICESTORM_LC's?
<cr1901> oh cool... just curious. Is that with multicontroller support?
<conventia[m]> Well, this includes blinky and a i2c target, which does nothing but have an address. So, I'd take it with a grain of salt (or a pile).
<cr1901> Also to answer your RV64 question; Idk any RV64 Amaranth cores offhand. I impl it in principle for Sentinel, but I don't want to lol (for instance, rv32i is better supported in Rust than rv64i) :P.
<conventia[m]> I think it'd be easier to do in amaranth than verilog/vhdl.
<whitequark[cis]1> i would hope so :p
<conventia[m]> Well, they both have generate but the syntactical restrictions involved make it useless for some things.
<cr1901> .oO (Use three Sentinel cores; one core dispatches RV64I instructions as RV32I ones by using the reg files of the other two behind a private bus)
<RobTaylor[m]> cr1901 conventia : https://github.com/Jimx-/ROOM - completely undocumented though =)
<conventia[m]> 10 stage out of order... that's unexpected for a random RV64I implementation on the internet.
SpaceCoaster has quit [Ping timeout: 252 seconds]
SpaceCoaster has joined #amaranth-lang
SpaceCoaster has quit [Read error: Connection reset by peer]
SpaceCoaster has joined #amaranth-lang
<RobTaylor[m]> <conventia[m]> "10 stage out of order... that'..." <- yes 😅🤣
<RobTaylor[m]> (I regularly trawl for new amaranth projets to keep [amaranth-awesome](https://github.com/robtaylor/amaranth-awesome) up to date)
<gruetzkopf> and for a fairly beefy chip too
urja has quit [Read error: Connection reset by peer]
urja has joined #amaranth-lang
frgo_ has joined #amaranth-lang
frgo has quit [Read error: Connection reset by peer]
SpaceCoaster has quit [Read error: Connection reset by peer]
SpaceCoaster has joined #amaranth-lang