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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Nov 12 20:40:32 GMT 2021


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

--- Comment #9 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
found this:

https://github.com/nmigen/nmigen-boards/blob/master/nmigen_boards/resources/interface.py#L10

which can be used to create a Resource Suite from this:

  26 def dummy_pinset():
  27     # sigh this needs to come from pinmux.
  28     gpios = []
  29     for i in range(16):
  30         gpios.append("%d*" % i)
  31     return {'uart': ['tx+', 'rx-'],
  32              'gpio': gpios,
  33              'i2c': ['sda*', 'scl+']}

https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/debug/jtag.py;h=4b4f17a97d672c3f22b668008a1c058ac2500da6;hb=HEAD#l26

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


More information about the libre-soc-bugs mailing list