napoleon_google_docstring = False
napoleon_numpy_docstring = True
napoleon_use_ivar = True
+napoleon_custom_sections = ["Platform overrides"]
html_theme = "sphinx_rtd_theme"
html_static_path = ["_static"]
--- /dev/null
+Clock domain crossing
+#####################
+
+.. py:module:: nmigen.lib.cdc
+
+The ``nmigen.lib.cdc`` package provides modules for transferring data between clock domains.
+
+
+.. autoclass:: FFSynchronizer()
+.. autoclass:: AsyncFFSynchronizer()
+.. autoclass:: ResetSynchronizer()
+.. autoclass:: PulseSynchronizer()
+
Maximum delay from the input signal's clock to the first synchronization stage, in seconds.
If specified and the platform does not support it, elaboration will fail.
- Platform override
- -----------------
+ Platform overrides
+ ------------------
Define the ``get_reset_sync`` platform method to override the implementation of
:class:`ResetSynchronizer`, e.g. to instantiate library cells directly.
"""
"""A one-clock pulse on the input produces a one-clock pulse on the output.
If the output clock is faster than the input clock, then the input may be safely asserted at
- 100% duty cycle. Otherwise, if the clock ratio is `n`:1, the input may be asserted at most once
- in every `n` input clocks, else pulses may be dropped. Other than this there is no constraint
- on the ratio of input and output clock frequency.
+ 100% duty cycle. Otherwise, if the clock ratio is ``n``:1, the input may be asserted at most
+ once in every ``n`` input clocks, else pulses may be dropped. Other than this there is
+ no constraint on the ratio of input and output clock frequency.
Parameters
----------