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
_whitelogger has quit [Remote host closed the connection]
_whitelogger_ has joined #amaranth-lang
jess has quit [Ping timeout: 606 seconds]
jess_ is now known as jess
dyniec has quit [Quit: WeeChat 4.1.1]
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 268 seconds]
Degi_ is now known as Degi
FFY00_ has quit [Read error: Connection reset by peer]
FFY00 has joined #amaranth-lang
notgull has joined #amaranth-lang
notgull has quit [Ping timeout: 260 seconds]
FFY00 has quit [Read error: Connection reset by peer]
<_whitenotifier-9> [rfcs] wanda-phi reviewed pull request #67 commit - https://github.com/amaranth-lang/rfcs/pull/67#discussion_r1620234006
FFY00 has joined #amaranth-lang
<_whitenotifier-9> [rfcs] whitequark reviewed pull request #67 commit - https://github.com/amaranth-lang/rfcs/pull/67#discussion_r1620350970
<_whitenotifier-9> [rfcs] whitequark commented on pull request #67: Add RFC for combinable simulation triggers with `initial()`. - https://github.com/amaranth-lang/rfcs/pull/67#issuecomment-2139178160
<_whitenotifier-9> [amaranth] whitequark opened issue #1368: Adding simulator processes after starting the simulation is not well-defined - https://github.com/amaranth-lang/amaranth/issues/1368
<_whitenotifier-9> [amaranth] whitequark commented on issue #787: Code duplication when using a Value multiple times - https://github.com/amaranth-lang/amaranth/issues/787#issuecomment-2139246668
<_whitenotifier-9> [amaranth] whitequark commented on issue #538: Add gearbox latency to platform - https://github.com/amaranth-lang/amaranth/issues/538#issuecomment-2139251587
<_whitenotifier-9> [amaranth] whitequark opened pull request #1369: docs/stdlib/io: minor documentation clarity improvement - https://github.com/amaranth-lang/amaranth/pull/1369
<_whitenotifier-9> [amaranth] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-1369-028d5d80736151dbe6f9d35d35544cbfff6bef87 - https://github.com/amaranth-lang/amaranth
FFY00 has quit [Read error: Connection reset by peer]
FFY00 has joined #amaranth-lang
FFY00 has quit [Remote host closed the connection]
dyniec has joined #amaranth-lang
<_whitenotifier-9> [amaranth] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-1369-028d5d80736151dbe6f9d35d35544cbfff6bef87 - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth] whitequark closed pull request #1369: docs/stdlib/io: minor documentation clarity improvement - https://github.com/amaranth-lang/amaranth/pull/1369
<_whitenotifier-9> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/028d5d807361...855545b6ff9c
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark 855545b - docs/stdlib/io: minor documentation clarity improvement.
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±37] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/584b6b83cf83...e696eacf5af3
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] e696eac - Deploying to main from @ amaranth-lang/amaranth@855545b6ff9c33f836812bdcf4d62023d5f48edc 🚀
FFY00 has joined #amaranth-lang
<_whitenotifier-9> [amaranth] whitequark commented on issue #546: platform.add_clock_constraint does not work for instances with lattice diamond for machxo2 - https://github.com/amaranth-lang/amaranth/issues/546#issuecomment-2139283223
<anuejn> whitequark[cis]: sadness
<anuejn> indeed indeed
<whitequark[cis]> actually, the behavior seems to be even more bizarre than I thought
<whitequark[cis]> for some reason that is completely beyond me, setting do_build=False and running build_top.sh manually succeeds (with the sadness)
<whitequark[cis]> but letting Amaranth run the build makes it fail
<whitequark[cis]> batshit behaivor
<whitequark[cis]> oh... it doesn't re-run the synthesis, and therefore does not display the message I'm looking for facepalm
<whitequark[cis]> touching top.v does make a useful reproducer
<anuejn> that would be next level cursed
<whitequark[cis]> ok so after further testing, Diamond does require the quirk, but it also requires using the canonical net, i.e. bypassing all the aliases
<whitequark[cis]> setting syn_keep, syn_preserve, keep, and dont_touch on that net has no effect, I guess frontend removes it
<whitequark[cis]> Wanda: do you think we could add a lookup for the canonical net name in the design? there are multiple toolchains affected by this, unfortunately
Wanda[cis] has joined #amaranth-lang
<Wanda[cis]> ... meow?
<Wanda[cis]> what aliases?
<Wanda[cis]> hm.
<whitequark[cis]> like wire \clk$2 = clk;
<Wanda[cis]> don't we kinda already have it via name_lut that convert_whatever returns?
<whitequark[cis]> hm.
<whitequark[cis]> do we?
<Wanda[cis]> I ... think so? I don't really remember right now
<Wanda[cis]> but I believe that it should have the information
<Wanda[cis]> and if it doesn't, we need to fix it up so it does
<whitequark[cis]> naturally if you use a Verilog net \clk\$2 Diamond names it clk\\\$2
<_whitenotifier-9> [amaranth] whitequark commented on issue #546: platform.add_clock_constraint does not work for instances with lattice diamond for machxo2 - https://github.com/amaranth-lang/amaranth/issues/546#issuecomment-2139322199
<whitequark[cis]> <Wanda[cis]> "but I believe that it should..." <- no that doesn't work
<whitequark[cis]> this is because there are two signals here
<whitequark[cis]> the name map simply contains ('top', 'clk$2'). i want it to go through all m.d.comb to find the canonical name
<Wanda[cis]> hm
<Wanda[cis]> I'll look at it when less sleep deprived and not on train
<whitequark[cis]> thanks!
<_whitenotifier-9> [amaranth] whitequark opened pull request #1370: Implement Diamond Tcl escaping quirk - https://github.com/amaranth-lang/amaranth/pull/1370
<_whitenotifier-9> [amaranth] whitequark edited pull request #1370: Implement Diamond Tcl escaping quirk - https://github.com/amaranth-lang/amaranth/pull/1370
<_whitenotifier-9> [amaranth] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-1370-855545b6ff9c33f836812bdcf4d62023d5f48edc - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth] whitequark closed pull request #1370: Implement Diamond Tcl escaping quirk - https://github.com/amaranth-lang/amaranth/pull/1370
<_whitenotifier-9> [amaranth] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-1370-855545b6ff9c33f836812bdcf4d62023d5f48edc - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 2 commits to main [+0/-0/±3] https://github.com/amaranth-lang/amaranth/compare/855545b6ff9c...8da55299a581
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark f0dd01e - vendor._lattice: reflow to 100 columns. NFC
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark 8da5529 - build.plat,vendor._lattice: add Diamond escaping quirk.
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±36] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/e696eacf5af3...1c4a9c157de4
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 1c4a9c1 - Deploying to main from @ amaranth-lang/amaranth@8da55299a5810fcb3b3a80d51c11e41798d736ca 🚀
<_whitenotifier-9> [amaranth] whitequark commented on issue #1368: Adding simulator processes after starting the simulation is not well-defined - https://github.com/amaranth-lang/amaranth/issues/1368#issuecomment-2139469202
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
Lord_Nightmare has joined #amaranth-lang
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
Lord_Nightmare has joined #amaranth-lang
notgull has joined #amaranth-lang
notgull has quit [Ping timeout: 264 seconds]
notgull has joined #amaranth-lang
notgull has quit [Ping timeout: 260 seconds]
_whitelogger_ has quit [Ping timeout: 260 seconds]
_whitelogger has joined #amaranth-lang
<_whitenotifier-9> [amaranth] whitequark opened pull request #1371: Unbreak SiliconBlue IO buffer instantiation - https://github.com/amaranth-lang/amaranth/pull/1371
<_whitenotifier-9> [amaranth] whitequark edited pull request #1371: Unbreak SiliconBlue IO buffer instantiation - https://github.com/amaranth-lang/amaranth/pull/1371
<_whitenotifier-9> [amaranth] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-1371-8da55299a5810fcb3b3a80d51c11e41798d736ca - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth-lang/amaranth] github-merge-queue[bot] pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth/compare/8da55299a581...f49074f439f8
<_whitenotifier-9> [amaranth-lang/amaranth] whitequark f49074f - vendor._siliconblue: unbreak IO buffer instantiation.
<_whitenotifier-9> [amaranth] whitequark closed pull request #1371: Unbreak SiliconBlue IO buffer instantiation - https://github.com/amaranth-lang/amaranth/pull/1371
<_whitenotifier-9> [amaranth] github-merge-queue[bot] deleted branch gh-readonly-queue/main/pr-1371-8da55299a5810fcb3b3a80d51c11e41798d736ca - https://github.com/amaranth-lang/amaranth
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±36] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/1c4a9c157de4...07eb625f9114
<_whitenotifier-9> [amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 07eb625 - Deploying to main from @ amaranth-lang/amaranth@f49074f439f8a017a2e119cda4bc1d2d141ddda8 🚀
pbsds3 has quit [Quit: The Lounge - https://thelounge.chat]
pbsds3 has joined #amaranth-lang
lf has quit [Ping timeout: 256 seconds]
lf has joined #amaranth-lang