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
TJ[m] has joined #amaranth-lang
<TJ[m]> Hi, I'm trying to write a super simple wiring.Component and a platform wrapper so I can actually assign it an LED (trying to understand the process before doing this for other modules). How can I connect a signature member (i.e. a wiring.Component In/Out member) to the pin of a platform request? It seems like a m.d.sync/m.d.comb assignment isn't correct and wiring.connect doesn't like that my wrapper is missing a signature. I'm not
<TJ[m]> sure how to provide a dummy one if that is the solution. Here's what I'm working with https://github.com/TJ9867/NandBug-Software/blob/master/bitstreams/modules/blinker.py#L40-L41. The big idea is I would apply this to other modules in this project so I can write testbenches and debug. Kind of new to all of this so if I'm doing something dumb or there's an easier way I'd definitely like to know. Thank you for the awesome project.
smkz has quit [Quit: smkz]
Degi has quit [Ping timeout: 244 seconds]
Degi has joined #amaranth-lang
smkz has joined #amaranth-lang
pbsds3 has quit [Quit: The Lounge - https://thelounge.chat]
pbsds3 has joined #amaranth-lang
cr1901_ has joined #amaranth-lang
cr1901 has quit [Ping timeout: 248 seconds]
jjsuperpower has joined #amaranth-lang
Raito_Bezarius has quit [Ping timeout: 272 seconds]
Raito_Bezarius has joined #amaranth-lang
greghashtag9468[ has joined #amaranth-lang
<greghashtag9468[> The ordering is important. In this statement you are assigining a value created by your module to your blink_led output.
<greghashtag9468[> This should work: `m.d.comb += blink_led.o.eq(blinker.led_sig)`
<greghashtag9468[> I might be wrong, but using wiring.connect to connect to top level i/o ports would require wrapping the port with a signature to define In/Out?
<whitequark[cis]> platform.request returns an interface object
Psentee has quit [Quit: Off]
Psentee has joined #amaranth-lang
jorolf[m] has joined #amaranth-lang
<jorolf[m]> I think the link on https://amaranth-lang.org for the latest release needs to be updated? It still points to 5.3
<jorolf[m]> * points to 0.5.3
<whitequark[cis]> ah yeah
<whitequark[cis]> the docs are the same anyway, aside from changelog
<jorolf[m]> ah okay
<_whitenotifier-4> [amaranth-lang/amaranth-lang.github.io] whitequark pushed 1 commit to main [+0/-0/±1] https://github.com/amaranth-lang/amaranth-lang.github.io/compare/9d590a5fcab8...19eb0e3df098
<_whitenotifier-4> [amaranth-lang/amaranth-lang.github.io] whitequark 19eb0e3 - Update for Amaranth 0.5.4.
_whitelogger has joined #amaranth-lang
conventia[m] has quit [Quit: Idle timeout reached: 172800s]
Raito_Bezarius has quit [Ping timeout: 252 seconds]
Raito_Bezarius has joined #amaranth-lang
Raito_Bezarius has quit [Max SendQ exceeded]
Raito_Bezarius has joined #amaranth-lang