abc_script += script_file[i];
} else
abc_script += stringf("source %s", script_file.c_str());
+ } else if (design->scratchpad.count("abc.script")) {
+ abc_script += design->scratchpad_get_string("abc.script");
} else if (!lut_costs.empty()) {
bool all_luts_cost_same = true;
for (int this_cost : lut_costs)
abc9_script += script_file[i];
} else
abc9_script += stringf("source %s", script_file.c_str());
+ } else if (design->scratchpad.count("abc9.script")) {
+ abc9_script += design->scratchpad_get_string("abc9.script");
} else if (!lut_costs.empty() || !lut_file.empty()) {
//bool all_luts_cost_same = true;
//for (int this_cost : lut_costs)