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
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 260 seconds]
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 246 seconds]
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 245 seconds]
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 265 seconds]
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 260 seconds]
buganini has joined #amaranth-lang
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 260 seconds]
Degi_ is now known as Degi
buganini has quit [Ping timeout: 252 seconds]
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 246 seconds]
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 252 seconds]
buganini has joined #amaranth-lang
d_olex has quit [Ping timeout: 252 seconds]
buganini has quit [Ping timeout: 260 seconds]
d_olex has joined #amaranth-lang
d_olex_ has joined #amaranth-lang
d_olex has quit [Ping timeout: 260 seconds]
d_olex_ has quit [Read error: Connection reset by peer]
d_olex_ has joined #amaranth-lang
d_olex_ has quit [Ping timeout: 252 seconds]
d_olex_ has joined #amaranth-lang
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 252 seconds]
buganini has joined #amaranth-lang
buganini has quit [Remote host closed the connection]
buganini has joined #amaranth-lang
maikmerten[m] has quit [Quit: Idle timeout reached: 172800s]
buganini has quit [Ping timeout: 245 seconds]
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 246 seconds]
maikmerten[m] has joined #amaranth-lang
<maikmerten[m]> test-driving Amaranth by re-implementing the SN76489: https://paste.mozilla.org/t8UJEfEX
<maikmerten[m]> (the programmable sound generator used in the Sega Master System, IBM PCjr, Tandy 1000, ...)
<maikmerten[m]> the neat thing with Amaranth simulation being Python is that I should be able to wire in music data from VGM files and generating PCM output relatively easily
<maikmerten[m]> (those might be famous last words)
<jeanthomas> maikmerten[m]: nah you should be good :) I built a crossover simulation with wav import/export a few years ago, hope this helps: https://gist.github.com/jeanthom/840798698228e1c497385fc9d7519b2d
<jeanthomas> It's pre-Amaranth code so there are a few things to tweak here and there
<maikmerten[m]> ah, neat, I'll gladly reserve the right to viciously steal code!
<jeanthomas> Please do!
<maikmerten[m]> :-)
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 248 seconds]
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 252 seconds]
<RobTaylor[m]> <anuejn> "no we are very much alive" <- 🎉 glad to hear it!
<maikmerten[m]> yay, the simulator is now crunching through my test sound data. Generates around ~3 milliseconds of audio output every wall clock second
<RobTaylor[m]> <maikmerten[m]> "yay, the simulator is now..." <- nice!
<RobTaylor[m]> <RobTaylor[m]> "🎉 glad to hear it!" <- do send a PR for amaranth-awesome ;)
<maikmerten[m]> ... and as far as I can tell from the first ~2.8 seconds generated, the sound generator works
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 272 seconds]
buganini has joined #amaranth-lang
buganini has quit [Ping timeout: 260 seconds]
buganini has joined #amaranth-lang
Xesxen_ is now known as Xesxen
buganini has quit [Ping timeout: 248 seconds]
FFY00 has joined #amaranth-lang
FFY00_ has quit [Ping timeout: 260 seconds]
buganini has joined #amaranth-lang
<_whitenotifier-1> [amaranth] zyp edited pull request #1461: Implement RFC 66: Simulation time. - https://github.com/amaranth-lang/amaranth/pull/1461
<_whitenotifier-1> [amaranth] rroohhh opened pull request #1512: lib.wiring: fix Signature.is_compliant docstring - https://github.com/amaranth-lang/amaranth/pull/1512
<_whitenotifier-1> [amaranth] rroohhh edited pull request #1512: lib.wiring: fix Signature.is_compliant docstring - https://github.com/amaranth-lang/amaranth/pull/1512
<_whitenotifier-1> [amaranth] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-1512-f20f04277225fe714054472e3d6daf930a9b12ef - https://github.com/amaranth-lang/amaranth
buganini has quit [Ping timeout: 246 seconds]
<_whitenotifier-1> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/f20f04277225...6e2e87c795ed
<_whitenotifier-1> [amaranth-lang/amaranth] rroohhh 6e2e87c - lib.wiring: fix Signature.is_compliant docstring
<_whitenotifier-1> [amaranth] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-1512-f20f04277225fe714054472e3d6daf930a9b12ef - https://github.com/amaranth-lang/amaranth
<_whitenotifier-1> [amaranth] whitequark closed pull request #1512: lib.wiring: fix Signature.is_compliant docstring - https://github.com/amaranth-lang/amaranth/pull/1512
<_whitenotifier-1> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±35] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/8841c9ad346b...222fa74256ba
<_whitenotifier-1> [amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 222fa74 - Deploying to main from @ amaranth-lang/amaranth@6e2e87c795edb202fd59c7536b0d31ba67444fdd 🚀
<vup> From the documentation I was kind of expecting something like this to work:
<vup> I might be particularly dense today, but I am struggeling to figure out how to properly adapt one interface to another.
<vup> But this of course fails with:
<vup> ```
<vup> amaranth.lib.wiring.ConnectionError: Argument 0 does not match its signature:
<vup> - 'arg0.payload' is neither a signal nor a constant, but (slice (sig b_in__payload) 4:36)
<vup> ```
<vup> What is the intended way to do this?
<vup> Something like
<vup> ```
<vup> payload = Signal(A)
<vup> m.d.comb += payload.eq(self.b_in.payload.payload)
<vup> b_in_adapted.payload = payload
<vup> ```
<vup> of course works, but doesnt feel too elegant
<whitequark[cis]> I would just use eq
<_whitenotifier-1> [amaranth] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-1507-6e2e87c795edb202fd59c7536b0d31ba67444fdd - https://github.com/amaranth-lang/amaranth
<_whitenotifier-1> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/6e2e87c795ed...ef38b930ad70
<_whitenotifier-1> [amaranth-lang/amaranth] purdeaandrei ef38b93 - docs: sim: fix typo async for
<_whitenotifier-1> [amaranth] whitequark closed pull request #1507: docs: sim: fix typo async for - https://github.com/amaranth-lang/amaranth/pull/1507
<_whitenotifier-1> [amaranth] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-1507-6e2e87c795edb202fd59c7536b0d31ba67444fdd - https://github.com/amaranth-lang/amaranth
<_whitenotifier-1> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±35] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/222fa74256ba...28b4525631f3
<_whitenotifier-1> [amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 28b4525 - Deploying to main from @ amaranth-lang/amaranth@ef38b930ad70ce1ede33a61e41203edd35b0eeda 🚀
feldim2425_ has quit [Ping timeout: 252 seconds]
feldim2425 has joined #amaranth-lang
__DuBPiRaTe__ has joined #amaranth-lang