diff --git a/misoclib/com/liteeth/example_designs/make.py b/misoclib/com/liteeth/example_designs/make.py index 73de00fd6..b29f26965 100644 --- a/misoclib/com/liteeth/example_designs/make.py +++ b/misoclib/com/liteeth/example_designs/make.py @@ -10,7 +10,7 @@ from migen.bank.description import CSRStatus from mibuild import tools from mibuild.xilinx_common import * -sys.path.append("../../../") # Temporary +sys.path.append("../../../../") # Temporary from misoclib.com.liteeth.common import * def get_csr_csv(regions): diff --git a/misoclib/tools/litescope/make.py b/misoclib/tools/litescope/example_designs/make.py similarity index 98% rename from misoclib/tools/litescope/make.py rename to misoclib/tools/litescope/example_designs/make.py index 5c0c85f30..e73294f55 100644 --- a/misoclib/tools/litescope/make.py +++ b/misoclib/tools/litescope/example_designs/make.py @@ -8,8 +8,9 @@ from migen.fhdl import verilog, edif from migen.fhdl.structure import _Fragment from migen.bank.description import CSRStatus from mibuild import tools -from mibuild.xilinx_common import * +from mibuild.xilinx.common import * +sys.path.append("../../../../") # Temporary from misoclib.tools.litescope.common import * def get_csr_csv(regions): diff --git a/misoclib/tools/litescope/targets/__init__.py b/misoclib/tools/litescope/example_designs/targets/__init__.py similarity index 100% rename from misoclib/tools/litescope/targets/__init__.py rename to misoclib/tools/litescope/example_designs/targets/__init__.py diff --git a/misoclib/tools/litescope/targets/simple.py b/misoclib/tools/litescope/example_designs/targets/simple.py similarity index 100% rename from misoclib/tools/litescope/targets/simple.py rename to misoclib/tools/litescope/example_designs/targets/simple.py diff --git a/misoclib/tools/litescope/test/make.py b/misoclib/tools/litescope/example_designs/test/make.py similarity index 100% rename from misoclib/tools/litescope/test/make.py rename to misoclib/tools/litescope/example_designs/test/make.py diff --git a/misoclib/tools/litescope/test/test_io.py b/misoclib/tools/litescope/example_designs/test/test_io.py similarity index 100% rename from misoclib/tools/litescope/test/test_io.py rename to misoclib/tools/litescope/example_designs/test/test_io.py diff --git a/misoclib/tools/litescope/test/test_la.py b/misoclib/tools/litescope/example_designs/test/test_la.py similarity index 100% rename from misoclib/tools/litescope/test/test_la.py rename to misoclib/tools/litescope/example_designs/test/test_la.py diff --git a/misoclib/tools/litescope/test/test_regs.py b/misoclib/tools/litescope/example_designs/test/test_regs.py similarity index 100% rename from misoclib/tools/litescope/test/test_regs.py rename to misoclib/tools/litescope/example_designs/test/test_regs.py diff --git a/misoclib/tools/litescope/test/Makefile b/misoclib/tools/litescope/test/Makefile deleted file mode 100644 index da182725c..000000000 --- a/misoclib/tools/litescope/test/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -LSDIR = ../ -PYTHON = python3 - -CMD = PYTHONPATH=$(LSDIR) $(PYTHON) - -test_regs: - $(CMD) test_regs.py - -test_io: - $(CMD) test_io.py - -test_la: - $(CMD) test_la.py