Add include_dirs as SEARCH_PATH in Quartus

parent 6bda472d
...@@ -200,6 +200,10 @@ class ToolQuartus(ToolSyn): ...@@ -200,6 +200,10 @@ class ToolQuartus(ToolSyn):
self.SET_GLOBAL_ASSIGNMENT, self.SET_GLOBAL_ASSIGNMENT,
{'name_type': 'TOP_LEVEL_ENTITY', {'name_type': 'TOP_LEVEL_ENTITY',
'name': '\\"$(TOP_MODULE)\\"'})) 'name': '\\"$(TOP_MODULE)\\"'}))
for inc in self.manifest_dict.get("include_dirs", []):
command_list.append(self._emit_property(self.SET_GLOBAL_ASSIGNMENT,
{'name_type': 'SEARCH_PATH',
'name': '\\"%s\\"' % inc}))
self._tcl_controls["project"] = '\n'.join(command_list) self._tcl_controls["project"] = '\n'.join(command_list)
super(ToolQuartus, self)._makefile_syn_tcl() super(ToolQuartus, self)._makefile_syn_tcl()
......
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