from nmigen.hdl.ast import Past
from gram.common import tXXDController, tFAWController
-from utils import *
+from gram.test.utils import *
class tXXDControllerTestCase(FHDLTestCase):
def test_formal(self):
from nmigen.asserts import Assert, Assume
from gram.compat import *
-from utils import *
+from gram.test.utils import *
class DelayedEnterTestCase(FHDLTestCase):
def test_sequence(self):
from nmigen.asserts import Assert, Assume
from gram.core.crossbar import _DelayLine
-from utils import *
+from gram.test.utils import *
class DelayLineSpec(Elaboratable):
def __init__(self, delay):
from gram.core.multiplexer import _AntiStarvation, _CommandChooser
from gram.common import cmd_request_rw_layout
import gram.stream as stream
-from utils import *
+from gram.test.utils import *
class CommandChooserTestCase(FHDLTestCase):
def prepare_testbench(self):
from gram.core.refresher import RefreshExecuter, RefreshSequencer, RefreshTimer, RefreshPostponer, Refresher
from gram.compat import *
-from utils import *
+from gram.test.utils import *
class RefreshExecuterTestCase(FHDLTestCase):
def test_executer(self):
from gram.dfii import *
from gram.phy.dfi import Interface
-from utils import *
+from gram.test.utils import *
# Phase injector CSR addresses
PI_COMMAND_ADDR = 0x00
from gram.frontend.wishbone import gramWishbone
from gram.core.multiplexer import _AntiStarvation
-from utils import *
+from gram.test.utils import *
class DDR3SoC(SoC, Elaboratable):
def __init__(self, *, clk_freq, dramcore_addr,