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
SjefCoder has quit [Ping timeout: 256 seconds]
cr1901 is now known as Dolu1990
Dolu1990 is now known as cr1901
Degi has quit [Ping timeout: 252 seconds]
Degi has joined #amaranth-lang
d_olex has joined #amaranth-lang
d_olex has quit [Ping timeout: 276 seconds]
d_olex has joined #amaranth-lang
bai has joined #amaranth-lang
d_olex has quit [Ping timeout: 272 seconds]
bai has quit [Quit: leaving]
frgo has quit [Read error: Connection reset by peer]
frgo_ has joined #amaranth-lang
zyp[m] has quit [Quit: Idle timeout reached: 172800s]
<_whitenotifier-4> [amaranth-lang/rtl-debugger] whitequark pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/rtl-debugger/compare/c5e1239952db...0b783ffbc340
<_whitenotifier-4> [amaranth-lang/rtl-debugger] whitequark 0b783ff - Hide watch-related commands without an active session.
<_whitenotifier-4> [amaranth-lang/rtl-debugger] whitequark pushed 1 commit to main [+1/-0/±1] https://github.com/amaranth-lang/rtl-debugger/compare/0b783ffbc340...fce5805e5b07
<_whitenotifier-4> [amaranth-lang/rtl-debugger] whitequark fce5805 - Move esbuild configuration to `build.mjs`.
bai has joined #amaranth-lang
nimh has quit [Ping timeout: 272 seconds]
<bai> Breaking up logic with m.d.comb saved me today. Had been using a single m.d.comb at the end of elaborate but the ast quickly becomes very long and the simulator hangs
<whitequark[cis]> how did your code look like with a single m.d.comb?
nimh has joined #amaranth-lang
<bai> a bunch of `Mux` and Array
<whitequark[cis]> ah yeah, Array in particular can easily lead to a combinatorial explosion
<whitequark[cis]> I think we warn against that in the manual, but it can still catch you off guard
<bai> ya i saw the warning, but i didn't pay attention to the ast. In fact even without array, just calling a recursive lead zero counter https://pastebin.com/0hBMAqyC twice on 24bit hangs the simulator
<bai> working on an fpu and currently still just trying pure comb logic
Wanda[cis] has joined #amaranth-lang
<Wanda[cis]> yeah uh
<Wanda[cis]> there's plans to fix that at some point
<Wanda[cis]> but that does require a fair bit of work, particularly on the simulator side
<bai> im happy just breaking up the ast with m.d.comb, the code should be separated into different Components anyways :p
ddribin has joined #amaranth-lang
ddribin93 has joined #amaranth-lang
ddribin93 has left #amaranth-lang [#amaranth-lang]
<_whitenotifier-4> [rtl-debugger] whitequark created branch surfer - https://github.com/amaranth-lang/rtl-debugger
<_whitenotifier-4> [rtl-debugger] whitequark deleted branch wip - https://github.com/amaranth-lang/rtl-debugger