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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Nov 20 00:22:57 GMT 2021


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

--- Comment #46 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
step 2.  pass fragment to sim.

https://git.libre-soc.org/?p=nmigen.git;a=blob;f=nmigen/sim/core.py;h=886cea1820d0771a1e13c742485d78014c299e70;hb=e88d283ed30448ed5fe3ba264e3e56b48f2a4982#l66

that looks bleedin obvious.  but worth checking Fragment.get

https://git.libre-soc.org/?p=nmigen.git;a=blob;f=nmigen/hdl/ir.py;h=3c1ec6045d945fc6461d90eda08e5f48dfbb976e;hb=e88d283ed30448ed5fe3ba264e3e56b48f2a4982#l32

yep.  if already a Fragment return it.

so the key is an overide of toolchain_prepare that grabs the fragment
after it has had all the calls to get_input etc.

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


More information about the libre-soc-bugs mailing list