Fixing mor1kx data finding.
This commit is contained in:
parent
2e3b7f20c7
commit
e618d41ffb
|
@ -174,8 +174,7 @@ class MOR1KX(CPU):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def add_sources(platform):
|
def add_sources(platform):
|
||||||
vdir = os.path.join(
|
vdir = os.path.join(
|
||||||
os.path.abspath(os.path.dirname(__file__)),
|
find_data("cpu", "mor1kx"), "rtl", "verilog")
|
||||||
"verilog", "rtl", "verilog")
|
|
||||||
platform.add_source_dir(vdir)
|
platform.add_source_dir(vdir)
|
||||||
platform.add_verilog_include_path(vdir)
|
platform.add_verilog_include_path(vdir)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue