[Libre-soc-bugs] [Bug 762] Peripheral Pin Muxing Development

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Jan 16 12:16:15 GMT 2022


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

--- Comment #5 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Andrey Miroshnikov from comment #4)

> Sure. I looked at Robert's tutorial for Records
> (https://github.com/RobertBaruch/nmigen-tutorial/blob/master/6_combining.md),
> and created a Layout and Record:


csr_layout = [("oe", 1),
...
         ])

class CSRBus(Record):
     def __init__(self):
         super().__init__(layout=csr_layout)


there are dozens of examples of uses of Record in the libre-soc code.

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


More information about the libre-soc-bugs mailing list