projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e3b7f2
)
Fixing mor1kx data finding.
author
Tim 'mithro' Ansell
<me@mith.ro>
Mon, 30 Mar 2020 00:28:46 +0000
(17:28 -0700)
committer
Tim 'mithro' Ansell
<me@mith.ro>
Sun, 12 Apr 2020 01:37:06 +0000
(18:37 -0700)
litex/soc/cores/cpu/mor1kx/core.py
patch
|
blob
|
history
diff --git
a/litex/soc/cores/cpu/mor1kx/core.py
b/litex/soc/cores/cpu/mor1kx/core.py
index 4fe41b36c743c45fed626f7259ba04396592a47c..a380e3faf9664e6962623c97331f38fe00b6493e 100644
(file)
--- 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)