Added additional PATH variables
@@ -50,6 +50,11 @@ args = parser.parse_args()
task_script_dir = os.path.dirname(os.path.abspath(__file__))
script_env_vars = ({"PATH": {
"OPENFPGA_FLOW_PATH": task_script_dir,
+ "ARCH_PATH": os.path.join("${PATH:OPENFPGA_PATH}", "arch"),
+ "BENCH_PATH": os.path.join("${PATH:OPENFPGA_PATH}", "benchmarks"),
+ "TECH_PATH": os.path.join("${PATH:OPENFPGA_PATH}", "tech"),
+ "SPICENETLIST_PATH": os.path.join("${PATH:OPENFPGA_PATH}", "SpiceNetlists"),
+ "VERILOG_PATH": os.path.join("${PATH:OPENFPGA_PATH}", "VerilogNetlists"),
"OPENFPGA_PATH": os.path.abspath(os.path.join(task_script_dir, os.pardir,
os.pardir))}})
config = ConfigParser(interpolation=ExtendedInterpolation())
@@ -184,7 +189,6 @@ def generate_each_task_actions(taskname):
CurrBenchPara["chan_width"] = SynthSection.get(bech_name+"_chan_width",
fallback=chan_width_common)
-
if GeneralSection.get("fpga_flow") == "vpr_blif":
# Check if activity file exist
if not SynthSection.get(bech_name+"_act"):
