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.catirclogs.org/amaranth-lang · Matrix #amaranth-lang:matrix.org
Degi has quit [Ping timeout: 248 seconds]
Degi has joined #amaranth-lang
skipwich has quit [Remote host closed the connection]
skipwich has joined #amaranth-lang
nimh has quit [Server closed connection]
nimh has joined #amaranth-lang
Aiden has joined #amaranth-lang
<Aiden> out of curiosity, what might the most idiomatic way to permute a bunch of bits in a signal be?
<whitequark[cis]> permute according to what?
<Aiden> i have a written permutation that is just a map between bits
<Aiden> i.e. (0 to 0, 1 to 26, 3 to 43, ...) for 64 bits
<Aiden> it's not _really_ reducible to a simple pattern
<whitequark[cis]> `Cat(x[i] for i in perm)`
<Aiden> thank you!!
<Aiden> that is perfect
<Aiden> :)
<whitequark[cis]> np
Xesxen has quit [Server closed connection]
Xesxen has joined #amaranth-lang
Bluefoxicy has quit [Ping timeout: 258 seconds]
Bluefoxicy has joined #amaranth-lang
sugarbeet has quit [Server closed connection]
sugarbeet has joined #amaranth-lang
oter has quit [Read error: Connection reset by peer]
oter_ has joined #amaranth-lang
oter_ is now known as oter
galibert[m] has joined #amaranth-lang
<galibert[m]> That’s beautifully Pythonesque
skipwich has quit [Ping timeout: 258 seconds]
skipwich has joined #amaranth-lang
nyanotech has quit [Server closed connection]
nyanotech has joined #amaranth-lang
Ekho has quit [Quit: CORE ERROR, SYSTEM HALTED.]
urja has quit [Server closed connection]
urja has joined #amaranth-lang
Ekho has joined #amaranth-lang
cyrozap has quit [Server closed connection]
cyrozap has joined #amaranth-lang
Psentee has quit [Server closed connection]
Psentee has joined #amaranth-lang