From: Clifford Wolf Date: Sat, 24 Oct 2015 19:56:53 +0000 (+0200) Subject: improvement in "stat" X-Git-Tag: yosys-0.6~90 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6af80769678f260aa4aeaf3b12b54dfdc15fa5dd;p=yosys.git improvement in "stat" --- diff --git a/passes/cmds/stat.cc b/passes/cmds/stat.cc index 0aa76467f..ed4a04064 100644 --- a/passes/cmds/stat.cc +++ b/passes/cmds/stat.cc @@ -223,7 +223,7 @@ struct StatPass : public Pass { data.log_data(); } - if (top_mod != NULL) + if (top_mod != NULL && GetSize(mod_stat) > 1) { log("\n"); log("=== design hierarchy ===\n");