[Script] Allow users to specify custom post-synthesis verilog for simulation
This commit is contained in:
parent
aafd87c3f9
commit
5d46537b5b
|
@ -279,12 +279,13 @@ def generate_each_task_actions(taskname):
|
||||||
"for vpr_blif flow")
|
"for vpr_blif flow")
|
||||||
CurrBenchPara["activity_file"] = SynthSection.get(bech_name+"_act")
|
CurrBenchPara["activity_file"] = SynthSection.get(bech_name+"_act")
|
||||||
|
|
||||||
# Check if base verilog file exists
|
# Allow user to specify a post-synthesis verilog file for simulation usage
|
||||||
if not SynthSection.get(bech_name+"_verilog"):
|
# Check if base verilog file exists
|
||||||
clean_up_and_exit("Missing argument %s for vpr_blif flow" %
|
if not SynthSection.get(bech_name+"_verilog"):
|
||||||
(bech_name+"_verilog"))
|
clean_up_and_exit("Missing argument %s for vpr_blif flow" %
|
||||||
CurrBenchPara["verilog_file"] = SynthSection.get(
|
(bech_name+"_verilog"))
|
||||||
bech_name+"_verilog")
|
CurrBenchPara["verilog_file"] = SynthSection.get(
|
||||||
|
bech_name+"_verilog")
|
||||||
|
|
||||||
# Add script parameter list in current benchmark
|
# Add script parameter list in current benchmark
|
||||||
ScriptSections = [x for x in TaskFileSections if "SCRIPT_PARAM" in x]
|
ScriptSections = [x for x in TaskFileSections if "SCRIPT_PARAM" in x]
|
||||||
|
|
Loading…
Reference in New Issue