Commit 91d48b1a authored by Tiago Jorge's avatar Tiago Jorge
Browse files

Update Brave script.py to support multiple components.

parent d9a21833
......@@ -1129,6 +1129,9 @@ def OnFinal() -> None:
makefile.write(vhdlTemplateBrave.makefile % {'pi': msg, 'tab': '\t'})
makefile.close()
msg = ""
for c in VHDL_Circuit.allCircuits:
msg += '\n\'%s.vhd\',' % c._spCleanName
script = open(vhdlBackend.dir + '/TASTE-VHDL-DESIGN/design/script.py', 'w')
script.write(vhdlTemplateBrave.script % {'pi': c._spCleanName})
script.write(vhdlTemplateBrave.script % {'pi': msg})
script.close()
......@@ -205,8 +205,7 @@ project.addFiles('leon2ft', [
'../src/leon2ft_2015.3_nomeiko/leon/amba.vhd',
'../src/leon2ft_2015.3_nomeiko/leon/target.vhd',
'device.vhd',
'TASTE.vhd',
'%(pi)s.vhd',
'TASTE.vhd',%(pi)s
'../src/leon2ft_2015.3_nomeiko/leon/config.vhd',
'../src/leon2ft_2015.3_nomeiko/leon/ftlib.vhd',
'../src/leon2ft_2015.3_nomeiko/leon/ftcell.vhd',
......
Supports Markdown
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