Stormwind_mobile has quit [Ping timeout: 256 seconds]
proteus-guy has quit [Remote host closed the connection]
proteus-guy has joined #m-labs
proteus-dude has joined #m-labs
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 246 seconds]
proteus-dude has quit [Quit: Leaving]
[Matt] has quit [Ping timeout: 260 seconds]
Stormwind_mobile has joined #m-labs
[Matt] has joined #m-labs
lkcl_ has joined #m-labs
lkcl has quit [Ping timeout: 256 seconds]
jeanthom has joined #m-labs
andreasc has joined #m-labs
<andreasc>
Hi all, new here and not sure this is the right forum :) But I'm trying to use nmigen with a Numato Mimas V2, so I adapted the included Mimas (v1) file in nmigen_boards but can't make it work. When I run the build() method on my class, I get "missing 1 required positional argument: 'elaboratable'" even though I'm pretty sure I inherit from
<andreasc>
Elaboratable. Any hints?
<jeanthom>
Hi, what arguments are you giving to build()?
<andreasc>
Just my Elaboratable module, so: NumatoMimasV2Platform.build(TestLEDModule()) in this case.... and TestLEDModule is defined as "class TestLEDModule(Elaboratable)"
ohsix has quit [Ping timeout: 240 seconds]
<jeanthom>
could you try NumatoMimasV2Platform().build(TestLEDModule()) instead?
<jeanthom>
with the parenthesis next to NumatoMimasV2Platform
ohsix has joined #m-labs
<andreasc>
Oh yes, of course, that makes sense, of course I need the parenthesis! Now I get "can't instantiate abstract class ... with abstract method connectors", but I guess I'm missing to implement some abstract parameters.
<andreasc>
Hmm, looks like device, package, and speed are abstract in xilinx_spartan_3_6.py, but I override those already...
<jeanthom>
can you upload your TestLEDModule code somewhere (gist, pastebin)? There might be an issue with how you're trying to access your platform resources