-from nmigen.fhdl import *
+from nmigen import *
from nmigen.back import rtlil, verilog
-from nmigen.fhdl import *
+from nmigen import *
from nmigen.back import rtlil, verilog
-from nmigen.fhdl import *
+from nmigen import *
from nmigen.back import rtlil, verilog
-from nmigen.fhdl import *
+from nmigen import *
from nmigen.back import rtlil, verilog
-from nmigen.genlib.cdc import *
i, o = Signal(name="i"), Signal(name="o")
-from nmigen.fhdl import *
+from nmigen import *
from nmigen.back import rtlil, verilog, pysim
-from nmigen.fhdl import *
+from nmigen import *
from nmigen.back import rtlil, verilog, pysim
-from nmigen.fhdl import *
+from nmigen import *
from nmigen.back import rtlil, verilog
+from .fhdl.ast import Value, Const, Mux, Cat, Repl, Signal, ClockSignal, ResetSignal
+from .fhdl.dsl import Module
+from .fhdl.cd import ClockDomain
+from .fhdl.ir import Fragment
+from .fhdl.xfrm import ResetInserter, CEInserter
+
+from .genlib.cdc import MultiReg
-from .cd import ClockDomain
-from .ast import Value, Const, Mux, Cat, Repl, Signal, ClockSignal, ResetSignal
-from .ir import Fragment
-from .dsl import Module
-from .xfrm import ResetInserter, CEInserter