-from .bus import *
+from nmigen_soc.csr.bus import Element, Interface, Decoder, Multiplexer
from nmigen import Record, Elaboratable, Module, Signal, Mux
from nmigen.utils import log2_int
-from ..memory import MemoryMap
+from nmigen_soc.memory import MemoryMap
__all__ = ["Element", "Interface", "Decoder", "Multiplexer"]
from nmigen import Elaboratable, Module, Signal, Cat
from nmigen.utils import log2_int
-from . import Interface as CSRInterface
-from ..wishbone import Interface as WishboneInterface
+from nmigen_soc.csr.bus import Interface as CSRInterface
+from nmigen_soc.wishbone import Interface as WishboneInterface
__all__ = ["WishboneCSRBridge"]
from nmigen.hdl.rec import Layout
from nmigen.back.pysim import Simulator, Fragment
-from ..csr.bus import *
+from nmigen_soc.csr.bus import Element, Interface, Decoder, Multiplexer
class ElementTestCase(unittest.TestCase):
from nmigen import Elaboratable, Signal, Module
from nmigen.back.pysim import Simulator, Fragment
-from .. import csr
-from ..csr.wishbone import *
+from nmigen_soc import csr
+from nmigen_soc.csr.wishbone import WishboneCSRBridge
class MockRegister(Elaboratable):
import unittest
-from ..memory import _RangeMap, MemoryMap
+from nmigen_soc.memory import _RangeMap, MemoryMap
class RangeMapTestCase(unittest.TestCase):
from nmigen.hdl.rec import Layout, DIR_FANOUT, DIR_FANIN
from nmigen.back.pysim import Simulator, Delay, Tick
-from ..wishbone import *
+from nmigen_soc.wishbone import (Interface, CycleType, Decoder,
+ InterconnectShared,
+ Arbiter, BurstTypeExt)
class InterfaceTestCase(unittest.TestCase):
-from .bus import *
-from .sram import *
+from nmigen_soc.wishbone.bus import (Interface, CycleType, Decoder,
+ InterconnectShared, Arbiter,
+ BurstTypeExt)
from nmigen.hdl.rec import Direction
from nmigen.utils import log2_int
-from ..memory import MemoryMap
-from ..scheduler import *
+from nmigen_soc.memory import MemoryMap
+from nmigen_soc.scheduler import RoundRobin
__all__ = ["CycleType", "BurstTypeExt", "Interface", "Decoder",
from nmigen import Elaboratable, Memory, Module
from nmigen.utils import log2_int
-from .bus import Interface
+from nmigen.wishbone.bus import Interface
__all__ = ["SRAM"]