From: Andrey Miroshnikov Date: Tue, 31 May 2022 22:51:30 +0000 (+0100) Subject: Added comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86d9a5e3f1309a6b3534fa696c982c9e83297496;p=pinmux.git Added comment --- diff --git a/src/spec/iomux.py b/src/spec/iomux.py index 83f22d1..d69e94a 100644 --- a/src/spec/iomux.py +++ b/src/spec/iomux.py @@ -28,6 +28,11 @@ io_layout = (("i", 1), ("o", 1) ) +# This block produces an N-to-1 mux with N 3-bit bank ports and one pad port. +# The bank ports are intended to be wired to peripheral functions, +# while the pad port will connect to the I/O pad. +# Each port has o/oe/i signals, and the bank signal is used to select +# between the bank ports. class IOMuxBlockSingle(Elaboratable): def __init__(self, n_banks=4):