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 · code https://github.com/amaranth-lang · logs https://libera.irclog.whitequark.org/amaranth-lang · Matrix #amaranth-lang:matrix.org
notgull has quit [Ping timeout: 246 seconds]
notgull has joined #amaranth-lang
<_whitenotifier-3> [runtime-js] whitequark commented on issue #2: `console.log` is a little verbose when using `deno` - https://github.com/YoWASP/runtime-js/issues/2#issuecomment-1869186153
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 255 seconds]
Degi_ is now known as Degi
cr1901 has quit [Quit: Leaving]
cr1901 has joined #amaranth-lang
vipqualitypost[m has joined #amaranth-lang
<vipqualitypost[m> so I'm trying to work on adding icesugar pro platform and it's my first time working with ECP5 platform and for some reason it's not letting me add any sorts of resources. I was going off the orangecrab platform file as a reference and not doing anything super different but getting a somewhat cryptic error
<vipqualitypost[m> TypeError: Object [(resource rgb_led 0 (subsignal r (pins o B11)) (subsignal g (pins o A11)) (subsignal b (pins o C11)) (attrs IO_TYPE='LVCMOS33'))] is not a Resource
<vipqualitypost[m> this is with only the clock being added as a resource
<vipqualitypost[m> ```TypeError: Object [(resource clk 0 (pins i P6) (clock 25000000.0) (attrs IO_TYPE='LVCMOS33'))] is not a Resource
<vipqualitypost[m> oops sorry, that's just from trying to see if it was an issue with RGBLEDResource, but I do get the same error with clock:
<vipqualitypost[m> ```
<vipqualitypost[m> (with resource being added like this:... (full message at <https://catircservices.org/_matrix/media/v3/download/catircservices.org/gPKyOiaNPZjoZfbHmQlGtgbs>)
<vipqualitypost[m> s/(//
<vipqualitypost[m> (with naming both unique "clk25" and general "clk")
<zyp[m]> looks like it's complaining that you're trying to pass a list of resources to something that expects only a single resource
<zyp[m]> that error comes from a loop that iterates over a list, so I'd guess you've put a list inside a list
notgull has quit [Ping timeout: 252 seconds]
notgull has joined #amaranth-lang
Raito_Bezarius has quit [Ping timeout: 252 seconds]
Raito_Bezarius has joined #amaranth-lang
Raito_Bezarius has quit [Ping timeout: 276 seconds]
notgull has quit [Ping timeout: 256 seconds]
Raito_Bezarius has joined #amaranth-lang
Raito_Bezarius has quit [Read error: Connection reset by peer]
notgull has joined #amaranth-lang
Raito_Bezarius has joined #amaranth-lang
Raito_Bezarius has quit [Read error: Connection reset by peer]
notgull has quit [Ping timeout: 252 seconds]
Raito_Bezarius has joined #amaranth-lang
Raito_Bezarius has quit [Read error: Connection reset by peer]
Raito_Bezarius has joined #amaranth-lang
merry has joined #amaranth-lang
<vipqualitypost[m> thanks!
<vipqualitypost[m> I actually managed to crop the critical problem out of my minimum example - I put a comma after the end bracket of resources
<vipqualitypost[m> so it seems like that was all the issue was
whitequark[cis] has joined #amaranth-lang
<tpw_rules> yeah it's not great but that's how python works
<tpw_rules> and not too hard to introduce while refactoring certain amaranth syntaxes
notgull has joined #amaranth-lang
notgull has quit [Ping timeout: 252 seconds]
notgull has joined #amaranth-lang
Stary has joined #amaranth-lang
nelgau has quit [Remote host closed the connection]
nelgau has joined #amaranth-lang