nelgau_ has quit [Remote host closed the connection]
nelgau has quit [Read error: Connection reset by peer]
nelgau 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: 264 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 260 seconds]
frgo has joined #amaranth-lang
notgull has quit [Ping timeout: 276 seconds]
notgull has joined #amaranth-lang
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 264 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 256 seconds]
Degi has quit [Ping timeout: 260 seconds]
Degi 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: 252 seconds]
jn has quit [Ping timeout: 256 seconds]
jn has joined #amaranth-lang
jn has joined #amaranth-lang
iposthuman[m] has joined #amaranth-lang
<iposthuman[m]>
verilog to Amaranth question: if i see a logic wired or statement such as ```if (xfer_edges) begin``` that is checking if xfer_edges is > 0, would the equivalent in Amaranth be: ```with m.Elif(xfer_edges > 0):```?
<Darius>
assuming xfer_edges is unsigned..
frgo has joined #amaranth-lang
<iposthuman[m]>
correct
<iposthuman[m]>
s/>/!=/
<iposthuman[m]>
s/>/!=/, s/>/!=/
frgo has quit [Ping timeout: 276 seconds]
frgo has joined #amaranth-lang
<ravenslofty[m]>
You'd probably use `m.If` instead, and I'm pretty sure Amaranth implicitly uses "!= 0", so `with m.If(xfer_edges):` should be fine?
frgo has quit [Ping timeout: 245 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 240 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 263 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 260 seconds]
<whitequark[cis]>
you can write with m.Elif(xfer_edges):, yes
<whitequark[cis]>
<zyp[m]> "just to confirm; I can't drive..." <- not yet; this will change with the new IR, I think
<whitequark[cis]>
<zyp[m]> "this seems like an argument..." <- I don't think that's a good argument. we should change the restriction if this is desired by something as common as streams
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 256 seconds]
skipwich_ has joined #amaranth-lang
skipwich has quit [Ping timeout: 252 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 264 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 246 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 268 seconds]
urja has quit [Ping timeout: 252 seconds]
frgo has joined #amaranth-lang
frgo has quit [Read error: Connection reset by peer]
<_whitenotifier-3>
[amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 54668e7 - Deploying to main from @ amaranth-lang/amaranth@a2f3c544eef8d55f29f115663eb33a467cc01178 🚀
<_whitenotifier-3>
[amaranth-lang/amaranth-lang.github.io] whitequark 30d6cc1 - Deploying to main from @ amaranth-lang/amaranth@a2f3c544eef8d55f29f115663eb33a467cc01178 🚀
<_whitenotifier-3>
[amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 0252b4d - Deploying to main from @ amaranth-lang/amaranth@475b0f35dd4b25fd8df450862f45445cc4838832 🚀
<whitequark[cis]>
I think it would be pretty cool to have a "Try Amaranth" section on the website where you get a REPL with Amaranth, Yosys, nextpnr, and openFPGALoader, and can do everything from simulation to FPGA programming
<whitequark[cis]>
all running completely on your own machine
<Darius>
that would be pretty sweet
<adamgreig[m]>
Using webusb for programming? Shame it remains a chrome thing
<whitequark[cis]>
it would be theoretically possible to add support to firefox, by using native messaging and a native stub
<whitequark[cis]>
but yeah
<adamgreig[m]>
sounds very cool!
<adamgreig[m]>
also congrats on the 0.4 release 🎉🎉
<_whitenotifier-3>
[amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 9b834df - Deploying to main from @ amaranth-lang/amaranth@750cbbc3c704cf35aaed9455d5eb80b9deb1adf6 🚀
<_whitenotifier-3>
[amaranth] github-merge-queue[bot] created branch gh-readonly-queue/main/pr-1002-9d4ffab104a048c7b551d66506761e3397b4ce48 - https://github.com/amaranth-lang/amaranth
<_whitenotifier-3>
[amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 47e3e93 - Deploying to main from @ amaranth-lang/amaranth@9d4ffab104a048c7b551d66506761e3397b4ce48 🚀
<_whitenotifier-3>
[amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 24790af - Deploying to main from @ amaranth-lang/amaranth@3ed78d98ea6d6d1f65dfd2ee94a0ea02dce7f571 🚀
<_whitenotifier-3>
[amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] 6c4a032 - Deploying to main from @ amaranth-lang/amaranth@8cd8cdde2b62527a655cc4e374ab28ac6b3f4822 🚀
<whitequark[cis]>
well, that was a serious amount of cleanup
Chips4MakersakaS has quit [Quit: Idle timeout reached: 172800s]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 260 seconds]
cyb3r1a[m] has joined #amaranth-lang
<cyb3r1a[m]>
grats on the 0.4.0 release
<cyb3r1a[m]>
will the next update take 2yrs?
frgo has joined #amaranth-lang
<galibert[m]>
Hopefully not
frgo has quit [Ping timeout: 276 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #amaranth-lang
<cyb3r1a[m]>
:)
frgo has quit [Ping timeout: 276 seconds]
frgo has joined #amaranth-lang
V has quit [Ping timeout: 255 seconds]
frgo has quit [Ping timeout: 252 seconds]
V 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: 264 seconds]
jjsuperpower has joined #amaranth-lang
jjsuperpower has quit [Ping timeout: 268 seconds]
frgo has joined #amaranth-lang
crzwdjk has joined #amaranth-lang
frgo has quit [Ping timeout: 276 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 260 seconds]
<zyp[m]>
hmm, forwarding a component member that's an array to a submodule is kinda inconvenient; it's not an interface so I can't use connect() and it's just a list so it doesn't have .eq() either
<zyp[m]>
so I have to loop over it and .eq() each element individually
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 256 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 264 seconds]
<cr1901>
zyp[m]: Yep, this is what I do. Arrays are useful for at least one use case; individually programmable inouts (because oe is forced to length 1 for a given resource)
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 260 seconds]
jfng[m] has quit [Quit: Idle timeout reached: 172800s]