sb0 changed the topic of #m-labs to: https://m-labs.hk :: Mattermost https://chat.m-labs.hk :: Logs http://irclog.whitequark.org/m-labs
airwoodix95 has joined #m-labs
airwoodix95 is now known as airwoodix9
airwoodix9 has quit [Ping timeout: 272 seconds]
proteus-guy has quit [Ping timeout: 256 seconds]
proteusguy has quit [Ping timeout: 260 seconds]
proteus-guy has joined #m-labs
proteusguy has joined #m-labs
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
__builtin_trap is now known as smkz
<jeanthom> thanks, that looks good to me
<jeanthom> could you upload NumatoMimasV2Platform?
<andreasc> Thanks a lot for checking!
<jeanthom> mmh, could you try adding an empty array for connectors?
<jeanthom> like connectors = []
<jeanthom> no worries :)
<andreasc> Wohoo!!!! That's it! Thank you sooo much :D Now it complains about required Xilinx ISE tools, so that means my code seems to work! Awesome!
<jeanthom> yay! now good luck figuring out how to install ISE on a modern Linux distro :D
<andreasc> Haha, I have ISE installed already (and toolchain working) so should be "easy" ;)
<tpw_rules> the hardest part of installing it for me was downloading it lol
<andreasc> Yeah, 6GB of stuff ;)
<jeanthom> I recall having tons of issues with licensing and libraries not working correctly
<tpw_rules> yeah it was finding the link and making the account and getting authorized and stuff
<jeanthom> a bit more complicated than that
<jeanthom> not overly complicated
<jeanthom> but when you're a newbie it's difficult
<jeanthom> they expect you to use a GUI software for activating ISE, and in my case it wouldn't work properly
<jeanthom> then I found out that you just had to download the license file and put it in the right place
<andreasc> Would have been awesome to have a fully open source toolchain for Xilinx Spartan FPGAs!
jeanthom has left #m-labs ["Leaving..."]
andreasc has left #m-labs [#m-labs]