from amaranth.compat.genlib.cdc import * from amaranth.compat.genlib.cdc import __all__ import warnings warnings.warn("instead of nmigen.compat.genlib.cdc, use amaranth.compat.genlib.cdc", DeprecationWarning, stacklevel=2)