mirror of https://github.com/YosysHQ/yosys.git
synth_ice40: always read abc9 model to understand port direction
This commit is contained in:
parent
4c90e26298
commit
621bb778f5
|
|
@ -379,6 +379,7 @@ struct SynthIce40Pass : public ScriptPass
|
|||
run("techmap");
|
||||
else {
|
||||
run("ice40_wrapcarry");
|
||||
run("read_verilog " + define + " -icells -lib -specify +/ice40/abc9_model.v");
|
||||
run("techmap -map +/techmap.v -map +/ice40/arith_map.v");
|
||||
}
|
||||
run("opt -fast");
|
||||
|
|
@ -415,7 +416,6 @@ struct SynthIce40Pass : public ScriptPass
|
|||
}
|
||||
if (!noabc) {
|
||||
if (abc9) {
|
||||
run("read_verilog " + define + " -icells -lib -specify +/ice40/abc9_model.v");
|
||||
std::string abc9_opts;
|
||||
std::string k = "synth_ice40.abc9.W";
|
||||
if (active_design && active_design->scratchpad.count(k))
|
||||
|
|
|
|||
Loading…
Reference in New Issue