gram.phy.ecp5ddrphy: Add documentation for _DQSBUFMSettingManager
authorJean THOMAS <git0@pub.jeanthomas.me>
Thu, 6 Aug 2020 10:43:10 +0000 (12:43 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Thu, 6 Aug 2020 10:43:10 +0000 (12:43 +0200)
gram/phy/ecp5ddrphy.py

index c1c2f170bb519aa7e8b820b79ff6567aae743172..1abc943e0e46cb1a0f04a1b8751ebb6cf0b50cbc 100644 (file)
@@ -76,6 +76,24 @@ class ECP5DDRPHYInit(Elaboratable):
 
 
 class _DQSBUFMSettingManager(Elaboratable):
+    """DQSBUFM setting manager.
+
+    The DQSBUFM primitive requires a very basic sequence when updating
+    read delay or other parameters. This elaboratable generates this
+    sequence from CSR events.
+
+    Parameters
+    ----------
+    rdly_slr : CSR
+        CSR storing the rdly value.
+
+    Attributes
+    ----------
+    pause : Signal(), out
+        Pause signal for DQSBUFM.
+    readclksel : Signal(3), out
+        Readclksel signal for DQSBUFM.
+    """
     def __init__(self, rdly_csr):
         self.rdly_csr = rdly_csr