[Libre-soc-bugs] [Bug 50] nmigen pinmux

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Nov 13 17:50:11 GMT 2021


https://bugs.libre-soc.org/show_bug.cgi?id=50

--- Comment #17 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to andrey from comment #16)
> (In reply to Luke Kenneth Casson Leighton from comment #15)
> > (In reply to andrey from comment #13)
> > now you know why i set strict coding standards so that you can pull
> > up 12 xterms on-screen side by side.
> Yeah, currently using terminator terminal viewer to practice this.
> 
> > this is why i said to focus on a tiny task (20 lines).  you then made it 5x
> > larger, hence why you are struggling.  wark :)
> I see, just read the question and clarify if confused... :)
> 
> > suggest this:
> > 
> > 1) use dummy_pinset the original
> > 2) enumerate the dict and create Resources using
> >    format in comment #10 and comment #12
> > 3) create a Platform() and call its build function.
> > 
> > this is literally 20 lines of code.
> I've added a create_resources function which accepts dummy_pinset and
> instantiated a Platform instance. Actual code about 30 lines.
> 
> The code fails during Platform instantiation:
> 
> Traceback (most recent call last):
>   File "testing_stage1.py", line 75, in <module>
>     p=Platform(resources)
> TypeError: Can't instantiate abstract class Platform with abstract methods
> connectors, required_tools, resources, toolchain_prepare

oooo how annoying.

ok i'll have a look.

l.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list