[Script] Patching the run_fpga_task.py on pin constraint files

This commit is contained in:
tangxifan 2021-07-02 15:59:29 -06:00
parent e9d29e27e5
commit 8baf60603a
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ def generate_each_task_actions(taskname):
for eachKey, eachValue in SynthSection.items(): for eachKey, eachValue in SynthSection.items():
if bech_name in eachKey: if bech_name in eachKey:
eachKey = eachKey.replace(bech_name+"_", "").upper() eachKey = eachKey.replace(bech_name+"_", "").upper()
CurrBenchPara["benchVariable"] += [eachKey,eachValue] CurrBenchPara["benchVariable"] += [f"--{eachKey}", eachValue]
if GeneralSection.get("fpga_flow") == "vpr_blif": if GeneralSection.get("fpga_flow") == "vpr_blif":
# Check if activity file exist # Check if activity file exist