From 653b5bda40b8c9cbf4e4c44fd7963b7aa08c1c87 Mon Sep 17 00:00:00 2001 From: "N. Engelhardt" Date: Mon, 27 Jan 2025 10:56:37 +0100 Subject: [PATCH] qlf_k6n10f: add -mince 10 (en signal is shared between 20 FFs on this architecture) --- techlibs/quicklogic/synth_quicklogic.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/techlibs/quicklogic/synth_quicklogic.cc b/techlibs/quicklogic/synth_quicklogic.cc index 76ef44570..f2410c511 100644 --- a/techlibs/quicklogic/synth_quicklogic.cc +++ b/techlibs/quicklogic/synth_quicklogic.cc @@ -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"); }