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_ is now known as cr1901
<cr1901> Gonna be honest- I've been preoccupied w/ other things this week and have like 2000 lines of scrollback; is the diagnostic for "you created a memory incorrectly", as I do in Sentinel, upstream yet?
<Wanda[cis]> yeah we merged it
<cr1901> Cool, thanks
<Wanda[cis]> but it only triggers when you actually use the elaboratable twice
<Wanda[cis]> because we don't really have means of detecting where exactly things were created a mutated, only that you mutated things after elaboration
<cr1901> That's not a problem; my pytests will cause that to trigger because of how I use parametric fixtures
<Wanda[cis]> mhm
<cr1901> https://github.com/cr1901/sentinel/blob/main/tests/conftest.py#L40-L55 I create an Elaboratable exactly once per test, even if it's parameterized. Oh look, I even wrote a comment
<cr1901> But having to pass in a functools.partial to elaborate a new object for each run of a parametric test is... kinda shitty from a usability standpoint, so I added it in as a hack
<cr1901> (Thinking out loud: Maybe I can workaround this by doing copy.copy or copy.deepcopy and get rid of the partial hack)
lf_ has joined #amaranth-lang
lf has quit [Ping timeout: 268 seconds]
Degi has quit [Ping timeout: 268 seconds]
Degi_ has joined #amaranth-lang
Degi_ is now known as Degi
<whitequark[cis]> <cr1901> "But having to pass in a functool..." <- when MemoryData lands you can use that
notgull has joined #amaranth-lang
notgull has quit [Ping timeout: 252 seconds]
notgull has joined #amaranth-lang
notgull has quit [Ping timeout: 260 seconds]
chaoticryptidz has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
chaoticryptidz has joined #amaranth-lang
Maja has quit [Remote host closed the connection]
Maja has joined #amaranth-lang
FFY00 has quit [Read error: Connection reset by peer]
jess has quit []