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
Taha has joined #amaranth-lang
Taha has quit [Quit: Client closed]
<_whitenotifier-f> [amaranth] adamgreig synchronize pull request #681: Add CRC generator - https://github.com/amaranth-lang/amaranth/pull/681
<_whitenotifier-f> [amaranth] adamgreig synchronize pull request #681: Add CRC generator - https://github.com/amaranth-lang/amaranth/pull/681
<whitequark> josuah: what is "the doc" here? there's many different documents, some of which I'm actively working on
<whitequark> ah, I see from the context now
<whitequark> I'm going to bring the level of documentation to where it should be in the coming months; and Chipflow is in the process of hiring another person who will be assisting me in that
<whitequark> byteit101: I think it's better to give a direct "no" than to have someone write a PR that's not going to be merged
<whitequark> ultimately, development (including documentation development) has stalled for a long time due to my chronic illness, and this is not something I see open-source contributors respect in any meaningful way
<whitequark> writing code demands time, reviews demand time, anything others want demands time, and time wasn't the resource I had.
<byteit101> Even some basic javadoc/doxygen style api documentation is good for finding what exists
<whitequark> there's docstrings in the source code as josuah mentioned. unfortunately a lot of them are out of date and sometimes flat out wrong
<byteit101> Sure, and people (like me) were happy to help document what they have touched
<byteit101> If you don't have time, why not let others who do have time help?
<whitequark> the thing people don't understand is that accepting help always demands resources
<whitequark> because that's not how anything works.
<byteit101> sure, but it usually requires less time than doing it yourself
<whitequark> please understand that for several years I had no time at all because I spent all day, every day, in extremely intense chronic pain to the point of barely being able to feed myself
<whitequark> does this make things more clear?
<whitequark> oh, and then a war started, and _while in that state_ I spent a year working on emigration, in order to, among other things, be able to continue working on open-source
<whitequark> this wasn't me being bored of this project or something like that. this was me being *barely able to survive*. and people would still demand I put additional time (no matter how little) into whatever it is they got focused on
<byteit101> Oh yikes that's intense! I hope things are better now
<whitequark> yes, I got treatment that actually works, live in a country that's not mired in a pointless suicidal war, and Chipflow is employing me to work on the gosh darn documentation that you want to see improved
<whitequark> but it didn't happen overnight
<byteit101> horray!
<whitequark> it's not that I don't understand your frustration. (I do! I'm probably more frustrated because I'm acutely aware of every single missing piece of docs.)
<whitequark> it's more that I'm frankly shocked I survived to see 2023.
<whitequark> anyway, every new piece of code, by policy, now gets merged with good docs covering it
<whitequark> it'll take some time to go through the backlog of everything that needs updating but it will be done and done soon
<whitequark> https://github.com/amaranth-lang/amaranth/issues/785 this is scheduled for 0.4 and 0.4 should be, dunno, a month from now or something
<whitequark> it's in the internal roadmap right after the interfaces RFC and implementation
<tpw_rules> i'm excited and encouraged to see the future of amaranth
<whitequark> tpw_rules: oh btw wanna resurrect boneless?
<tpw_rules> i actually might have a candidate project for it soon
<whitequark> now that my brain doesn't float in a vat of cortisol i think i should be able to finish the design in an elegant way
<whitequark> might or might not need a revision, idk, should actually measure the flop count first
<tpw_rules> not sure what you mean by resurrect. idk if i can take on additional documented responsibilities but i saw some snippets recently used for the new amaranth features
<whitequark> there hasn't been much activity on it for... a while, and iirc some of it was gated on me
<whitequark> resurrect as in make something stationary move again
<cr1901> Maybe I should un-bit-rot the simulator if the arch is finalized
<whitequark> yes, there's a bunch of features in boneless (enums, mostly) that would be much nicer on newer amaranth
<whitequark> i think i'll find out whether i can put more time into it and then ping you, tpw_rules ? and then you can decide how much if any time you want to put into it yourself
<whitequark> I think boneless would be a cool demo design
<tpw_rules> yeah it already was cool
<whitequark> oh i mean like officially linked from amaranth pages
<whitequark> or just under amaranth namespace, dunno. i want to highlight a number of cool projects, at some point
<tpw_rules> i mean i was pretty satisfied the last time i used it. i think the official assembler needs improevement
<tpw_rules> i wasn't depending on your contributions for it but yeah if you want to sync up later that could be cool
<whitequark> ah gotcha, yeah
<whitequark> i have barely any memory of that timeframe
<whitequark> adamgreig: btw have you figured out that the github actions build docs for you in your fork?
<whitequark> I think you need to actually enable actions and/or pages
<whitequark> then itll be somewhere like... http://adamgreig.github.io/amaranth/docs/crc/
<cr1901> http://gopher.wdj-consulting.com:70/paste/4b966cc6-8968-420b-9749-9fdbfa8b612a.txt Btw, is this a good, bad, horrible idea to generate mostly-identical FSM states. Looking for feedback before I do something awful
<tpw_rules> idk that sort of cursedness is why i like amaranth
<tpw_rules> my boneless design had an automatic hardware peripheral layouter that linked into the assembler
<tpw_rules> so i never needed to care about any register addresses
<whitequark> seems perfectly fine to me
<cr1901> I mean, I like it, but I'm not convinced it's clear code. But that's 2 other opinions, so I'll keep going
<tpw_rules> (is that itertools.chain going to do what you want? i think you'll end up with S, T, A, R, etc)
<tpw_rules> (also your httpd is misconfigured and i get an error for https://wdj-consulting.com/ )
<cr1901> add the www.
<tpw_rules> yeah, the server should do that automatically right?
<cr1901> I'm not sure actually, and I never got enough traffic to worry about it
<cr1901> FWIW, Firefox adds the www for me
<d1b2> <Darius> I doubt the server would do it automatically
<d1b2> <Darius> you would need ot configure it
<d1b2> <Darius> or add a redirect etc
<tpw_rules> oh. the issue is if it's just http://wdj-consulting.com
<d1b2> <Darius> depends on the server
<tpw_rules> so your server can redirect https://wdj-consulting.com to https://www.wdj-consulting.com
<cr1901> Yea I never set that up I don't think
<d1b2> <Darius> redirect it the other way, no one bothers with www. nowadays 🙂
<cr1901> tpw_rules: The iterator is wrong, it's returning (START range(0, 8)), (range(0, 8), STOP)
<cr1901> lmao
<cr1901> So yea, I'm Doing It Wrong
<tpw_rules> that was another possibility too
<cr1901> that's b/c I put everything into a list
<tpw_rules> i think you need .chain(("START", ), range(8), ("STOP", ))
<tpw_rules> yeah cause it takes *iterables
<_whitenotifier-f> [amaranth] whitequark opened issue #794: RFC 15 breaks expectations of uses of `Signal.like` - https://github.com/amaranth-lang/amaranth/issues/794
<_whitenotifier-f> [amaranth] whitequark commented on issue #794: RFC 15 breaks expectations of uses of `Signal.like` - https://github.com/amaranth-lang/amaranth/issues/794#issuecomment-1562205557
<_whitenotifier-f> [amaranth] whitequark opened issue #795: `lib.data` can make debugging extremely hard as fields are not written to VCD - https://github.com/amaranth-lang/amaranth/issues/795
<_whitenotifier-f> [amaranth] whitequark commented on issue #795: `lib.data` can make debugging extremely hard as fields are not written to VCD - https://github.com/amaranth-lang/amaranth/issues/795#issuecomment-1562212861
<_whitenotifier-f> [amaranth] whitequark closed issue #795: `lib.data` can make debugging extremely hard as fields are not written to VCD - https://github.com/amaranth-lang/amaranth/issues/795
<cr1901> Well ~130 lines of Python generates 731 lines of Verilog. I have a 33-state Glorified Sequence Detector. Will test tomorrow to see if it works
_whitenotifier-f has quit [Ping timeout: 250 seconds]
peeps[zen] has joined #amaranth-lang
peepsalot has quit [Ping timeout: 240 seconds]
_whitenotifier-9 has joined #amaranth-lang
<_whitenotifier-9> [amaranth] tilk commented on issue #790: Can't get simulation VCD dumps for View fields - https://github.com/amaranth-lang/amaranth/issues/790#issuecomment-1562842007
chaoticryptidz has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
toshywoshy has quit [Ping timeout: 264 seconds]
toshywoshy has joined #amaranth-lang
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #amaranth-lang
TiltMeSenpai has joined #amaranth-lang
TiltMeSenpai0 has quit [Ping timeout: 240 seconds]
<_whitenotifier-9> [amaranth] whitequark commented on issue #790: Can't get simulation VCD dumps for View fields - https://github.com/amaranth-lang/amaranth/issues/790#issuecomment-1563409220
SpaceCoaster_ has joined #amaranth-lang
pie_ has quit [*.net *.split]
SpaceCoaster has quit [*.net *.split]
sugarbeet has quit [*.net *.split]
bob_twinkles has quit [*.net *.split]
Stary has quit [*.net *.split]
TD-Linux has quit [*.net *.split]
V has quit [*.net *.split]
smkz has quit [*.net *.split]
lambda has quit [*.net *.split]
SpaceCoaster_ is now known as SpaceCoaster
TD-Linux has joined #amaranth-lang
sugarbeet has joined #amaranth-lang
lambda has joined #amaranth-lang
pie_ has joined #amaranth-lang
Stary has joined #amaranth-lang
V has joined #amaranth-lang
bob_twinkles has joined #amaranth-lang
smkz has joined #amaranth-lang
<FL4SHK> arrays start at 1
<whitequark> not in python!
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined #amaranth-lang
lf has quit [Ping timeout: 248 seconds]
lf has joined #amaranth-lang