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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Nov 20 00:48:58 GMT 2021


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

--- Comment #47 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
+++ b/src/spec/testing_stage1.py
@@ -400,6 +400,12 @@ class ASICPlatform(TemplatedPlatform):
         m.d.comb += padpin.oe.eq(padport_oe)
         return m

+    def toolchain_prepare(self, fragment, name, **kwargs):
+        """override toolchain_prepare in order to grab the fragment
+        """
+        self.fragment = fragment
+        return super().toolchain_prepare(fragment, name, **kwargs)
+

done

https://git.libre-soc.org/?p=pinmux.git;a=commitdiff;h=9f43ae5a883590d91b9a6f1211c1b29e5dd68fbc

also added some notes.  i leave you to work through them.

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


More information about the libre-soc-bugs mailing list