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.catirclogs.org/amaranth-lang · Matrix #amaranth-lang:matrix.org
frgo has quit [Read error: Connection reset by peer]
frgo has joined #amaranth-lang
_whitelogger has joined #amaranth-lang
peeps[zen] has joined #amaranth-lang
peepsalot has quit [Ping timeout: 260 seconds]
antoinevg[m] has quit [Quit: Idle timeout reached: 172800s]
Psentee has quit [Quit: Off]
Psentee has joined #amaranth-lang
anubis has joined #amaranth-lang
anubis has quit [Remote host closed the connection]
RobTaylor[m] has joined #amaranth-lang
<RobTaylor[m]> whats the best way to set the initial value of a signal with a data.ArrayLayout shape?
<RobTaylor[m]> oh, i can just pass a sequence, cool
<RobTaylor[m]> ok, now i'm confused about Amaranth Views and Signals
<RobTaylor[m]> why when i pass an arraylayout as a signal's shape, do i get a View back and not a SIgnal?
<RobTaylor[m]> oh ok, its a View onto a Signal
zyp[m] has joined #amaranth-lang
<RobTaylor[m]> definitly hitting that last drawback ><
<RobTaylor[m]> zyp: thank you. Do you know if there's actually a SIgnal underneath and how to access it?
<zyp[m]> IIRC Value.cast(view)
<RobTaylor[m]> thanks, i'll give that a try
<RobTaylor[m]> view.as_value() did the job, i think :)
<RobTaylor[m]> yup!
frgo has quit [Read error: Connection reset by peer]
frgo_ has joined #amaranth-lang
Guest2 has joined #amaranth-lang
Guest2 has quit [Client Quit]