(no commit message)
authorlkcl <lkcl@web>
Sun, 28 Nov 2021 21:49:52 +0000 (21:49 +0000)
committerIkiWiki <ikiwiki.info>
Sun, 28 Nov 2021 21:49:52 +0000 (21:49 +0000)
docs/pinmux.mdwn

index 193e6778d6d355a02963b6c90e2a18bcfc20d6f0..f45e3addbe55d01ae3581feea8053cc174b60593 100644 (file)
@@ -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):
+