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
frgo has joined #amaranth-lang
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 264 seconds]
Degi_ is now known as Degi
frgo has quit [Ping timeout: 255 seconds]
<lonjil[m]> <bl0x[m]> "Can you open an issue in the..." <- Sorry for the delay, I opened two issues.
buganini has quit [Ping timeout: 256 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 260 seconds]
<lonjil[m]> Incidentally, I just got my first FPGA today, in the form of a Nandland Go board. Gotta figure out how to make good use of the BRAM so I stop wasting a thousand DFFs on registers 😄
frgo has joined #amaranth-lang
<lonjil[m]> yeah. I put a little test together with that. Though I got a result that I didn't understand, so tomorrow (late here) I will teach myself about the yosys tooling that I believe exists for looking at how different parts of the design end up actually being expressed.
frgo has quit [Ping timeout: 256 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 255 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 246 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 256 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 252 seconds]
SpaceCoaster has quit [Ping timeout: 264 seconds]
SpaceCoaster has joined #amaranth-lang
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 256 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 256 seconds]
frgo_ has joined #amaranth-lang
frgo_ has quit [Read error: Connection reset by peer]
frgo has joined #amaranth-lang
frgo_ has joined #amaranth-lang
frgo has quit [Read error: Connection reset by peer]
frgo_ has quit [Ping timeout: 240 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 246 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 255 seconds]
buganini has joined #amaranth-lang
Guest8 has joined #amaranth-lang
buganini has quit [Remote host closed the connection]
<_whitenotifier-9> [amaranth-yosys] kivikakk commented on issue #11: Thoughts on including optimization passes? - https://github.com/amaranth-lang/amaranth-yosys/issues/11#issuecomment-2205457479
<_whitenotifier-9> [amaranth-yosys] whitequark commented on issue #11: Thoughts on including optimization passes? - https://github.com/amaranth-lang/amaranth-yosys/issues/11#issuecomment-2205756814
<_whitenotifier-9> [amaranth-yosys] kivikakk commented on issue #11: Thoughts on including optimization passes? - https://github.com/amaranth-lang/amaranth-yosys/issues/11#issuecomment-2205769134
<_whitenotifier-9> [amaranth-yosys] kivikakk opened pull request #12: Add "opt" passes. - https://github.com/amaranth-lang/amaranth-yosys/pull/12
<_whitenotifier-9> [amaranth-yosys] whitequark closed pull request #12: Add "opt" passes. - https://github.com/amaranth-lang/amaranth-yosys/pull/12
<_whitenotifier-9> [amaranth-yosys] whitequark closed issue #11: Thoughts on including optimization passes? - https://github.com/amaranth-lang/amaranth-yosys/issues/11
<_whitenotifier-9> [amaranth-yosys] whitequark commented on pull request #12: Add "opt" passes. - https://github.com/amaranth-lang/amaranth-yosys/pull/12#issuecomment-2205795793
<_whitenotifier-9> [amaranth-yosys] kivikakk commented on pull request #12: Add "opt" passes. - https://github.com/amaranth-lang/amaranth-yosys/pull/12#issuecomment-2206112104
Guest8 has quit [Quit: Client closed]
<_whitenotifier-9> [amaranth-soc] jfng reviewed pull request #94 commit - https://github.com/amaranth-lang/amaranth-soc/pull/94#discussion_r1664298045
<_whitenotifier-9> [amaranth-soc] jfng reviewed pull request #94 commit - https://github.com/amaranth-lang/amaranth-soc/pull/94#discussion_r1664306507
notgull has joined #amaranth-lang
<_whitenotifier-9> [amaranth-soc] whitequark reviewed pull request #94 commit - https://github.com/amaranth-lang/amaranth-soc/pull/94#discussion_r1664327455
<_whitenotifier-9> [amaranth-yosys] whitequark commented on pull request #12: Add "opt" passes. - https://github.com/amaranth-lang/amaranth-yosys/pull/12#issuecomment-2206389762
<_whitenotifier-9> [amaranth-soc] jfng reviewed pull request #94 commit - https://github.com/amaranth-lang/amaranth-soc/pull/94#discussion_r1664346187
notgull has quit [Ping timeout: 268 seconds]
<_whitenotifier-9> [amaranth-soc] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-94-058057f38b18537585a02e1db7955a184a1c5334 - https://github.com/amaranth-lang/amaranth-soc
<_whitenotifier-9> [amaranth-lang/amaranth-soc] github-merge-queue[bot] pushed 1 commit to main [+2/-0/±0] https://github.com/amaranth-lang/amaranth-soc/compare/058057f38b18...d99c8ee582a2
<_whitenotifier-9> [amaranth-lang/amaranth-soc] jfng d99c8ee - wishbone: add Wishbone-attached SRAM.
<_whitenotifier-9> [amaranth-soc] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-94-058057f38b18537585a02e1db7955a184a1c5334 - https://github.com/amaranth-lang/amaranth-soc
<_whitenotifier-9> [amaranth-soc] jfng closed pull request #94: wishbone: add Wishbone-attached SRAM. - https://github.com/amaranth-lang/amaranth-soc/pull/94
<_whitenotifier-9> [amaranth-soc] jfng closed issue #89: Wishbone-attached SRAM - https://github.com/amaranth-lang/amaranth-soc/issues/89
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±8] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/78e1b9279082...351fd2ab6916
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 351fd2a - Deploying to main from @ amaranth-lang/amaranth-soc@d99c8ee582a2159ea9df38bfe666c08019f7f464 🚀
frgo has joined #amaranth-lang
frgo has quit [Remote host closed the connection]
sauce has quit []
sauce has joined #amaranth-lang
jfng[m] has quit [Quit: Idle timeout reached: 172800s]
Chips4MakersakaS has quit [Quit: Idle timeout reached: 172800s]
Wanda[cis] has quit [Quit: Idle timeout reached: 172800s]
<zyp[m]> cr1901: so I'm playing a little bit with sentinel and I'm running into an issue where sentinel wanting amaranth from git and amaranth-soc wanting `amaranth>=0.5,<0.6` makes pdm sad -- how do you sort it when you work with it?
cr1901_ has joined #amaranth-lang
cr1901 has quit [Read error: Connection reset by peer]
<cr1901_> zyp[m]: are you running "pdm update" immediately after checkout? sentinel should be using pdm.lock to avoid the most recently amaranth and deps
<cr1901_> also sentinel isn't amaranth 0.5 ready
<cr1901_> (Don't run pdm update. Failing that, let me see the exact terminal commands you ran since git checkout.)
<zyp[m]> I'm not running pdm in sentinel at all, I'm running pdm in my project with sentinel as a dependency
<cr1901_> Oh, that's not going to work. I should've moved that info to the README.md: https://github.com/cr1901/sentinel/blob/main/CHANGELOG.md#v010-alpha---2023-11-29
<zyp[m]> well, I ended up forcing amaranth 0.5 in tool.pdm.resolution.overrides -- so far it seems to work
<zyp[m]> what part of sentinel is not 0.5 ready?
<cr1901_> sims
<zyp[m]> in what sense?
<cr1901_> They're old-style "yield sig.eq(val) waits until the next clock tick to actually propagate the new value"
<cr1901_> strictly-speaking, if you ran amaranth 0.5 sim with sentinel, those tests will fail, but rv-formal and riscof will pass
<zyp[m]> ah, right, I'm less interested in running tests on sentinel and more interested in running code on sentinel :)
<cr1901_> It probably works fine w/ 0.5 for that purpose :).
<zyp[m]> I copied your WBMemory, wired it directly to a sentinel instance, stuck it in the sim and am poking it with my own testbench
<cr1901_> does it work :P?
<cr1901_> >tool.pdm.resolution.overrides I will probably end up putting that in the README.md then
<zyp[m]> so yes :)
<whitequark[cis]> i mean the tests still work on 0.5
<whitequark[cis]> it's deprecated but supported
<whitequark[cis]> heck, we haven't even removed them from main
<whitequark[cis]> the old style syntax
<cr1901_> >They're old-style "yield sig.eq(val) waits until the next clock tick to actually propagate the new value"
<cr1901_> those aren't supported, and haven't been since 36 was impl'd
<cr1901_> s/aren't supported/don't work/
<whitequark[cis]> ohh, I see
<whitequark[cis]> yeah
<cr1901_> smolarith might be a small package, but it's good as my "GNU hello world" for testing new amaranth features and syntax. The idea is I update that first to get a feel, and then update Sentinel
<cr1901_> but I've fallen a bit behind
<zyp[m]> are there any projects using sentinel yet?
<cr1901_> I have no idea, probably not. I know a few have checked it out tho
<cr1901_> It occupies a niche between serv and picorv32 (tho serv/sentinel implements M-mode, and picorv32 uses a custom interrupt scheme)
<zyp[m]> yeah, I'm thinking about using it to replace a serv I have in a project I'd like to port to be all-amaranth
<zyp[m]> so far it only does some initialization tasks like configuring a few ethernet PHY registers
<cr1901_> If you can tolerate like 700 extra LUTs usage, sentinel is perfectly fine for that and was my intended use case :)
<cr1901_> It's meant to "watch over your design and then get the hell out of the way".
Wolfvak has quit [Ping timeout: 268 seconds]
Wolfvak has joined #amaranth-lang
frgo has joined #amaranth-lang
notgull has joined #amaranth-lang
notgull has quit [Ping timeout: 260 seconds]