From: Tim 'mithro' Ansell Date: Mon, 30 Mar 2020 00:28:46 +0000 (-0700) Subject: Fixing mor1kx data finding. X-Git-Tag: 24jan2021_ls180~424^2~5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e618d41ffb69000662693b1515b3e0a4549780b7;p=litex.git Fixing mor1kx data finding. --- diff --git a/litex/soc/cores/cpu/mor1kx/core.py b/litex/soc/cores/cpu/mor1kx/core.py index 4fe41b36..a380e3fa 100644 --- a/litex/soc/cores/cpu/mor1kx/core.py +++ b/litex/soc/cores/cpu/mor1kx/core.py @@ -174,8 +174,7 @@ class MOR1KX(CPU): @staticmethod def add_sources(platform): vdir = os.path.join( - os.path.abspath(os.path.dirname(__file__)), - "verilog", "rtl", "verilog") + find_data("cpu", "mor1kx"), "rtl", "verilog") platform.add_source_dir(vdir) platform.add_verilog_include_path(vdir)