projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f427d
)
check scratchpad variable abc9.scriptfile
author
N. Engelhardt
<nak@symbioticeda.com>
Tue, 17 Dec 2019 18:39:55 +0000
(19:39 +0100)
committer
N. Engelhardt
<nak@symbioticeda.com>
Tue, 17 Dec 2019 18:39:55 +0000
(19:39 +0100)
passes/techmap/abc9.cc
patch
|
blob
|
history
diff --git
a/passes/techmap/abc9.cc
b/passes/techmap/abc9.cc
index 7fd235d6e352480214bc00de29d48bea7b378e80..96642de542fb92e0b83d8d7d820f3bd82af91e25 100644
(file)
--- a/
passes/techmap/abc9.cc
+++ b/
passes/techmap/abc9.cc
@@
-334,6
+334,8
@@
void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri
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 (design->scratchpad.count("abc9.scriptfile")) {
+ abc9_script += stringf("source %s", design->scratchpad_get_string("abc9.scriptfile").c_str());
} else if (!lut_costs.empty() || !lut_file.empty()) {
//bool all_luts_cost_same = true;
//for (int this_cost : lut_costs)