improvement in "stat"

This commit is contained in:
Clifford Wolf 2015-10-24 21:56:53 +02:00
parent a1c3df7fe4
commit 6af8076967
1 changed files with 1 additions and 1 deletions

View File

@ -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");