from mibuild import tools
from mibuild.xilinx_common import *
+sys.path.append("../../../") # Temporary
from misoclib.liteeth.common import *
def get_csr_csv(regions):
args = _get_args()
# create top-level Core object
- target_module = _import("targets", args.target)
+ target_module = _import("misoclib.liteeth.example_designs.targets", args.target)
if args.sub_target:
top_class = getattr(target_module, args.sub_target)
else:
platform_name = top_class.default_platform
else:
platform_name = args.platform
- platform_module = _import("platforms", platform_name)
+ platform_module = _import("misoclib.liteeth.example_designs.platforms", platform_name)
platform_kwargs = dict((k, autotype(v)) for k, v in args.platform_option)
platform = platform_module.Platform(**platform_kwargs)