From 950dde30817af8191a2e763126b2c15bdfb403a4 Mon Sep 17 00:00:00 2001 From: TaoBi22 Date: Tue, 27 Sep 2022 16:31:57 +0100 Subject: Remove flattening from FABulous pass --- techlibs/fabulous/synth_fabulous.cc | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/techlibs/fabulous/synth_fabulous.cc b/techlibs/fabulous/synth_fabulous.cc index 1b693ab5c..bd373c410 100644 --- a/techlibs/fabulous/synth_fabulous.cc +++ b/techlibs/fabulous/synth_fabulous.cc @@ -44,10 +44,6 @@ struct SynthPass : public ScriptPass log(" -auto-top\n"); log(" automatically determine the top of the design hierarchy\n"); log("\n"); - log(" -flatten\n"); - log(" flatten the design before synthesis. this will pass '-auto-top' to\n"); - log(" 'hierarchy' if no top module is specified.\n"); - log("\n"); log(" -lut \n"); log(" perform synthesis for a k-LUT architecture (default 4).\n"); log("\n"); @@ -63,14 +59,13 @@ struct SynthPass : public ScriptPass } string top_module; - bool autotop, flatten, forvpr; + bool autotop, forvpr; int lut; void clear_flags() override { top_module.clear(); autotop = false; - flatten = false; lut = 4; forvpr = false; } @@ -107,10 +102,6 @@ struct SynthPass : public ScriptPass autotop = true; continue; } - if (args[argidx] == "-flatten") { - flatten = true; - continue; - } if (args[argidx] == "-lut") { lut = atoi(args[++argidx].c_str()); continue; @@ -133,7 +124,7 @@ struct SynthPass : public ScriptPass void script() override { if (top_module.empty()) { - if (flatten || autotop) + if (autotop) run("hierarchy -check -auto-top"); else run("hierarchy -check"); -- cgit v1.2.3