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 · code https://github.com/amaranth-lang · logs https://libera.irclog.whitequark.org/amaranth-lang · Matrix #amaranth-lang:matrix.org
<vipqualitypost[m> hmm.. I added some resources but I can't seem to get ahold of them:... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/QfVAkGFITGqVrINjyMIYZiYO>)
<vipqualitypost[m> and I'm requesting them like this: `disp = platform.request("seven_segment", 0)`
<vipqualitypost[m> * hmm.. I added some resources but I can't seem to get ahold of them:... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/TODoolIpwyzAYvLwlBviXTFL>)
<cr1901> platform.add_resources([...]), function call
<cr1901> not an assignment
<vipqualitypost[m> oh!
<vipqualitypost[m> wow, that was dumb. thank you
adamgreig[m] has quit [Quit: Idle timeout reached: 172800s]
cr1901 has quit [Read error: Connection reset by peer]
cr1901_ has joined #amaranth-lang
cr1901_ is now known as cr1901
<_whitenotifier-b> [amaranth] whitequark commented on pull request #966: lib.data: implement equality for `View`, reject all other operators. - https://github.com/amaranth-lang/amaranth/pull/966#issuecomment-1826469930
vipqp has joined #amaranth-lang
vipqp has quit [Client Quit]
<tpw_rules> hm, it seems a basic axi slave is less trivial than i thought
<tpw_rules> yet not thaaaat bad? as long as i use like six state machines
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 255 seconds]
Degi_ is now known as Degi
<_whitenotifier-b> [amaranth] whitequark reopened issue #935: `Signature.is_compliant()` should explicitly require its argument to be an Interface. - https://github.com/amaranth-lang/amaranth/issues/935
<_whitenotifier-b> [amaranth] whitequark commented on issue #935: `Signature.is_compliant()` should explicitly require its argument to be an Interface. - https://github.com/amaranth-lang/amaranth/issues/935#issuecomment-1826704456
<_whitenotifier-b> [amaranth] whitequark opened pull request #967: Add support for dumping structure fields in VCD - https://github.com/amaranth-lang/amaranth/pull/967
<_whitenotifier-b> [amaranth] whitequark commented on issue #790: Can't get simulation VCD dumps for View fields - https://github.com/amaranth-lang/amaranth/issues/790#issuecomment-1826722363
<_whitenotifier-b> [amaranth] codecov[bot] commented on pull request #967: Add support for dumping structure fields in VCD - https://github.com/amaranth-lang/amaranth/pull/967#issuecomment-1826722674
<whitequark[cis]> please do test https://github.com/amaranth-lang/amaranth/pull/967!
<whitequark[cis]> that's a long-awaited part of our soon-to-end road to getting 0.4 released
<_whitenotifier-b> [amaranth] tilk commented on issue #790: Can't get simulation VCD dumps for View fields - https://github.com/amaranth-lang/amaranth/issues/790#issuecomment-1826734567
feldim2425 has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
feldim2425 has joined #amaranth-lang
<_whitenotifier-b> [amaranth] whitequark opened pull request #968: Expand flipped object forwarding in `lib.wiring` to respect `@property` and `del` - https://github.com/amaranth-lang/amaranth/pull/968
<_whitenotifier-b> [amaranth] codecov[bot] commented on pull request #968: Expand flipped object forwarding in `lib.wiring` to respect `@property` and `del` - https://github.com/amaranth-lang/amaranth/pull/968#issuecomment-1826765674
<_whitenotifier-b> [amaranth] whitequark edited pull request #968: Expand flipped object forwarding in `lib.wiring` to respect `@property` and `del` - https://github.com/amaranth-lang/amaranth/pull/968
<whitequark[cis]> jfng cr1901_: this is some of the most cursed code i ever wrote https://github.com/amaranth-lang/amaranth/pull/968
<_whitenotifier-b> [amaranth] wanda-phi reviewed pull request #968 commit - https://github.com/amaranth-lang/amaranth/pull/968#discussion_r1405389066
<_whitenotifier-b> [amaranth] whitequark reviewed pull request #968 commit - https://github.com/amaranth-lang/amaranth/pull/968#discussion_r1405393485
<_whitenotifier-b> [amaranth] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-968-79adbed3134a4490887a6b4450381217136ffe93 - https://github.com/amaranth-lang/amaranth
<_whitenotifier-b> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±2] https://github.com/amaranth-lang/amaranth/compare/79adbed3134a...74e613b49d89
<_whitenotifier-b> [amaranth-lang/amaranth] whitequark 74e613b - lib.wiring: expand flipped object forwarding to respect `@property` and `del`.
<_whitenotifier-b> [amaranth] whitequark closed pull request #968: Expand flipped object forwarding in `lib.wiring` to respect `@property` and `del` - https://github.com/amaranth-lang/amaranth/pull/968
<_whitenotifier-b> [amaranth] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-968-79adbed3134a4490887a6b4450381217136ffe93 - https://github.com/amaranth-lang/amaranth
<_whitenotifier-b> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±32] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/dafa41712a81...20274d4c7583
<_whitenotifier-b> [amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 20274d4 - Deploying to main from @ amaranth-lang/amaranth@74e613b49d89356db73687fd2f0bbd8290158291 🚀
nelgau has quit [Read error: Connection reset by peer]
nelgau has joined #amaranth-lang
<vipqualitypost[m> so I'm requesting a resource: `anodes = platform.request("anodes")`... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/lNKRiQDZOUgkuNEqKmUxtNxa>)
<vipqualitypost[m> any time I just try to `m.d.sync += anodes.eq(some_value)` that fits in the width of anodes.
<vipqualitypost[m> I did this before in a different project and it worked but that was older version of amaranth. did something change that I'm missing?
<Wanda[cis]> hahahahah.
<Wanda[cis]> beautiful.
<vipqualitypost[m> is it something obvious again 😢
<Wanda[cis]> nah, just... we overdosed horrible Python hacks and broke the language a little
<Wanda[cis]> (it's a bug on our part)
<Wanda[cis]> but: the thing you're doing is actually deprecated, and amaranth crashes when trying to print out the deprecation warning
<Wanda[cis]> (or rather, shortly after it)
<galibert[m]> Shouldn’t it be anodes.o or something?
<Wanda[cis]> yup
<Wanda[cis]> anodes.o.eq
<Wanda[cis]> because a pin is a triple of three signals, and you need specifically the output data
<Wanda[cis]> it... happened to work by accident with anodes.eq
<vipqualitypost[m> right! i was reading through that earlier conversation on the DDR or SDRAM but didn't think to try the same things here
<vipqualitypost[m> great, it seems happier now!
<galibert[m]> i/o/oe, it’s not just a good idea, it’s the law !
<galibert[m]> (or something)
<vipqualitypost[m> so anodes.oe should also be specified on dir="o" pins?
<galibert[m]> No
<galibert[m]> But it’s there
<galibert[m]> It’s set to 1 for o pins and 0 for I pins so you don’t need to touch it
<vipqualitypost[m> so is oe only used on bidirectional pins in that case?
<galibert[m]> Yes
<vipqualitypost[m> makes sense. thank you Wanda and galibert!
<_whitenotifier-b> [amaranth] wanda-phi opened pull request #969: lib.io: fix Pin.eq to work when FlippedInterface is involved. - https://github.com/amaranth-lang/amaranth/pull/969
<Wanda[cis]> Catherine: hope you enjoy more horrible Python today
<_whitenotifier-b> [amaranth] codecov[bot] commented on pull request #969: lib.io: fix Pin.eq to work when FlippedInterface is involved. - https://github.com/amaranth-lang/amaranth/pull/969#issuecomment-1826859334
<galibert[m]> Hey, Halloween is supposed to be in the past
<cr1901> Yea I forgot to mention I ran into that/make an issue.
mindw0rk has quit [Quit: ZNC 1.8.2 - https://znc.in]
mindw0rk has joined #amaranth-lang
bob_twinkles[m] has quit [Quit: Idle timeout reached: 172800s]
jfng[m] has quit [Quit: Idle timeout reached: 172800s]
jfng[m] has joined #amaranth-lang
<jfng[m]> <whitequark[cis]> "jfng cr1901_: this is some of..." <- my favorite one is still https://github.com/whitequark/Boneless-CPU/blob/dae0d16f9a8bb4c6b8b36847ad7213b17f90ef18/boneless/arch/mc.py#L196-L204