jjsuperpower has quit [Read error: Connection reset by peer]
jjsuperpower_ has quit [Read error: Connection reset by peer]
jjsuperpower has joined #amaranth-lang
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 245 seconds]
Degi has quit [Ping timeout: 252 seconds]
Degi has joined #amaranth-lang
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 260 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 248 seconds]
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: 245 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: 252 seconds]
frgo has joined #amaranth-lang
frgo has quit [Read error: Connection reset by peer]
frgo_ has joined #amaranth-lang
frgo_ has quit [Remote host closed the connection]
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 [Read error: Connection reset by peer]
zyp[m] has joined #amaranth-lang
<zyp[m]>
so, in my migen/amaranth glue that I wrote a few years ago, I was using fragment.ports to introspect the direction of the signals for configuring an Instance on the migen side, and that information doesn't seem to be there anymore in amaranth 0.5
<zyp[m]>
I want to eventually get rid of the remaining migen stuff and run pure amaranth, but before I get there I would like to rewrite the stuff piecewise, and I would like to do that with amaranth 0.5, so I still need the glue working for another while
<zyp[m]>
what would be the reasonable way to get the same information now?
<vup>
I think the `Design` returned by `Fragment.prepare` has the same information under `.ports` now
vegard_e[m] has joined #amaranth-lang
<vegard_e[m]>
third element in the tuples are all None
frgo has joined #amaranth-lang
frgo_ has quit [Ping timeout: 248 seconds]
frgo has quit [Ping timeout: 272 seconds]
frgo has joined #amaranth-lang
frgo has quit [Ping timeout: 260 seconds]
frgo has joined #amaranth-lang
<whitequark[cis]>
<zyp[m]> "so, in my migen/amaranth glue..." <- use a Component maybe?
<whitequark[cis]>
like, a component that elaborates itself to the migen stuff, and chooses ports by introspecting its own signature
<whitequark[cis]>
absent that, i think you needed to call some method on the Design for it to compute the port directions
<whitequark[cis]>
but i'm not totally sure if that will work
frgo has quit [Read error: Connection reset by peer]
frgo has joined #amaranth-lang
frgo has quit [Read error: Connection reset by peer]
frgo has joined #amaranth-lang
jfng[m] has quit [Quit: Idle timeout reached: 172800s]
frgo has quit [Read error: Connection reset by peer]
frgo has joined #amaranth-lang
frgo has quit [Read error: Connection reset by peer]
frgo_ has joined #amaranth-lang
frgo_ has quit [Read error: Connection reset by peer]