Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 246 seconds]
Degi_ is now known as Degi
Sarayan has quit [Ping timeout: 240 seconds]
Sarayan has joined #amaranth-lang
oter has quit [Ping timeout: 260 seconds]
oter has joined #amaranth-lang
Lord_Nightmare has joined #amaranth-lang
balrog has quit [Quit: Bye]
balrog has joined #amaranth-lang
_luke_w_[m] has quit [Quit: Bridge terminating on SIGTERM]
_catircservices has quit [Quit: Bridge terminating on SIGTERM]
whitequark[cis] has quit [Quit: Bridge terminating on SIGTERM]
_catircservices has joined #amaranth-lang
_catircservices has quit [Quit: Bridge terminating on SIGTERM]
_catircservices has joined #amaranth-lang
_catircservices has quit [Client Quit]
_catircservices has joined #amaranth-lang
_catircservices has quit [Client Quit]
_catircservices has joined #amaranth-lang
whitequark[cis] has joined #amaranth-lang
<
whitequark[cis]>
it's copied from migen, IIRC
jfng[m] has joined #amaranth-lang
<
jfng[m]>
the alternative would be to use ceil(log2(n)), and explicitly handle 0 and negative values, if needed
<
jfng[m]>
it is only used in `lib.fifo` ... which ends up check for n=0 in the caller
<
jfng[m]>
> <@jfng:matrix.org> it is only used in `lib.fifo` ... which ends up check for n=0 in the caller
<
jfng[m]>
and probably in a bunch of user code, also
<
whitequark[cis]>
I think it is now much less needed now that Signal(range(...)) is a thing
<
whitequark[cis]>
want to write an RFC for deprecating it?
<
josuah>
> it's copied from migen, IIRC
<
josuah>
I did see it in migen code lately, so I second that!
jjsuperpower has joined #amaranth-lang
jjsuperpower has quit [Ping timeout: 260 seconds]
feldim2425 has joined #amaranth-lang
pbsds has quit [Ping timeout: 260 seconds]
pbsds has joined #amaranth-lang
notgull has joined #amaranth-lang
jjsuperpower has joined #amaranth-lang