From c55eb8f8a6c83514c5d46c6992c6c6fa1069a889 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 7 Aug 2014 16:42:35 +0200 Subject: [PATCH] Use "-keepdc" in "miter -equiv -flatten" --- passes/sat/miter.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/passes/sat/miter.cc b/passes/sat/miter.cc index e51c92f9f..b3adefb92 100644 --- a/passes/sat/miter.cc +++ b/passes/sat/miter.cc @@ -251,7 +251,7 @@ static void create_miter_equiv(struct Pass *that, std::vector args, if (flag_flatten) { log_push(); - Pass::call_on_module(design, miter_module, "flatten; opt_const -undriven;;"); + Pass::call_on_module(design, miter_module, "flatten; opt_const -keepdc -undriven;;"); log_pop(); } } @@ -285,7 +285,7 @@ struct MiterPass : public Pass { log(" also create an 'assert' cell that checks if trigger is always low.\n"); log("\n"); log(" -flatten\n"); - log(" call 'flatten; opt_const -undriven;;' on the miter circuit.\n"); + log(" call 'flatten; opt_const -keepdc -undriven;;' on the miter circuit.\n"); log("\n"); } virtual void execute(std::vector args, RTLIL::Design *design) -- 2.30.2