Remove nmigen.lib from prelude.

Currently it's just MultiReg, and there's no particularly good reason
to privilege this specific CDC primitive so much.
This commit is contained in:
whitequark 2019-09-06 06:47:27 +00:00
parent 38831abdb4
commit 5e9587bbbd
4 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,5 @@
from nmigen import *
from nmigen.lib.cdc import MultiReg
from nmigen.cli import main

View file

@ -5,4 +5,3 @@ except pkg_resources.DistributionNotFound:
pass
from .hdl import *
from .lib import *

View file

@ -1 +0,0 @@
from .cdc import MultiReg

View file

@ -4,6 +4,7 @@ from .. import *
from ..asserts import *
from ..tools import log2_int
from .coding import GrayEncoder
from .cdc import MultiReg
__all__ = ["FIFOInterface", "SyncFIFO", "SyncFIFOBuffered", "AsyncFIFO", "AsyncFIFOBuffered"]