Fixing mor1kx data finding.

This commit is contained in:
Tim 'mithro' Ansell 2020-03-29 17:28:46 -07:00
parent 2e3b7f20c7
commit e618d41ffb
1 changed files with 1 additions and 2 deletions

View File

@ -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)