Commit 758c59d1 authored by Dimitris Lampridis's avatar Dimitris Lampridis

hdl: fix reference to general-cores from the rtl Manifest

parent 155a8f65
......@@ -11,7 +11,7 @@ files = [
try:
# Assume this module is in fact a git submodule of a main project that
# is in the same directory as general-cores...
exec(open("../../../" + "/general-cores/tools/gen_sourceid.py").read(),
exec(open(fetchto + "/general-cores/tools/gen_sourceid.py").read(),
None, {'project': 'svec_base'})
except Exception as e:
import os
......
......@@ -10,6 +10,11 @@ action = "synthesis"
if locals().get('fetchto', None) is None:
fetchto = "../../ip_cores"
# Ideally this should be done by hdlmake itself, to allow downstream Manifests to be able to use the
# fetchto variable independent of where those Manifests reside in the filesystem.
import os
fetchto = os.path.abspath(fetchto)
syn_device = "xc6slx150t"
syn_grade = "-3"
syn_package = "fgg900"
......
......@@ -10,6 +10,11 @@ action = "synthesis"
if locals().get('fetchto', None) is None:
fetchto = "../../ip_cores"
# Ideally this should be done by hdlmake itself, to allow downstream Manifests to be able to use the
# fetchto variable independent of where those Manifests reside in the filesystem.
import os
fetchto = os.path.abspath(fetchto)
syn_device = "xc6slx150t"
syn_grade = "-3"
syn_package = "fgg900"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment