mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 20:38:44 +00:00
synth_quicklogic: Fix missing FF mapping
This commit is contained in:
parent
532aca28ab
commit
dad85b5178
|
@ -282,6 +282,7 @@ struct SynthQuickLogicPass : public ScriptPass {
|
||||||
run("shregmap -minlen <min> -maxlen <max>", "(for qlf_k6n10f)");
|
run("shregmap -minlen <min> -maxlen <max>", "(for qlf_k6n10f)");
|
||||||
run("dfflegalize -cell <supported FF types>");
|
run("dfflegalize -cell <supported FF types>");
|
||||||
run("techmap -map " + lib_path + family + "/cells_map.v", "(for pp3)");
|
run("techmap -map " + lib_path + family + "/cells_map.v", "(for pp3)");
|
||||||
|
run("techmap -map " + lib_path + family + "/ffs_map.v", "(for ql_k6n10f)");
|
||||||
}
|
}
|
||||||
if (family == "pp3") {
|
if (family == "pp3") {
|
||||||
run("dfflegalize -cell $_DFFSRE_PPPP_ 0 -cell $_DLATCH_?_ x");
|
run("dfflegalize -cell $_DFFSRE_PPPP_ 0 -cell $_DLATCH_?_ x");
|
||||||
|
@ -293,6 +294,7 @@ struct SynthQuickLogicPass : public ScriptPass {
|
||||||
// not in the allowed set. As a workaround we put them in the allowed
|
// not in the allowed set. As a workaround we put them in the allowed
|
||||||
// set explicitly and map them later to $_DLATCHSR_[NP]NN_.
|
// set explicitly and map them later to $_DLATCHSR_[NP]NN_.
|
||||||
run("dfflegalize -cell $_DFFSRE_?NNP_ 0 -cell $_DLATCHSR_?NN_ 0 -cell $_DLATCH_?_ 0" " -cell $_SDFFE_?N?P_ 0");
|
run("dfflegalize -cell $_DFFSRE_?NNP_ 0 -cell $_DLATCHSR_?NN_ 0 -cell $_DLATCH_?_ 0" " -cell $_SDFFE_?N?P_ 0");
|
||||||
|
run("techmap -map " + lib_path + family + "/ffs_map.v");
|
||||||
}
|
}
|
||||||
run("opt");
|
run("opt");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue