jjsuperpower has quit [Read error: Connection reset by peer]
TD--Linux is now known as TD-Linux
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 255 seconds]
frgo has joined #amaranth-lang
_whitenotifier-b has joined #amaranth-lang
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 256 seconds]
<iposthuman[m]>
I been reviewing Amaranth's examples and I'm not sure what *por.py* and *sel.py" and doing. What is "por" and what does ```ClockSignal().eq(cd_por.clk)``` do if the circuit isn't assigned to anything?
<whitequark[cis]>
power-on reset
<iposthuman[m]>
Ah. thanks.
<iposthuman[m]>
Also, what is the sel.py example trying to demonstrate?
<whitequark[cis]>
word_select being usable on lhs and rhs
<iposthuman[m]>
Ok. thanks.
<iposthuman[m]>
I had asked last week about one-hot usage and mentioned I thought the Decoder would be useful but the responses I got didn't really answer my question. So I saw the *pmux.py" example and it "seems" like it could be taken as generting one-hot decoding using switch statement, for example, ``` with m.Switch... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/aUFKpBSDnkBiSsLdvfCTiGbq>)
<iposthuman[m]>
I'm making an incorrect assumption?
<iposthuman[m]>
But now that I know of the "---1-" syntax I will try that 😉
<iposthuman[m]>
Thanks Catherine
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 252 seconds]
Degi_ is now known as Degi
Wanda[cis] has quit [Quit: Idle timeout reached: 172800s]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 276 seconds]
phire has joined #amaranth-lang
phire_ has quit [Ping timeout: 276 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 256 seconds]
jjsuperpower_ 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 [Remote host closed the connection]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 256 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 260 seconds]
frgo has joined #amaranth-lang
frgo has quit [Remote host closed the connection]
<galibert[m]>
iposthuman: last week I told you going through explicit one-hot will not make things better and possibly make them worse. Looks like I was right
<_whitenotifier-b>
[amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] cd65644 - Deploying to main from @ amaranth-lang/amaranth@fc06dd7644f9da7379a51c62b7c7fd0cdbd2a97f 🚀
phire has quit [Quit: No Ping reply in 180 seconds.]
<_whitenotifier-b>
[amaranth-lang/amaranth-lang.github.io] github-merge-queue[bot] e0ccace - Deploying to main from @ amaranth-lang/amaranth@1802f7fddd95112ce0d9e2d7018359dcc9cf5bc6 🚀
<cr1901>
Wanda[cis]: Re the flake8 comment: the "parens is preferred to line-continuation" is a new one for me. I try to make sure my code passes PEP8 (in bursts). But since flake8 doesn't complain about this, I didn't know about it until today
<cr1901>
That means... well, lots of code of mine needs to corrected (probably not happening), but I can at least add something to make it so I don't run afoul of the rules in _other_ ppl's projects
Wanda[cis] has joined #amaranth-lang
<Wanda[cis]>
I mean, that was a nit-level comment...
<Wanda[cis]>
but also, uh, please fix the parentheses grouping actually
<cr1901>
Oh. Uhhh... the PR doesn't work anymore. That's not good
<Wanda[cis]>
yup.
<cr1901>
I should probably fix that
<Wanda[cis]>
I just said that, yes
<cr1901>
I mean, we could ship it and hope nobody notices, but I don't think that's fair :P
<cr1901>
(I didn't run the tests obviously. I didn't think I could f*** up two parens.)
frgo has joined #amaranth-lang
<cr1901>
Okay, looks like everything's passing now
jjsuperpower_ has quit [Ping timeout: 256 seconds]
frgo has joined #amaranth-lang
frgo_ has joined #amaranth-lang
frgo has quit [Read error: Connection reset by peer]
frgo has joined #amaranth-lang
frgo_ has quit [Ping timeout: 276 seconds]
frgo_ has joined #amaranth-lang
frgo has quit [Read error: Connection reset by peer]
V has quit [Ping timeout: 260 seconds]
V has joined #amaranth-lang
frgo_ has quit [Remote host closed the connection]
V has quit [Ping timeout: 256 seconds]
frgo has joined #amaranth-lang
V has joined #amaranth-lang
frgo has quit [Ping timeout: 260 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 256 seconds]
vipqualitypost[m has joined #amaranth-lang
<vipqualitypost[m>
hmm... my amaranth install somehow broke, so i reinstalled it following instructions from the docs: I can import amaranth in the REPL but when I try to do so from an actual script it can't find the module
<iposthuman[m]>
I think it is saying you can basically control byte updates. I agree adamgreig (@_discord_614384955182678017:catircservices.org) is more usefull on writes
<iposthuman[m]>
Found it. you were right adamgreig (@_discord_614384955182678017:catircservices.org) : UB# and LB# enables a
<iposthuman[m]>
byte write feature. By enabling LB# LOW, data from I/O pins (I/O0 through I/O7) are written into the location specified
<iposthuman[m]>
on the address pins. And with UB# being LOW, data from I/O pins (I/O8 through I/O15) are written into the location.
<galibert[m]>
I'm not adam though :-)
<adamgreig[m]>
Sounds about right but yea I can't take the credit for it :p
frgo has joined #amaranth-lang
_whitelogger has quit [Remote host closed the connection]