mirror of https://github.com/YosysHQ/yosys.git
improvement in "stat"
This commit is contained in:
parent
a1c3df7fe4
commit
6af8076967
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue