Commit 59e46c28 authored by Tiago Jorge's avatar Tiago Jorge
Browse files

Add Bambu options with signal names; Copy Bambu output component into FPGA design project.

parent 3afb7334
...@@ -2656,11 +2656,13 @@ def CallBambuForBrave(bNoBitfile): ...@@ -2656,11 +2656,13 @@ def CallBambuForBrave(bNoBitfile):
'-v4 ' \ '-v4 ' \
'--do-not-expose-globals ' \ '--do-not-expose-globals ' \
'-wH ' \ '-wH ' \
'--panda-parameter=none-ptrdefault=1 ' '--panda-parameter=none-ptrdefault=1 ' \
'--clock-name=clock_' + ifName + ' --reset-name=reset_' + ifName + ' --start-name=start_' + ifName + ' --done-name=finish_' + ifName
with os.popen(bambu_cmd) as pipe: with os.popen(bambu_cmd) as pipe:
status = pipe.read().strip() status = pipe.read().strip()
if successMsg not in status: if successMsg not in status:
panic('Bambu failed in "%s"' % os.getcwd()) panic('Bambu failed in "%s"' % os.getcwd())
shutil.copyfile("bambu_" + ifName + ".vhd", "../TASTE-VHDL-DESIGN/design/bambu_" + ifName + ".vhd")
os.chdir(savedDir) os.chdir(savedDir)
os.chdir(savedDir) os.chdir(savedDir)
......
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