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
Degi has quit [Ping timeout: 265 seconds]
Degi has joined #amaranth-lang
conventia[m] has joined #amaranth-lang
<conventia[m]> Is there a way to tell if amaranth is successfully mapping a Memory to an EBR on an ECP5?
<whitequark[cis]> which toolchain are you using?
<conventia[m]> Yosys on linux.
<conventia[m]> So, Trellis, I guess.
<whitequark[cis]> you can read the yosys log; if you set ram_style=block on the memory the synthesis will fail if it's not mapped properly
<whitequark[cis]> an attribute I mean
<conventia[m]> So, Memory(shape=unsigned(32), ram_style=block, ...)?
<whitequark[cis]> no, that's a parameter. give me a momebt
<whitequark[cis]> s/momebt/moment/
<conventia[m]> `Memory(shape=MyStruct, depth=4, init=init, attrs={"ram_style": "block"})`
<conventia[m]> I found a test.
<whitequark[cis]> yeah
<conventia[m]> Thanks.
<conventia[m]> It seems to work, nice!
<conventia[m]> And build/top.tim says DP16KD: 1/208, so yeah. The OrangeCrab 85F is nice.
<whitequark[cis]> nice!
<conventia[m]> Is amlib still maintained?
urja has quit [Read error: Connection reset by peer]
Raito_Bezarius has quit [Read error: Connection reset by peer]
Raito_Bezarius has joined #amaranth-lang
urja has joined #amaranth-lang
Raito_Bezarius has quit [Max SendQ exceeded]
<jeanthomas> conventia[m]: I don't know, but it hasn't seen activity in recent days
Raito_Bezarius has joined #amaranth-lang
Guest74 has joined #amaranth-lang
qookie has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
qookie has joined #amaranth-lang
Guest74 has quit [Quit: Client closed]
phoenicianepic has joined #amaranth-lang
phoenicianepic has quit [Client Quit]
Raito_Bezarius has quit [Ping timeout: 245 seconds]
Raito_Bezarius has joined #amaranth-lang
<conventia[m]> It uses amaranth.compat, which seems to not exist anymore. :/
<whitequark[cis]> compat has been removed since it was never widely used and we did not have resources to maintain it
<whitequark[cis]> if anyone will ever resurrect it, that will be the litex project
<whitequark[cis]> as that is by far the largest single body of migen code, I think
<conventia[m]> Makes sense.
sjalloq[m] has quit [Quit: Idle timeout reached: 172800s]