From: lkcl Date: Sun, 28 Nov 2021 21:49:52 +0000 (+0000) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~3346 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=476c05243199a9feaec579b840d427ea64e22452;p=libreriscv.git --- diff --git a/docs/pinmux.mdwn b/docs/pinmux.mdwn index 193e6778d..f45e3addb 100644 --- a/docs/pinmux.mdwn +++ b/docs/pinmux.mdwn @@ -226,7 +226,14 @@ recogniseable well-known name. Next, these Resources need to be handed to a ResourceManager or a Platform (Platform derives from ResourceManager) + from nmigen.build.plat import TemplatedPlatform + class ASICPlatform(TemplatedPlatform): def __init__(self, resources): super().__init__() self.add_resources(resources) + +An HDL Module may now be created, which, if given +a platform instance during elaboration, may request +a UART (caveat below): +