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
<ldcd[m]> I think I don't quite understand struct, id doesn't seem possible to create a struct where the elements shape can be controlled like with the StructLayout:... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/CxJHLZmGxhPfEavKOyjrwkmh>)
<whitequark[cis]> yes, data.Struct is intended for simple cases where the fields are fixed
<_whitenotifier-6> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±2] https://github.com/amaranth-lang/amaranth/compare/9bd536bbf96b...4e3550db4354
<_whitenotifier-5> [amaranth-lang/amaranth] wanda-phi 4e3550d - build.plat: use `lib.io.*Buffer` in default platform.
<_whitenotifier-5> [amaranth] whitequark closed pull request #1279: build.plat: use `lib.io.*Buffer` in default platform. - https://github.com/amaranth-lang/amaranth/pull/1279
<_whitenotifier-5> [amaranth] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-1279-9bd536bbf96b07720d6e4a8709b30492af8ddd13 - https://github.com/amaranth-lang/amaranth
<_whitenotifier-5> [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/ecda5e2ec18a...e76131a439a2
<_whitenotifier-6> [amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] e76131a - Deploying to main from @ amaranth-lang/amaranth@4e3550db4354a6adaa24327b33aefe18bb0fda18 🚀
<ldcd[m]> Wanda: Are you proposing having CFixView inherit from data.Struct or something along those lines?
<Wanda[cis]> oh hm, yeah, it's a problem when the layout is dynamic
Maja has quit [Ping timeout: 268 seconds]
Maja has joined #amaranth-lang
<_whitenotifier-6> [amaranth] ld-cd reviewed pull request #1005 commit - https://github.com/amaranth-lang/amaranth/pull/1005#discussion_r1552622470
<ldcd[m]> I guess my other question is why might the following be the case:... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/aGxwLkJofDuXXRFQvxYkdTFv>)
<ldcd[m]> IE why is the second number not 70?
<ldcd[m]> * I guess my other question is why might the following be the case:... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/SDRZNPgjkLmTaVbAagAaOQTX>)
<whitequark[cis]> what happens if you do `x=i.as_value(); len(i), len(i<<35)`?
<whitequark[cis]> s/i/x/, s/i/x/
<ldcd[m]> (35, 98)
<ldcd[m]> x is (s (+ (s (* (s (slice (sig a) 17:34)) (s (slice (sig b) 0:17)))) (s (* (s (slice (sig a) 0:17)) (s (slice (sig b) 17:34))))))
<whitequark[cis]> oh.
<whitequark[cis]> ldcd: do `i.shift_left(35)`
<ldcd[m]> Oh
<whitequark[cis]> Amaranth doesn't have data-dependent types
<ldcd[m]> its because the 35 is turning into a const with an appropriate width?
<whitequark[cis]> yes
<ldcd[m]> Yup that does the trick
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 272 seconds]
Degi_ is now known as Degi
<_whitenotifier-6> [YoWASP/sphinxcontrib-wavedrom] whitequark pushed 1 commit to main [+10/-0/±0] https://github.com/YoWASP/sphinxcontrib-wavedrom/commit/179c4e614ff9
<_whitenotifier-5> [YoWASP/sphinxcontrib-wavedrom] whitequark 179c4e6 - Initial commit.
<_whitenotifier-6> [sphinxcontrib-wavedrom] whitequark created branch main - https://github.com/YoWASP/sphinxcontrib-wavedrom
<_whitenotifier-6> [sphinxcontrib-wavedrom] github-actions[bot] created branch gh-pages - https://github.com/YoWASP/sphinxcontrib-wavedrom
<_whitenotifier-6> [YoWASP/sphinxcontrib-wavedrom] whitequark pushed 1 commit to main [+1/-0/±1] https://github.com/YoWASP/sphinxcontrib-wavedrom/compare/179c4e614ff9...4c0935d18d5b
<_whitenotifier-5> [YoWASP/sphinxcontrib-wavedrom] whitequark 4c0935d - Configure PDM to avoid +local version suffix on clean builds.
<_whitenotifier-6> [YoWASP/sphinxcontrib-wavedrom] whitequark pushed 1 commit to main [+0/-0/±1] https://github.com/YoWASP/sphinxcontrib-wavedrom/compare/4c0935d18d5b...e801b9ad823f
<_whitenotifier-5> [YoWASP/sphinxcontrib-wavedrom] whitequark e801b9a - Disable Jekyll in test documentation output.
<_whitenotifier-5> [YoWASP/wavedrom] whitequark pushed 1 commit to main [+0/-0/±1] https://github.com/YoWASP/wavedrom/compare/d0f2ee51a272...876bef0744e1
<_whitenotifier-6> [YoWASP/wavedrom] whitequark 876bef0 - Fix PyPI package on Python>=3.9 (again).
<_whitenotifier-6> [YoWASP/sphinxcontrib-wavedrom] whitequark 2cb78e6 - Bump yowasp-wavedrom dependency.
<_whitenotifier-5> [YoWASP/sphinxcontrib-wavedrom] whitequark pushed 1 commit to main [+1/-0/±1] https://github.com/YoWASP/sphinxcontrib-wavedrom/compare/e801b9ad823f...2cb78e67fac3
<_whitenotifier-5> [YoWASP/sphinxcontrib-wavedrom] whitequark pushed 2 commits to main [+1/-0/±2] https://github.com/YoWASP/sphinxcontrib-wavedrom/compare/2cb78e67fac3...d5248d54d282
<_whitenotifier-6> [YoWASP/sphinxcontrib-wavedrom] whitequark 09a9957 - Disable Jekyll in test documentation output.
<_whitenotifier-6> [YoWASP/sphinxcontrib-wavedrom] whitequark d5248d5 - Bump yowasp-wavedrom dependency.
<_whitenotifier-6> [YoWASP/sphinxcontrib-wavedrom] whitequark 9ddbb64 - Describe configuration variables.
<_whitenotifier-5> [YoWASP/sphinxcontrib-wavedrom] whitequark pushed 1 commit to main [+0/-0/±1] https://github.com/YoWASP/sphinxcontrib-wavedrom/compare/d5248d54d282...9ddbb649f90d
<_whitenotifier-6> [YoWASP/sphinxcontrib-wavedrom] whitequark 312a8b3 - Describe configuration variables.
<_whitenotifier-5> [YoWASP/sphinxcontrib-wavedrom] whitequark pushed 1 commit to main [+0/-0/±1] https://github.com/YoWASP/sphinxcontrib-wavedrom/compare/9ddbb649f90d...312a8b3cd79c
<_whitenotifier-6> [YoWASP/sphinxcontrib-wavedrom] whitequark tagged 312a8b3 as v1.0 https://github.com/YoWASP/sphinxcontrib-wavedrom/commit/312a8b3cd79c3d2c4db6c808af3d9ffb2f89576b
<_whitenotifier-6> [sphinxcontrib-wavedrom] whitequark created tag v1.0 - https://github.com/YoWASP/sphinxcontrib-wavedrom
<_whitenotifier-5> [amaranth] wanda-phi opened pull request #1284: vendor._altera: implement `lib.io` buffer primitives. - https://github.com/amaranth-lang/amaranth/pull/1284
<_whitenotifier-5> [amaranth] codecov[bot] commented on pull request #1284: vendor._altera: implement `lib.io` buffer primitives. - https://github.com/amaranth-lang/amaranth/pull/1284#issuecomment-2038639062
<tpw_rules> very nice
<tpw_rules> wavedrom was originally JS?
<whitequark[cis]> it still is JS
<tpw_rules> well it is now being accessed through a python interface
<Darius> finally something you didn't need a transpiler for
<tpw_rules> exactly
<whitequark[cis]> wow, PDM has learned how to manage Python installations
<whitequark[cis]> if you have `requires-python = ">=3.12"` for example and do not have that Python version, it will... simply download it and install into the venv like any other packages. mind blown
adamgreig[m] has joined #amaranth-lang
<adamgreig[m]> where does it get it from? it continues to amaze me that python doesn't just distribute good python binaries ready for use, rye grabs the "indiegreg" binaries which is at least quick and slick
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #amaranth-lang
<_whitenotifier-6> [amaranth] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-1281-4e3550db4354a6adaa24327b33aefe18bb0fda18 - https://github.com/amaranth-lang/amaranth
<_whitenotifier-5> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/4e3550db4354...6857daff54bf
<_whitenotifier-6> [amaranth-lang/amaranth] wanda-phi 6857daf - vendor._lattice_ice40: implement `lib.io` buffer primitives.
<_whitenotifier-6> [amaranth] whitequark closed pull request #1281: vendor._lattice_ice40: implement `lib.io` buffer primitives. - https://github.com/amaranth-lang/amaranth/pull/1281
<_whitenotifier-6> [amaranth] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-1281-4e3550db4354a6adaa24327b33aefe18bb0fda18 - https://github.com/amaranth-lang/amaranth
<_whitenotifier-6> [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/e76131a439a2...525f19f84cc9
<_whitenotifier-5> [amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 525f19f - Deploying to main from @ amaranth-lang/amaranth@6857daff54bfa208b26a88a822a697105026902c 🚀
<_whitenotifier-6> [rfcs] wanda-phi opened pull request #65: Add an RFC for special formatting for structures and enums - https://github.com/amaranth-lang/rfcs/pull/65
<_whitenotifier-5> [amaranth] wanda-phi opened issue #1285: `Signal.like` is not fully functional with `ShapeCastable`-based signals - https://github.com/amaranth-lang/amaranth/issues/1285
<_whitenotifier-6> [amaranth] whitequark commented on issue #790: Can't get simulation VCD dumps for View fields - https://github.com/amaranth-lang/amaranth/issues/790#issuecomment-2039006753
<whitequark[cis]> calling all Altera users to test https://github.com/amaranth-lang/amaranth/pull/1284
<whitequark[cis]> * PSA: the final agenda for
notgull has joined #amaranth-lang
notgull has quit [Ping timeout: 264 seconds]
Stonelin has joined #amaranth-lang
Stonelin has quit [Quit: Client closed]
<tpw_rules> whitequark[cis]: will they be used automatically if i switch to that branch or do i have to change code?
<tpw_rules> i understand the latter but i'd like to confirm
<tpw_rules> sorry, the former. they'll be used automatically
jfng[m] has joined #amaranth-lang
<jfng[m]> still no SoC meeting this week, as our agenda is empty (i'm currently working on docs for amaranth-soc)
zyp[m] has quit [Quit: Idle timeout reached: 172800s]
<Wanda[cis]> <tpw_rules> "Catherine: will they be used..." <- they will be used automatically to back `Pin` requests, yes
<_whitenotifier-6> [amaranth] ld-cd reviewed pull request #1005 commit - https://github.com/amaranth-lang/amaranth/pull/1005#discussion_r1554059430
<_whitenotifier-6> [amaranth] tpwrules commented on pull request #1284: vendor._altera: implement `lib.io` buffer primitives. - https://github.com/amaranth-lang/amaranth/pull/1284#issuecomment-2040338005
<_whitenotifier-5> [rfcs] ld-cd reviewed pull request #41 commit - https://github.com/amaranth-lang/rfcs/pull/41#discussion_r1554079234
<_whitenotifier-6> [rfcs] ld-cd reviewed pull request #41 commit - https://github.com/amaranth-lang/rfcs/pull/41#discussion_r1554156346
<_whitenotifier-6> [rfcs] ld-cd reviewed pull request #41 commit - https://github.com/amaranth-lang/rfcs/pull/41#discussion_r1554154007
frgo has joined #amaranth-lang
<_whitenotifier-6> [rfcs] ld-cd reviewed pull request #41 commit - https://github.com/amaranth-lang/rfcs/pull/41#discussion_r1554171203
nates93[m] has quit [Quit: Idle timeout reached: 172800s]
notgull has joined #amaranth-lang
notgull has quit [Ping timeout: 264 seconds]
lf has quit [Ping timeout: 268 seconds]
lf_ has joined #amaranth-lang