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
lf has quit [Ping timeout: 248 seconds]
lf has joined #amaranth-lang
bl0x has joined #amaranth-lang
bl0x_ has quit [Ping timeout: 255 seconds]
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 260 seconds]
Degi_ is now known as Degi
sugarbeet has quit [Ping timeout: 256 seconds]
sugarbeet has joined #amaranth-lang
jess has quit [Quit: Lost terminal]
nak has quit [Ping timeout: 255 seconds]
nak has joined #amaranth-lang
sugarbeet has quit [Ping timeout: 248 seconds]
sugarbeet has joined #amaranth-lang
<bl0x> Can one print debug information from elaborate()-ed code when running in pysim? I'd like to put all instrumentation into the simulation processes, but rather have some kind of `if simulated: print(...)` where it is needed.
<jn> bl0x: i.e. access runtime values of signals?
<bl0x> yes, I know that from within a simulator process I can yield the value, but can that also be described inside of an elaborate() function?
<whitequark> at the moment no, but a Display statement is planned shortly
playback2396[m] has quit [Quit: You have been kicked for being idle]
<bl0x> whitequark: nice! I've put some instrumentation inside the sim process for now. It feels a bit like a crutch, though. Also: Python's way of interpreting signed/unsigned values is fun.
<whitequark> yeah
nelgau has joined #amaranth-lang
<whitequark> good afternoon everyone, it is time for our scheduled Monday meeting
<whitequark> today we are discussing the following three RFCs: https://github.com/amaranth-lang/rfcs/pulls?q=is%3Apr+is%3Aopen+label%3Ameta%3Anominated
<whitequark> I suggest starting with RFC #5, Remove Const.normalize: https://github.com/amaranth-lang/rfcs/blob/remove-const-normalize/text/0000-remove-const-normalize.md
<whitequark> any comments?
<cr1901> Why is churn a drawback? (Fine w/ accepting)
<whitequark> in general, people do not like changing their code when it provides no direct benefit to them
<whitequark> doing something that the developers using your language do not like is a drawback
<cr1901> Is Amaranth now rolling-release or are you still doing versions?
<cr1901> (I think the latter)
<whitequark> still doing versions, due to the deprecation policy
<cr1901> Anyways, breakage seems minimal/fixable w/ CTRL+F/R
<whitequark> I actually should be more specific. I would like everyone present on the meeting who has reviewed the RFC to respond with proposed disposition: merge or close
<jfng[m]> no opinion on this, but i've never called normalize explicitly
<cr1901> merge
<Chips4MakersakaS> merge
<jfng[m]> merge
<whitequark> anyone else? adamgreig ?
<adamgreig[m]> I've never used normalize
<adamgreig[m]> So +1 on merge
<nelgau> merge
<whitequark> looks like that's all
<whitequark> the RFC will be merged
<whitequark> once again, I would like everyone to respond with their comments, or proposed disposition: close or merge
<jfng[m]> would `Repl` be a const-castable candidate, in the future ?
<jfng[m]> merge
<cr1901> What are the ramifications of "not Liskov-compatible" do you foresee to the end user?
<whitequark> yes, we can extend it to more expressions, and this would not require an RFC
<whitequark> or at least, not for Repl
<whitequark> I don't expect there to be any in practice
<whitequark> it's a minor technicality that gets exposed to the user because of how object-oriented languages happen to work
<whitequark> or rather, how class methods work in Python specifically
crzwdjk has joined #amaranth-lang
<cr1901> I figured that, but "don't use a Const.cast() where you need a Value.cast()" boils down to "just don't do that", and I thought maybe I was missing something
<whitequark> that is, I don't think anyone wrote a generic method that takes either the Value class, or the Const class as cls, and expects cls.cast to act according to the Value.cast contract, always accepting arbitrary values
<cr1901> merge
<Chips4MakersakaS> merge
<whitequark> adamgreig?
<adamgreig[m]> I haven't had time to review this in detail but no objections, happy to say merge
<whitequark> nelgau?
<nelgau> please merge
<nelgau> no objections from me
<whitequark> the RFC will be merged
<whitequark> please respond with your comments, or proposed disposition: close or merge
<jfng[m]> merge
<nelgau> merge
<crzwdjk> merge
<cr1901> merge
<Chips4MakersakaS> merge
<whitequark> adamgreig?
<adamgreig[m]> Merge, I've wanted this and it looks good
<whitequark> the RFC will be merged
<whitequark> this concludes today's meeting. thanks everyone; we've even finished it on time!
<nelgau> thanks whitequark
<robtaylor> \o./
<anuejn> thanks for the amazing work on these RFCs :)
<robtaylor> i concur completely!
<whitequark> you're welcome. many of them already have sample implementation, so you should be able to use these soon
<_whitenotifier-9> [rfcs] whitequark commented on pull request #5: Remove `Const.normalize` - https://github.com/amaranth-lang/rfcs/pull/5#issuecomment-1446749919
<_whitenotifier-9> [rfcs] whitequark commented on pull request #4: Const-castable expressions - https://github.com/amaranth-lang/rfcs/pull/4#issuecomment-1446750817
<_whitenotifier-9> [rfcs] whitequark commented on pull request #3: Enumeration shapes - https://github.com/amaranth-lang/rfcs/pull/3#issuecomment-1446751346
crzwdjk has quit [Quit: Client closed]
<_whitenotifier-9> [amaranth] whitequark opened issue #754: Implement RFC 5: Remove `Const.normalize` - https://github.com/amaranth-lang/amaranth/issues/754
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark pushed 2 commits to main [+2/-0/±0] https://github.com/amaranth-lang/rfcs/compare/2af204df7fa2...24590ab71a7f
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark 4d9a7ed - RFC: Remove `Const.normalize`.
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark 24590ab - Merge RFC #5: Remove Const.normalize.
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark deleted branch remove-const-normalize
<_whitenotifier-9> [rfcs] whitequark closed pull request #5: Remove `Const.normalize` - https://github.com/amaranth-lang/rfcs/pull/5
<_whitenotifier-9> [rfcs] whitequark deleted branch remove-const-normalize - https://github.com/amaranth-lang/rfcs
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+1/-0/±7] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/505ca6bd6260...98878a2bb2d4
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark 98878a2 - Deploying to main from @ amaranth-lang/rfcs@24590ab71a7fe30bb1e9e3bf169f5e72092ac4e9 🚀
<_whitenotifier-9> [amaranth] whitequark opened issue #755: Implement RFC 4: Const-castable expressions - https://github.com/amaranth-lang/amaranth/issues/755
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark pushed 2 commits to main [+2/-0/±0] https://github.com/amaranth-lang/rfcs/compare/24590ab71a7f...916bd05baa4f
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark 5884213 - RFC: Const-castable expressions.
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark 916bd05 - Merge RFC #4: Const-castable expressions
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark deleted branch const-castable
<_whitenotifier-9> [rfcs] whitequark closed pull request #4: Const-castable expressions - https://github.com/amaranth-lang/rfcs/pull/4
<_whitenotifier-9> [rfcs] whitequark deleted branch const-castable - https://github.com/amaranth-lang/rfcs
<_whitenotifier-9> [amaranth] whitequark commented on issue #751: Const-castable expressions - https://github.com/amaranth-lang/amaranth/issues/751#issuecomment-1446763054
<_whitenotifier-9> [amaranth] whitequark closed issue #751: Const-castable expressions - https://github.com/amaranth-lang/amaranth/issues/751
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+1/-0/±8] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/98878a2bb2d4...eb40ec6c345b
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark eb40ec6 - Deploying to main from @ amaranth-lang/rfcs@916bd05baa4f7136b907a4d178e677cdb2ab0329 🚀
peeps has joined #amaranth-lang
peeps[zen] has quit [Ping timeout: 268 seconds]
peeps[zen] has joined #amaranth-lang
<_whitenotifier-9> [amaranth] whitequark opened issue #756: Implement RFC 3: Enumeration shapes - https://github.com/amaranth-lang/amaranth/issues/756
peeps has quit [Ping timeout: 246 seconds]
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark pushed 4 commits to main [+2/-0/±8] https://github.com/amaranth-lang/rfcs/compare/916bd05baa4f...f78416d05a57
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark 85a1e39 - RFC: Enumeration shapes.
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark 70c2f29 - Fill in dates for RFCs #4, #5.
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark 5b14c93 - Merge RFC #3: Enumeration shapes
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark f78416d - Update the format to include RFC name as a heading.
<_whitenotifier-9> [amaranth-lang/rfcs] whitequark deleted branch enum-shape
<_whitenotifier-9> [rfcs] whitequark deleted branch enum-shape - https://github.com/amaranth-lang/rfcs
<_whitenotifier-9> [rfcs] whitequark closed pull request #3: Enumeration shapes - https://github.com/amaranth-lang/rfcs/pull/3
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+1/-0/±9] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/eb40ec6c345b...fe59427f63c6
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark fe59427 - Deploying to main from @ amaranth-lang/rfcs@f78416d05a57f0557eaf7eeca7a5c8a862219da5 🚀
<_whitenotifier-9> [amaranth] whitequark commented on issue #730: lib.data: enum Field width cannot be user-defined - https://github.com/amaranth-lang/amaranth/issues/730#issuecomment-1446811019
<_whitenotifier-9> [amaranth] whitequark closed issue #730: lib.data: enum Field width cannot be user-defined - https://github.com/amaranth-lang/amaranth/issues/730
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±4] https://github.com/amaranth-lang/amaranth/compare/fcc4f54367e4...f602ce1f8f67
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark f602ce1 - hdl.ast: deprecate `Const.normalize`.
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±29] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/fe59427f63c6...edab4562381b
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark edab456 - Deploying to main from @ amaranth-lang/amaranth@f602ce1f8f67aeceb07e7439987bf86c4976fd89 🚀
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/f602ce1f8f67...5d872096a726
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark 5d87209 - docs/changes: link to RFC.
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±29] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/edab4562381b...8fdf4ac39194
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark 8fdf4ac - Deploying to main from @ amaranth-lang/amaranth@5d872096a726cdbd38aff028c43b1f290408fe1c 🚀
nelgau has quit [Remote host closed the connection]
nelgau has joined #amaranth-lang
nelgau has quit [Remote host closed the connection]
nelgau has joined #amaranth-lang
<_whitenotifier-9> [YoWASP/yosys] whitequark pushed 1 commit to develop [+0/-0/±2] https://github.com/YoWASP/yosys/compare/33693bc8bbaf...f0a5054f7553
<_whitenotifier-9> [YoWASP/yosys] whitequark f0a5054 - Add a missing click dependency for sby.
<_whitenotifier-9> [YoWASP/yosys] whitequark pushed 1 commit to develop-0.26 [+0/-0/±2] https://github.com/YoWASP/yosys/compare/25201c7779c4...493a188f8688
<_whitenotifier-9> [YoWASP/yosys] whitequark 493a188 - [autorelease] Add a missing click dependency for sby.
nelgau has quit [Remote host closed the connection]
nelgau has joined #amaranth-lang
nelgau has quit [Remote host closed the connection]
nelgau has joined #amaranth-lang
<_whitenotifier-9> [YoWASP/yosys] whitequark pushed 1 commit to develop [+0/-0/±2] https://github.com/YoWASP/yosys/compare/f0a5054f7553...21140e14ab3e
<_whitenotifier-9> [YoWASP/yosys] whitequark 21140e1 - Add a missing click dependency for sby.
<_whitenotifier-9> [YoWASP/yosys] whitequark pushed 1 commit to develop-0.26 [+0/-0/±2] https://github.com/YoWASP/yosys/compare/493a188f8688...fc8cf907c67d
<_whitenotifier-9> [YoWASP/yosys] whitequark fc8cf90 - [autorelease] Add a missing click dependency for sby.
<_whitenotifier-9> [YoWASP/yosys] whitequark pushed 1 commit to release-0.26 [+0/-0/±2] https://github.com/YoWASP/yosys/compare/25201c7779c4...fc8cf907c67d
<_whitenotifier-9> [YoWASP/yosys] whitequark fc8cf90 - [autorelease] Add a missing click dependency for sby.
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±3] https://github.com/amaranth-lang/amaranth/compare/5d872096a726...342fd5f8bdc1
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark 342fd5f - docs: fix doctests and run them in CI workflow.
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+5/-0/±32] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/8fdf4ac39194...a7854b6b837a
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark a7854b6 - Deploying to main from @ amaranth-lang/amaranth@342fd5f8bdc1b447d320fa5dc2a3b14fba8be172 🚀
<_whitenotifier-9> [YoWASP/runtime] whitequark pushed 1 commit to develop [+0/-0/±1] https://github.com/YoWASP/runtime/compare/5412a1fcd5de...1194ab246a52
<_whitenotifier-9> [YoWASP/runtime] whitequark 1194ab2 - Test on all Python versions supported by wasmtime.
<_whitenotifier-9> [YoWASP/runtime] whitequark pushed 1 commit to develop [+0/-0/±2] https://github.com/YoWASP/runtime/compare/1194ab246a52...b192b1faf736
<_whitenotifier-9> [YoWASP/runtime] whitequark b192b1f - Require Python~=3.7.
<_whitenotifier-9> [YoWASP/runtime] whitequark pushed 1 commit to develop [+0/-0/±2] https://github.com/YoWASP/runtime/compare/b192b1faf736...3bf50ae0531f
<_whitenotifier-9> [YoWASP/runtime] whitequark 3bf50ae - [autorelease] Require Python~=3.7.
<_whitenotifier-9> [YoWASP/runtime] whitequark pushed 4 commits to release [+0/-1/±10] https://github.com/YoWASP/runtime/compare/c6646bc4899d...3bf50ae0531f
<_whitenotifier-9> [YoWASP/runtime] whitequark 525bac6 - Build test binary from source.
<_whitenotifier-9> [YoWASP/runtime] whitequark 5412a1f - Test against wasi-sdk-19.
<_whitenotifier-9> [YoWASP/runtime] whitequark 1194ab2 - Test on all Python versions supported by wasmtime.
<_whitenotifier-9> [YoWASP/runtime] whitequark 3bf50ae - [autorelease] Require Python~=3.7.
<_whitenotifier-9> [YoWASP/runtime] whitequark pushed 1 commit to develop [+0/-0/±1] https://github.com/YoWASP/runtime/compare/3bf50ae0531f...3d9df8853ebe
<_whitenotifier-9> [YoWASP/runtime] whitequark 3d9df88 - Add dummy workflow to group required status checks.
<_whitenotifier-9> [YoWASP/runtime] whitequark pushed 1 commit to develop [+0/-0/±1] https://github.com/YoWASP/runtime/compare/3d9df8853ebe...5ae1859d02be
<_whitenotifier-9> [YoWASP/runtime] whitequark 5ae1859 - Add dummy workflow to group required status checks.
<_whitenotifier-9> [YoWASP/runtime] whitequark pushed 1 commit to develop [+0/-0/±1] https://github.com/YoWASP/runtime/compare/5ae1859d02be...7ea70021d0f1
<_whitenotifier-9> [YoWASP/runtime] whitequark 7ea7002 - Add dummy workflow to group required status checks.
<_whitenotifier-9> [YoWASP/runtime] whitequark pushed 1 commit to develop [+0/-0/±1] https://github.com/YoWASP/runtime/compare/7ea70021d0f1...4b6e8994c150
<_whitenotifier-9> [YoWASP/runtime] whitequark 4b6e899 - Add dummy workflow to group required status checks.
<_whitenotifier-9> [YoWASP/runtime] whitequark pushed 1 commit to develop [+0/-0/±1] https://github.com/YoWASP/runtime/compare/4b6e8994c150...9641271533f7
<_whitenotifier-9> [YoWASP/runtime] whitequark 9641271 - Add dummy workflow to group required status checks.
<_whitenotifier-9> [YoWASP/yosys] whitequark pushed 1 commit to develop [+0/-0/±1] https://github.com/YoWASP/yosys/compare/21140e14ab3e...04d68029ac0e
<_whitenotifier-9> [YoWASP/yosys] whitequark 04d6802 - Test wheels with a Python build matrix.
<_whitenotifier-9> [YoWASP/yosys] whitequark pushed 1 commit to develop [+0/-0/±1] https://github.com/YoWASP/yosys/compare/04d68029ac0e...fa01f3113419
<_whitenotifier-9> [YoWASP/yosys] whitequark fa01f31 - Test wheels with a Python build matrix.
<_whitenotifier-9> [YoWASP/yosys] whitequark pushed 1 commit to develop [+0/-0/±1] https://github.com/YoWASP/yosys/compare/fa01f3113419...311e6811a307
<_whitenotifier-9> [YoWASP/yosys] whitequark 311e681 - Test wheels with a Python build matrix.
<bl0x> I've underestimated, how many bugs one finds, when one tries to execute actual programs on ones own CPU. But, \o/ mandelbrot works
<whitequark> I'm having the same experience with an RFC
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±2] https://github.com/amaranth-lang/amaranth/compare/342fd5f8bdc1...bef2052c1e88
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark bef2052 - hdl.ast: implement `Value.__pos__`.
<bl0x> good round of RFCs today, I like those! Unfortunately, the meeting time is not 100% family friendly in GMT+1, so I tend to catch up later.
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±26] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/a7854b6b837a...f72c074d084f
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark f72c074 - Deploying to main from @ amaranth-lang/amaranth@bef2052c1e883e9c539368ad1bfad354df4c4608 🚀
<_whitenotifier-9> [rfcs] whitequark opened pull request #7: Const-castable Amaranth value to Python value conversions - https://github.com/amaranth-lang/rfcs/pull/7
<_whitenotifier-9> [rfcs] whitequark edited pull request #7: Const-castable Amaranth value to Python value conversions - https://github.com/amaranth-lang/rfcs/pull/7
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark pushed 1 commit to main [+0/-0/±5] https://github.com/amaranth-lang/amaranth/compare/bef2052c1e88...58721ee4fe60
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark 58721ee - hdl: implement constant-castable expressions.
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±29] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/f72c074d084f...7a0a57952167
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark 7a0a579 - Deploying to main from @ amaranth-lang/amaranth@58721ee4fe60933ed4db5782c53403f76101ada2 🚀
<_whitenotifier-9> [amaranth] whitequark commented on issue #753: ValueCastable and ShapeCastable should override __instancecheck__ - https://github.com/amaranth-lang/amaranth/issues/753#issuecomment-1447278153