whitequark changed the topic of #amaranth-lang to: Amaranth hardware definition language · code https://github.com/amaranth-lang · logs https://libera.irclog.whitequark.org/amaranth-lang
<_whitenotifier-e> [YoWASP/nextpnr] whitequark pushed 1 commit to develop [+0/-0/±1] https://github.com/YoWASP/nextpnr/compare/b3403b67223e...bcec7ade8cb0
<_whitenotifier-e> [YoWASP/nextpnr] whitequark bcec7ad - Update dependencies.
cr1901_ is now known as cr1901
lf has quit [Ping timeout: 240 seconds]
lf has joined #amaranth-lang
bl0x_ has quit [Ping timeout: 240 seconds]
bl0x_ has joined #amaranth-lang
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 256 seconds]
Degi_ is now known as Degi
emeb_mac has quit [Ping timeout: 256 seconds]
wolfshappen has quit [Ping timeout: 256 seconds]
wolfshappen has joined #amaranth-lang
nak has joined #amaranth-lang
bvernoux1 has joined #amaranth-lang
bvernoux1 has quit [Quit: Leaving]
nak has quit [Ping timeout: 240 seconds]
richardeoin has quit [Ping timeout: 256 seconds]
richardeoin has joined #amaranth-lang
richardeoin has quit [Ping timeout: 272 seconds]
richardeoin has joined #amaranth-lang
nak has joined #amaranth-lang
<Sarayan> is there a pattern matching operator? I can't find it in the documentation. Something akin to m.d.comb += self.o_tsx_0.eq(match(self.i_ir, "1011101-") & (self.i_t == C(0))
<Sarayan> probably missing a closing parenthesis there
<tpw_rules> afaik there's nothing but a one leg case statement
<vup> Sarayan: there is `Value.matches`
<Sarayan> vup: so m.d.comb += self.o_tsx_0.eq(self.i_ir.matches("1011101-") & (self.i_t == C(0))) ?
<vup> yeah I think that should work
bvernoux has quit [Quit: Leaving]
<Sarayan> nice, thanks
emeb_mac has joined #amaranth-lang
nak has quit [Ping timeout: 240 seconds]
Guest80 has joined #amaranth-lang
Guest80 has quit [Client Quit]