[script] fixed a bug
This commit is contained in:
parent
8b17bf1b1c
commit
9ea4a7c90f
|
@ -722,6 +722,7 @@ def collect_files_for_vpr():
|
|||
if not os.path.isfile(args.activity_file or ""):
|
||||
logger.error("Activity File - %s" % args.activity_file)
|
||||
clean_up_and_exit("Provided activity file not found")
|
||||
shutil.copy(args.activity_file, args.top_module+"_ace_out.act")
|
||||
else:
|
||||
if os.path.isfile(args.activity_file):
|
||||
shutil.copy(args.activity_file, args.top_module+"_ace_out.act")
|
||||
|
|
|
@ -324,7 +324,7 @@ def generate_each_task_actions(taskname):
|
|||
"for vpr_blif flow")
|
||||
CurrBenchPara["activity_file"] = SynthSection.get(bech_name+"_act")
|
||||
else:
|
||||
# If users defined an acitivity file, we use it otherwise create a dummy act
|
||||
# If users defined an activity file, we use it otherwise create a dummy act
|
||||
if not SynthSection.get(bech_name+"_act"):
|
||||
CurrBenchPara["activity_file"] = bech_name+"_act"
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue