Commit 7f1cb1e7 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski Committed by Paweł Szostek

module.py: exports syn_device to manifests parser to enable FPGA-dependent configuration

Signed-off-by: Paweł Szostek's avatarPawel Szostek <pawel.szostek@gmail.com>
parent 584d0263
......@@ -161,6 +161,7 @@ class Module(object):
if(self.parent != None):
manifest_parser.add_arbitrary_code("target=\""+str(global_mod.top_module.target)+"\"")
manifest_parser.add_arbitrary_code("action=\""+str(global_mod.top_module.action)+"\"")
manifest_parser.add_arbitrary_code("syn_device=\""+str(global_mod.top_module.syn_device)+"\"")
manifest_parser.add_arbitrary_code("__manifest=\""+self.path+"\"")
manifest_parser.add_arbitrary_code(global_mod.options.arbitrary_code)
......
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