diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-10-24 21:56:53 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-10-24 21:56:53 +0200 |
commit | 6af80769678f260aa4aeaf3b12b54dfdc15fa5dd (patch) | |
tree | 19f5d4af98c1a0bab7fd2d7650508d422f37bcd7 /passes | |
parent | a1c3df7fe405a9e560d9aad9d10324af3ce6a4e5 (diff) | |
download | yosys-6af80769678f260aa4aeaf3b12b54dfdc15fa5dd.tar.gz yosys-6af80769678f260aa4aeaf3b12b54dfdc15fa5dd.tar.bz2 yosys-6af80769678f260aa4aeaf3b12b54dfdc15fa5dd.zip |
improvement in "stat"
Diffstat (limited to 'passes')
-rw-r--r-- | passes/cmds/stat.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |