whitequark changed the topic of #amaranth-lang to: Amaranth hardware definition language · weekly meetings on Mondays at 1700 UTC · code https://github.com/amaranth-lang · logs https://libera.irclog.whitequark.org/amaranth-lang
Degi has quit [Ping timeout: 265 seconds]
Degi has joined #amaranth-lang
<_whitenotifier-9> [YoWASP/yosys] whitequark pushed 1 commit to develop-0.30 [+0/-0/±1] https://github.com/YoWASP/yosys/commit/3b60c515ddb1
<_whitenotifier-9> [YoWASP/yosys] whitequark 3b60c51 - [autorelease] Yosys 0.30.
<_whitenotifier-9> [YoWASP/yosys] whitequark pushed 1 commit to develop [+0/-0/±1] https://github.com/YoWASP/yosys/compare/3a600e10999b...626e81799aba
<_whitenotifier-9> [YoWASP/yosys] whitequark 626e817 - Update dependencies.
<_whitenotifier-9> [yosys] whitequark created branch develop-0.30 - https://github.com/YoWASP/yosys
<_whitenotifier-9> [YoWASP/yosys] whitequark created branch release-0.30 https://github.com/YoWASP/yosys/commit/3b60c515ddb1b4835d6de85966395765a5633af5
<_whitenotifier-9> [yosys] whitequark created branch release-0.30 - https://github.com/YoWASP/yosys
<_whitenotifier-9> [amaranth-soc] whitequark commented on issue #10: Peripheral API design: exposing bus interfaces - https://github.com/amaranth-lang/amaranth-soc/issues/10#issuecomment-1580186360
<_whitenotifier-9> [amaranth] mwkmwkmwk opened issue #803: Wrong shape computed for `range(0, 10, 3)` - https://github.com/amaranth-lang/amaranth/issues/803
<_whitenotifier-9> [amaranth] mwkmwkmwk opened pull request #804: hdl.ast: fix range handling in `Shape.cast`. - https://github.com/amaranth-lang/amaranth/pull/804
<_whitenotifier-9> [amaranth] whitequark commented on pull request #652: vendor.xilinx: add workaround for ISE - https://github.com/amaranth-lang/amaranth/pull/652#issuecomment-1580331676
<_whitenotifier-9> [amaranth] whitequark closed pull request #652: vendor.xilinx: add workaround for ISE - https://github.com/amaranth-lang/amaranth/pull/652
<_whitenotifier-9> [amaranth] mwkmwkmwk opened issue #805: Wrong normalization for `Const(-16, 4)` - https://github.com/amaranth-lang/amaranth/issues/805
FL4SHK has quit [Ping timeout: 250 seconds]
<_whitenotifier-9> [amaranth] mwkmwkmwk opened pull request #806: hdl.ast: fix signed `Const` normalization. - https://github.com/amaranth-lang/amaranth/pull/806
<_whitenotifier-9> [amaranth] codecov[bot] commented on pull request #806: hdl.ast: fix signed `Const` normalization. - https://github.com/amaranth-lang/amaranth/pull/806#issuecomment-1580430224
<_whitenotifier-9> [amaranth] whitequark closed pull request #806: hdl.ast: fix signed `Const` normalization. - https://github.com/amaranth-lang/amaranth/pull/806
<_whitenotifier-9> [amaranth] whitequark closed issue #805: Wrong normalization for `Const(-16, 4)` - https://github.com/amaranth-lang/amaranth/issues/805
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±2] https://github.com/amaranth-lang/amaranth/compare/0681cb77b16c...656db317d221
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk 656db31 - hdl.ast: fix signed `Const` normalization.
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±28] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/86f5ab0e9c76...b573c504cfef
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark b573c50 - Deploying to main from @ amaranth-lang/amaranth@656db317d221639db5d4c9e368c9c839119b291c 🚀
<_whitenotifier-9> [amaranth] mwkmwkmwk opened issue #807: Constructing a `signed(0)`-shaped Const fails with `ValueError`. - https://github.com/amaranth-lang/amaranth/issues/807
<_whitenotifier-9> [amaranth] mwkmwkmwk opened issue #808: `rotate_*` crashes on 0-width `Value` - https://github.com/amaranth-lang/amaranth/issues/808
<_whitenotifier-9> [amaranth] mwkmwkmwk opened pull request #809: hdl.ast: guard `rotate_*` against 0-width values. - https://github.com/amaranth-lang/amaranth/pull/809
<_whitenotifier-9> [amaranth] codecov[bot] commented on pull request #809: hdl.ast: guard `rotate_*` against 0-width values. - https://github.com/amaranth-lang/amaranth/pull/809#issuecomment-1580520070
<_whitenotifier-9> [amaranth] whitequark closed pull request #809: hdl.ast: guard `rotate_*` against 0-width values. - https://github.com/amaranth-lang/amaranth/pull/809
<_whitenotifier-9> [amaranth] whitequark closed issue #808: `rotate_*` crashes on 0-width `Value` - https://github.com/amaranth-lang/amaranth/issues/808
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±2] https://github.com/amaranth-lang/amaranth/compare/656db317d221...a6e33abc5fe8
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk a6e33ab - hdl.ast: guard `rotate_*` against 0-width values.
<_whitenotifier-9> [amaranth] whitequark commented on pull request #809: hdl.ast: guard `rotate_*` against 0-width values. - https://github.com/amaranth-lang/amaranth/pull/809#issuecomment-1580559125
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±28] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/b573c504cfef...9e2c251c3aac
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark 9e2c251 - Deploying to main from @ amaranth-lang/amaranth@a6e33abc5fe8973e845557d5ad239aaab123e629 🚀
FL4SHK has joined #amaranth-lang
<_whitenotifier-9> [amaranth] mwkmwkmwk opened issue #810: Off-by-one in `Slice` constructor validation - https://github.com/amaranth-lang/amaranth/issues/810
<_whitenotifier-9> [amaranth] mwkmwkmwk opened pull request #811: hdl.ast: fix `Slice` validation. - https://github.com/amaranth-lang/amaranth/pull/811
<_whitenotifier-9> [amaranth] codecov[bot] commented on pull request #804: hdl.ast: fix range handling in `Shape.cast`. - https://github.com/amaranth-lang/amaranth/pull/804#issuecomment-1580687217
<_whitenotifier-9> [amaranth] codecov[bot] commented on pull request #811: hdl.ast: fix `Slice` validation. - https://github.com/amaranth-lang/amaranth/pull/811#issuecomment-1580688116
<_whitenotifier-9> [amaranth] whitequark opened pull request #812: CI: enable building merge queue - https://github.com/amaranth-lang/amaranth/pull/812
<_whitenotifier-9> [amaranth] codecov[bot] commented on pull request #812: CI: enable building merge queue - https://github.com/amaranth-lang/amaranth/pull/812#issuecomment-1580693500
<_whitenotifier-9> [amaranth] mwkmwkmwk opened issue #813: Subtract of unsigned `Value`s should have signed shape - https://github.com/amaranth-lang/amaranth/issues/813
<_whitenotifier-9> [amaranth] whitequark closed pull request #812: CI: enable building merge queue - https://github.com/amaranth-lang/amaranth/pull/812
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/a6e33abc5fe8...fcbc8bd46fe2
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark fcbc8bd - CI: enable building merge queue.
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±28] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/9e2c251c3aac...01bf96f4a2ca
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark 01bf96f - Deploying to main from @ amaranth-lang/amaranth@fcbc8bd46fe291365f628a9993149c9eb8352e4f 🚀
<_whitenotifier-9> [amaranth-lang/amaranth] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-804-fcbc8bd46fe291365f628a9993149c9eb8352e4f https://github.com/amaranth-lang/amaranth/commit/c7984463c741da91c2c3074268117e9c69463af7
<_whitenotifier-9> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to gh-readonly-queue/main/pr-811-c7984463c741da91c2c3074268117e9c69463af7 [+0/-0/±2] https://github.com/amaranth-lang/amaranth/compare/041a817b7b8f...3180a17fd928
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk 3180a17 - hdl.ast: fix `Slice` validation.
<whitequark> okay, let's see how the merge queue works
<_whitenotifier-9> [amaranth] mwkmwkmwk opened pull request #814: hdl.ast: fix shape for subtraction. - https://github.com/amaranth-lang/amaranth/pull/814
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±2] https://github.com/amaranth-lang/amaranth/compare/fcbc8bd46fe2...c7984463c741
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk c798446 - hdl.ast: fix range handling in `Shape.cast`.
<_whitenotifier-9> [amaranth-lang/amaranth] A deploy key deleted branch gh-readonly-queue/main/pr-804-fcbc8bd46fe291365f628a9993149c9eb8352e4f
<_whitenotifier-9> [amaranth] whitequark deleted branch gh-readonly-queue/main/pr-804-fcbc8bd46fe291365f628a9993149c9eb8352e4f - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth] whitequark closed issue #803: Wrong shape computed for `range(0, 10, 3)` - https://github.com/amaranth-lang/amaranth/issues/803
<_whitenotifier-9> [amaranth] whitequark closed pull request #804: hdl.ast: fix range handling in `Shape.cast`. - https://github.com/amaranth-lang/amaranth/pull/804
<_whitenotifier-9> [amaranth] whitequark reviewed pull request #759 commit - https://github.com/amaranth-lang/amaranth/pull/759#discussion_r1221511705
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±28] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/01bf96f4a2ca...b1af392e18b2
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark b1af392 - Deploying to main from @ amaranth-lang/amaranth@c7984463c741da91c2c3074268117e9c69463af7 🚀
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±2] https://github.com/amaranth-lang/amaranth/compare/c7984463c741...3180a17fd928
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk 3180a17 - hdl.ast: fix `Slice` validation.
<_whitenotifier-9> [amaranth] whitequark closed issue #810: Off-by-one in `Slice` constructor validation - https://github.com/amaranth-lang/amaranth/issues/810
<_whitenotifier-9> [amaranth] whitequark deleted branch gh-readonly-queue/main/pr-811-c7984463c741da91c2c3074268117e9c69463af7 - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth-lang/amaranth] A deploy key deleted branch gh-readonly-queue/main/pr-811-c7984463c741da91c2c3074268117e9c69463af7
<_whitenotifier-9> [amaranth] whitequark closed pull request #811: hdl.ast: fix `Slice` validation. - https://github.com/amaranth-lang/amaranth/pull/811
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±28] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/b1af392e18b2...2a787030f786
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark 2a78703 - Deploying to main from @ amaranth-lang/amaranth@3180a17fd9283b059187cd1d259b16956545c7e3 🚀
<_whitenotifier-9> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to gh-readonly-queue/main/pr-814-3180a17fd9283b059187cd1d259b16956545c7e3 [+0/-0/±2] https://github.com/amaranth-lang/amaranth/compare/4e7de7bcc0a9...1d5e09058072
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk 1d5e090 - hdl.ast: fix shape for subtraction.
<_whitenotifier-9> [amaranth] codecov[bot] commented on pull request #814: hdl.ast: fix shape for subtraction. - https://github.com/amaranth-lang/amaranth/pull/814#issuecomment-1580730824
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±2] https://github.com/amaranth-lang/amaranth/compare/3180a17fd928...1d5e09058072
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk 1d5e090 - hdl.ast: fix shape for subtraction.
<_whitenotifier-9> [amaranth] whitequark closed pull request #814: hdl.ast: fix shape for subtraction. - https://github.com/amaranth-lang/amaranth/pull/814
<_whitenotifier-9> [amaranth] whitequark deleted branch gh-readonly-queue/main/pr-814-3180a17fd9283b059187cd1d259b16956545c7e3 - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth-lang/amaranth] A deploy key deleted branch gh-readonly-queue/main/pr-814-3180a17fd9283b059187cd1d259b16956545c7e3
<_whitenotifier-9> [amaranth] whitequark closed issue #813: Subtract of unsigned `Value`s should have signed shape - https://github.com/amaranth-lang/amaranth/issues/813
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±28] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/2a787030f786...d7bc953e3ab1
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark d7bc953 - Deploying to main from @ amaranth-lang/amaranth@1d5e09058072fbf952b44ab77815d6b02d9a0965 🚀
<_whitenotifier-9> [amaranth] whitequark commented on pull request #806: hdl.ast: fix signed `Const` normalization. - https://github.com/amaranth-lang/amaranth/pull/806#issuecomment-1580741443
<_whitenotifier-9> [amaranth] whitequark commented on pull request #811: hdl.ast: fix `Slice` validation. - https://github.com/amaranth-lang/amaranth/pull/811#issuecomment-1580741757
<_whitenotifier-9> [amaranth] whitequark commented on pull request #814: hdl.ast: fix shape for subtraction. - https://github.com/amaranth-lang/amaranth/pull/814#issuecomment-1580742222
<_whitenotifier-9> [amaranth] whitequark opened pull request #815: Update changelog - https://github.com/amaranth-lang/amaranth/pull/815
<_whitenotifier-9> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to gh-readonly-queue/main/pr-815-1d5e09058072fbf952b44ab77815d6b02d9a0965 [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/3e28d6075764...46433268cdee
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark 4643326 - docs/changes: update.
<_whitenotifier-9> [amaranth] codecov[bot] commented on pull request #815: Update changelog - https://github.com/amaranth-lang/amaranth/pull/815#issuecomment-1580868064
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/1d5e09058072...46433268cdee
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark 4643326 - docs/changes: update.
<_whitenotifier-9> [amaranth] whitequark closed pull request #815: Update changelog - https://github.com/amaranth-lang/amaranth/pull/815
<_whitenotifier-9> [amaranth] whitequark deleted branch gh-readonly-queue/main/pr-815-1d5e09058072fbf952b44ab77815d6b02d9a0965 - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth-lang/amaranth] A deploy key deleted branch gh-readonly-queue/main/pr-815-1d5e09058072fbf952b44ab77815d6b02d9a0965
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±33] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/d7bc953e3ab1...a4284ec662a6
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark a4284ec - Deploying to main from @ amaranth-lang/amaranth@46433268cdeed6509c1963884ce8c115ad010bcd 🚀
<FL4SHK> thoughts on stuff like arrays of interfaces?
<_whitenotifier-9> [amaranth] whitequark opened pull request #816: (Do not merge until 2023-06-27) Drop support for Python 3.7 - https://github.com/amaranth-lang/amaranth/pull/816
<galibert[m]> what do you mean, if it's not a python array of interface objects?
<FL4SHK> galibert[m]: my thoughts are that it should use a Python `list` of interface objects internally
<FL4SHK> but you may want to stick such an array of interface objects into another interface object
<whitequark> hm, this isn't something I've thought about, but it should be reasonably easy to support with our Member approach
<galibert[m]> My question is why it should not be a python list of interface objects period?
<galibert[m]> ahhh
<whitequark> e.g. In[OtherInterface][4] or even In[OtherInterface[4]], and then when instantiated, yes, it will be just a list
<FL4SHK> that sounds great
<FL4SHK> stuff like custom interconnects are probably the main use case for this kind of thing
<galibert[m]> I'd put the [4] inside and have the same thing on Structs
<whitequark> I think we already have getitem defined on Layout
<whitequark> which is why we can't have it on StructLayout
<FL4SHK> oh
<whitequark> we could define .array(4), maybe
<FL4SHK> yeah, that works
<galibert[m]> is the Layout getitem defined on numbers? Otherwise StructItem can handle it in number, pass it up otherwise
<whitequark> it's not quite the same problem because an array of structs is a special entity since it has to use Array internally
<galibert[m]> inheritance for the win
<whitequark> galibert: yes it's defined
<galibert[m]> ah, ambiguous semantics then
<whitequark> yes
<whitequark> (continuing on arrays) but an array of interfaces is a list of independent entities, basically
<whitequark> galibert: oh, what we can define on structs is `*`
<whitequark> so you would have `StructLayout({"a": 1}) * 4` and that returns an Array
<galibert[m]> My fee feeling (usual caveat, that's my feeling only) is that Signature and Layout(? I'm lost in the names) should essentially be identical for the user except for In[]/Out[]
<galibert[m]> * My feeling (usual caveat, that's my feeling only) is that Signature and Layout(? I'm lost in the names) should essentially be identical for the user except for In[]/Out[]
<whitequark> Signature and Layout yeah
<whitequark> they are not exactly identical by necessity
<whitequark> they are similar though
<galibert[m]> where do they diverge, outside of in/out which is the fundamental difference?
<whitequark> there are no unions for interfaces (it makes no sense) and array semantics is rather different
<galibert[m]> Hmmm, no unions for interfaces?
<whitequark> nope
<whitequark> it doesn't make sense
<galibert[m]> Really?
<whitequark> unions only work if you have a single underlying signal with a single direction
<whitequark> because there are no inout signals
<galibert[m]> ok, a union of signatures makes no sense, but a signature over an union does
<FL4SHK> Is there any easy way, for the sake of debugging with the Verilog output, to see the *names* of the individual members of a `Struct`?
<whitequark> then you include a UnionLayout in a Signature which is the same as using any other shape-castable
<whitequark> FL4SHK: in the Verilog? not currently, no
<whitequark> there is an open issue for it
<FL4SHK> whitequark: the best I can figure is to do something with `Layout.of(my_struct)`
<whitequark> yes, this is currently the best option
<whitequark> this will be fixed before release
<FL4SHK> very nice
<FL4SHK> sounds good
<FL4SHK> I suppose at that point I can get rid of my `Splitrec` class
<FL4SHK> though... that one does allow a different driver for every member
<FL4SHK> because it's not a `ValueCastable` any more
<whitequark> that would be an interface
<FL4SHK> the only real reason to use *that* is for the situation that interface objects solve
<FL4SHK> yeah
<FL4SHK> so I'll just retire my `Splitrec` once everything is built into Amaranth, like I did with my `Packrec`, which itself is fully replaced now with `View` and friends
<whitequark> yep
<galibert[m]> heh, good concepts should go into the main language (or libs, same difference)
<FL4SHK> I completely agree
<whitequark> you basically reinvented (or i guess pre-invented) interfaces and aggregates. which is fine! the development has been slow
<FL4SHK> yeah, sorry, I've been impatient, haha
<whitequark> that's totally okay!
<FL4SHK> thanks
<FL4SHK> well, I've got to get back to work
<FL4SHK> gotta drive to the office... one of the last times I'll have to do that every week
<FL4SHK> because I'm changing jobs to a fully remote position on Friday
<galibert[m]> why, after that you're fired? ;-)
<FL4SHK> oh no
<FL4SHK> I'm just transferring
<FL4SHK> haha
<_whitenotifier-9> [amaranth] whitequark opened pull request #817: Add PyPy3.8 and PyPy3.9 CI workers - https://github.com/amaranth-lang/amaranth/pull/817
<FL4SHK> anyway, ttyl
<galibert[m]> see you
<_whitenotifier-9> [amaranth] codecov[bot] commented on pull request #816: (Do not merge until 2023-06-27) Drop support for Python 3.7 - https://github.com/amaranth-lang/amaranth/pull/816#issuecomment-1580941528
<galibert[m]> about resets, we have async resets and sync resets which are (on clk edge + enable + sync_reset force value), right? That's it, and there's nothing more needed?
<galibert[m]> (thinking on extending the domains rfc to cover reset so that we have something complete to interate on)
<galibert[m]> s/interate/iterate/
<whitequark> can you elaborate re enable?
<_whitenotifier-9> [amaranth] codecov[bot] commented on pull request #817: Add PyPy3.8 and PyPy3.9 CI workers - https://github.com/amaranth-lang/amaranth/pull/817#issuecomment-1580956495
<galibert[m]> if you have a domain with a clock, a sync domain and an enable on the clock (through EnableInserter for now), reset only happens on clock edge when enable is 1, right?
<galibert[m]> s/domain/reset/
<whitequark> nope
<whitequark> we have reset-over-enable
<galibert[m]> ah
<whitequark> so both async and sync reset behave in a similar way
<whitequark> 'reset means reset' is the principle here
<whitequark> though... the more I think about why we want enables, I'm wondering if maybe we should have enable-over-reset
<galibert[m]> yeah, the clock "leaking through" is not good :/
<whitequark> if we say that logically, enables are specifically for power gating and clock division, then it would be enable-over-reset...
<whitequark> need to think about it
<_whitenotifier-9> [amaranth] whitequark edited pull request #816: (Do not merge until 2023-06-27) Drop support for Python 3.7 - https://github.com/amaranth-lang/amaranth/pull/816
<whitequark> galibert: the basic problem is that async reset will always be over enable
<galibert[m]> async is async, it's even over the clock
<galibert[m]> so the clock doesn't leak there
<whitequark> there's some difficult questions to answer here
<whitequark> looking at Clash is a good idea
<galibert[m]> If it's "is async reset ever sane outside of POR?" I think the answer is no, but heh
<galibert[m]> what's Clash?
<whitequark> it's absolutely necessary if you have any sort of clock gating, or external clocks that may be stopped
<whitequark> I think what might make sense is to separate async reset from sync reset
<galibert[m]> true, if you know for a fact that no update events are going to happen around when you do the reset there's no issue
<whitequark> so you have domain.arst, domain.clk, domain.en, domain.rst in order of priority
<whitequark> and the last two can be bound with inserters
<galibert[m]> yeah, I was planning to separate the resets
<galibert[m]> because, as you say, they're different
<galibert[m]> technically we could even separate the reset values, but that gets kinky for no real reason
<whitequark> no, absolutely not
<galibert[m]> technically as in "both verilog and fpgas support it". Doesn't make it a good idea
<_whitenotifier-9> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to gh-readonly-queue/main/pr-817-46433268cdeed6509c1963884ce8c115ad010bcd [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/0d3a3f8ad43e...6b2e043a57d6
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark 6b2e043 - CI: add PyPy3.8 and PyPy3.9.
<_whitenotifier-9> [amaranth-lang/amaranth] A deploy key deleted branch gh-readonly-queue/main/pr-817-46433268cdeed6509c1963884ce8c115ad010bcd
<_whitenotifier-9> [amaranth] whitequark deleted branch gh-readonly-queue/main/pr-817-46433268cdeed6509c1963884ce8c115ad010bcd - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to gh-readonly-queue/main/pr-817-46433268cdeed6509c1963884ce8c115ad010bcd [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/3219c9473b45...20db53716289
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark 20db537 - CI: add PyPy3.8 and PyPy3.9.
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/46433268cdee...20db53716289
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark 20db537 - CI: add PyPy3.8 and PyPy3.9.
<_whitenotifier-9> [amaranth] whitequark closed pull request #817: Add PyPy3.8 and PyPy3.9 CI workers - https://github.com/amaranth-lang/amaranth/pull/817
<_whitenotifier-9> [amaranth-lang/amaranth] A deploy key deleted branch gh-readonly-queue/main/pr-817-46433268cdeed6509c1963884ce8c115ad010bcd
<_whitenotifier-9> [amaranth] whitequark deleted branch gh-readonly-queue/main/pr-817-46433268cdeed6509c1963884ce8c115ad010bcd - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±28] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/a4284ec662a6...3fc80fb467d5
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark 3fc80fb - Deploying to main from @ amaranth-lang/amaranth@20db537162896fb9a7c0e04b3adc542083b2994b 🚀
<_whitenotifier-9> [amaranth-lang/weekly] whitequark pushed 1 commit to main [+2/-0/±0] https://github.com/amaranth-lang/weekly/commit/0c0a811312ef
<_whitenotifier-9> [amaranth-lang/weekly] whitequark 0c0a811 - Initial commit.
<_whitenotifier-9> [weekly] whitequark created branch main - https://github.com/amaranth-lang/weekly
jjsuperpower has joined #amaranth-lang
<_whitenotifier-9> [amaranth] mwkmwkmwk opened pull request #818: hdl.ast: fix `ValueKey.__eq__`. - https://github.com/amaranth-lang/amaranth/pull/818
<_whitenotifier-9> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to gh-readonly-queue/main/pr-818-20db537162896fb9a7c0e04b3adc542083b2994b [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/5b80a40fd7d1...3d3846e9964e
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk 3d3846e - hdl.ast: fix `ValueKey.__eq__`.
<_whitenotifier-9> [amaranth] mwkmwkmwk opened pull request #819: hdl.ast: ensure `Value.cast` in `Part` and `Slice` constructors. - https://github.com/amaranth-lang/amaranth/pull/819
<_whitenotifier-9> [amaranth] codecov[bot] commented on pull request #818: hdl.ast: fix `ValueKey.__eq__`. - https://github.com/amaranth-lang/amaranth/pull/818#issuecomment-1581080657
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/20db53716289...3d3846e9964e
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk 3d3846e - hdl.ast: fix `ValueKey.__eq__`.
<_whitenotifier-9> [amaranth] whitequark closed pull request #818: hdl.ast: fix `ValueKey.__eq__`. - https://github.com/amaranth-lang/amaranth/pull/818
<_whitenotifier-9> [amaranth] whitequark deleted branch gh-readonly-queue/main/pr-818-20db537162896fb9a7c0e04b3adc542083b2994b - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth-lang/amaranth] A deploy key deleted branch gh-readonly-queue/main/pr-818-20db537162896fb9a7c0e04b3adc542083b2994b
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±28] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/3fc80fb467d5...ff2267959628
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark ff22679 - Deploying to main from @ amaranth-lang/amaranth@3d3846e9964e3e443fdc94cf52fdf9b77762859e 🚀
<_whitenotifier-9> [amaranth] codecov[bot] commented on pull request #819: hdl.ast: ensure `Value.cast` in `Part` and `Slice` constructors. - https://github.com/amaranth-lang/amaranth/pull/819#issuecomment-1581090956
<_whitenotifier-9> [amaranth] mwkmwkmwk opened pull request #820: hdl.ast: make `Value.__abs__` return unsigned shape. - https://github.com/amaranth-lang/amaranth/pull/820
<_whitenotifier-9> [amaranth] mwkmwkmwk opened pull request #821: hdl.ast: fix `src_loc` for `Slice`. - https://github.com/amaranth-lang/amaranth/pull/821
mindw0rk has quit [Remote host closed the connection]
mindw0rk has joined #amaranth-lang
<_whitenotifier-9> [amaranth] whitequark reviewed pull request #820 commit - https://github.com/amaranth-lang/amaranth/pull/820#discussion_r1222086404
<_whitenotifier-9> [amaranth] whitequark commented on pull request #821: hdl.ast: fix `src_loc` for `Slice`. - https://github.com/amaranth-lang/amaranth/pull/821#issuecomment-1581418061
<_whitenotifier-9> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to gh-readonly-queue/main/pr-821-3d3846e9964e3e443fdc94cf52fdf9b77762859e [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/924f5409984d...1b0fb1afbcee
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk 1b0fb1a - hdl.ast: fix `src_loc` for `Slice`.
<_whitenotifier-9> [amaranth] whitequark commented on pull request #819: hdl.ast: ensure `Value.cast` in `Part` and `Slice` constructors. - https://github.com/amaranth-lang/amaranth/pull/819#issuecomment-1581419225
<_whitenotifier-9> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to gh-readonly-queue/main/pr-819-1b0fb1afbcee2803152faa2fcfb1616a78ee5ea7 [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/02dfd5ad33e8...51391be1ae2f
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk 51391be - hdl.ast: ensure `Value.cast` in `Part` and `Slice` constructors.
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/3d3846e9964e...1b0fb1afbcee
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk 1b0fb1a - hdl.ast: fix `src_loc` for `Slice`.
<_whitenotifier-9> [amaranth-lang/amaranth] A deploy key deleted branch gh-readonly-queue/main/pr-821-3d3846e9964e3e443fdc94cf52fdf9b77762859e
<_whitenotifier-9> [amaranth] whitequark deleted branch gh-readonly-queue/main/pr-821-3d3846e9964e3e443fdc94cf52fdf9b77762859e - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth] whitequark closed pull request #821: hdl.ast: fix `src_loc` for `Slice`. - https://github.com/amaranth-lang/amaranth/pull/821
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±28] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/ff2267959628...ce16bbfa7c12
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark ce16bbf - Deploying to main from @ amaranth-lang/amaranth@1b0fb1afbcee2803152faa2fcfb1616a78ee5ea7 🚀
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/1b0fb1afbcee...51391be1ae2f
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk 51391be - hdl.ast: ensure `Value.cast` in `Part` and `Slice` constructors.
<_whitenotifier-9> [amaranth] whitequark closed pull request #819: hdl.ast: ensure `Value.cast` in `Part` and `Slice` constructors. - https://github.com/amaranth-lang/amaranth/pull/819
<_whitenotifier-9> [amaranth-lang/amaranth] A deploy key deleted branch gh-readonly-queue/main/pr-819-1b0fb1afbcee2803152faa2fcfb1616a78ee5ea7
<_whitenotifier-9> [amaranth] whitequark deleted branch gh-readonly-queue/main/pr-819-1b0fb1afbcee2803152faa2fcfb1616a78ee5ea7 - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±28] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/ce16bbfa7c12...b0ac085e33e6
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark b0ac085 - Deploying to main from @ amaranth-lang/amaranth@51391be1ae2fdb115ad44f80de871a2150cb9eeb 🚀
<_whitenotifier-9> [amaranth] mwkmwkmwk reviewed pull request #820 commit - https://github.com/amaranth-lang/amaranth/pull/820#discussion_r1222119675
<_whitenotifier-9> [amaranth] richardeoin reviewed pull request #759 commit - https://github.com/amaranth-lang/amaranth/pull/759#discussion_r1222146875
jjsuperpower has quit [Ping timeout: 240 seconds]
Degi has quit [Ping timeout: 265 seconds]
Degi has joined #amaranth-lang
<_whitenotifier-9> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to gh-readonly-queue/main/pr-820-51391be1ae2fdb115ad44f80de871a2150cb9eeb [+0/-0/±2] https://github.com/amaranth-lang/amaranth/compare/b35edb2fa480...b1cce87630e9
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk b1cce87 - hdl.ast: make `Value.__abs__` return unsigned shape.
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±2] https://github.com/amaranth-lang/amaranth/compare/51391be1ae2f...b1cce87630e9
<_whitenotifier-9> [amaranth-lang/amaranth] mwkmwkmwk b1cce87 - hdl.ast: make `Value.__abs__` return unsigned shape.
<_whitenotifier-9> [amaranth-lang/amaranth] A deploy key deleted branch gh-readonly-queue/main/pr-820-51391be1ae2fdb115ad44f80de871a2150cb9eeb
<_whitenotifier-9> [amaranth] whitequark deleted branch gh-readonly-queue/main/pr-820-51391be1ae2fdb115ad44f80de871a2150cb9eeb - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth] whitequark closed pull request #820: hdl.ast: make `Value.__abs__` return unsigned shape. - https://github.com/amaranth-lang/amaranth/pull/820
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±28] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/b0ac085e33e6...9b6e0758b4b1
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark 9b6e075 - Deploying to main from @ amaranth-lang/amaranth@b1cce87630e917dfe09546cd78c73c7a310c6b97 🚀
Sarayan has quit [Ping timeout: 250 seconds]
<_whitenotifier-9> [amaranth] slagernate reviewed pull request #759 commit - https://github.com/amaranth-lang/amaranth/pull/759#discussion_r1208344361
<_whitenotifier-9> [amaranth] slagernate reviewed pull request #759 commit - https://github.com/amaranth-lang/amaranth/pull/759#discussion_r1222284131
<_whitenotifier-9> [amaranth] slagernate reviewed pull request #759 commit - https://github.com/amaranth-lang/amaranth/pull/759#discussion_r1222040272