From 476c05243199a9feaec579b840d427ea64e22452 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 28 Nov 2021 21:49:52 +0000 Subject: [PATCH] --- docs/pinmux.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) 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): + -- 2.30.2