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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Nov 13 23:04:54 GMT 2021


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

--- Comment #22 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
i copied jtag.py over and removed DMI from it, so that it would work.

things got complicated: an iterator on the pins is only possible *after*
the resources have been requested.

this makes sense in that resources are "in potentia", and pins are
"actual".

what that meant was: i had to put the entire pinset into the DummyPlatform
and *pre-allocate* it.

the reason being: in order to create an absolutely identical pad-set,
and to be able to get that identical pad-pin on a per-core-pin basis,
you of course have to enumerate through them aaaallll and match them
up.... *before* get_input and get_output get called.

argh.

anyway, it works.

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


More information about the libre-soc-bugs mailing list