3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-11 19:53:35 +00:00

qlf_k6n10f: add -mince 10 (en signal is shared between 20 FFs on this architecture)

This commit is contained in:
N. Engelhardt 2025-01-27 10:56:37 +01:00
parent 3d35f367cf
commit 653b5bda40

View file

@ -294,6 +294,7 @@ struct SynthQuickLogicPass : public ScriptPass {
// FIXME: Apparently dfflegalize leaves around $_DLATCH_[NP]_ even if
// not in the allowed set. As a workaround we put them in the allowed
// set explicitly and map them later to $_DLATCHSR_[NP]NN_.
run("dfflegalize -mince 10 -cell $_DFFSRE_?NNP_ 0 -cell $_DFFSR_?NN_ 0 -cell $_DLATCHSR_?NN_ 0 -cell $_DLATCH_?_ 0 -cell $_SDFFE_?N?P_ 0 -cell $_SDFF_?N?_ 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");
}