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
lf has quit [Ping timeout: 260 seconds]
lf_ has joined #amaranth-lang
<_whitenotifier-e> [YoWASP/yosys] whitequark pushed 1 commit to develop [+0/-0/±1] https://github.com/YoWASP/yosys/compare/a342420eb886...c5754192bdeb
<_whitenotifier-e> [YoWASP/yosys] whitequark c575419 - Update dependencies.
Peanut has quit [Ping timeout: 240 seconds]
Peanut has joined #amaranth-lang
bl0x_ has quit [Ping timeout: 240 seconds]
bl0x_ has joined #amaranth-lang
Degi has quit [Ping timeout: 240 seconds]
Degi has joined #amaranth-lang
emeb_mac has quit [Quit: Leaving.]
hansfbaier has quit [Quit: WeeChat 2.8]
enok has quit [Remote host closed the connection]
nak has joined #amaranth-lang
gdd has quit [Ping timeout: 272 seconds]
Peanut has quit [Ping timeout: 256 seconds]
Peanut has joined #amaranth-lang
Lilian has quit [Quit: ZNC 1.8.2 - https://znc.in]
Lilian has joined #amaranth-lang
nak has quit [Ping timeout: 256 seconds]
wolfshappen_ has quit [*.net *.split]
cr1901 has quit [*.net *.split]
Qyriad has quit [*.net *.split]
Wolfvak has quit [*.net *.split]
tcal has quit [*.net *.split]
hell has quit [*.net *.split]
arisu has quit [*.net *.split]
wolfshappen_ has joined #amaranth-lang
Wolfvak has joined #amaranth-lang
Qyriad has joined #amaranth-lang
hell has joined #amaranth-lang
tcal has joined #amaranth-lang
cr1901 has joined #amaranth-lang
arisu has joined #amaranth-lang
wolfshappen_ has quit [Max SendQ exceeded]
wolfshappen has joined #amaranth-lang
Abhishek_ has joined #amaranth-lang
cr1901_ has joined #amaranth-lang
cr1901 has quit [Ping timeout: 240 seconds]
RobertJrdens[m] has quit [Quit: You have been kicked for being idle]
<lsneff> Say I wanted to include an instruction encoder (to the textual asm) in my design to help with debugging. Does amaranth include anything to help with that? e.g. Signals with a shape that's a string up to n chars?
<agg> You can use an enum and I believe they get translated in the vcd
<lsneff> Yeah, I've been using enums for other things, but that'd be a lot of enums
<lsneff> it'd be easier if amaranth had sum-type signals I guess
Peanut has quit [Quit: Power Outage]
<vup> you can specify a custom decoder function that gets used in the vcd generation
<lsneff> Oh! How do I do that?
<vup> Signal takes a decoder argument that can be a enum or a function that maps a int to a string
<Sarayan> lsneff: what would you add the encoder for and when? Remember that the classes are only executed once, to establish the circuit
<Sarayan> lower-right is ram
<Sarayan> 6T sram
<Sarayan> the usual in other words
<Sarayan> gah wrong channel
<lsneff> Sarayan: Yep, I understand that
<lsneff> vup: Very cool, thank you!
bl0x_ has quit [Ping timeout: 240 seconds]
cr1901_ is now known as cr1901
nak has joined #amaranth-lang
nak has quit [Ping timeout: 272 seconds]
chaoticryptidz has quit [Quit: No Ping reply in 180 seconds.]
chaoticryptidz has joined #amaranth-lang
chaoticryptidz has quit [Quit: No Ping reply in 180 seconds.]
chaoticryptidz has joined #amaranth-lang