Skip to content

Commit

Permalink
Merge pull request YosysHQ#3605 from gadfort/stat-json-area
Browse files Browse the repository at this point in the history
  • Loading branch information
nakengelhardt authored Jan 11, 2023
2 parents 2e3c08a + 7971154 commit 4173daa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions passes/cmds/stat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,9 @@ struct statdata_t
log(" \"num_memory_bits\": %u,\n", num_memory_bits);
log(" \"num_processes\": %u,\n", num_processes);
log(" \"num_cells\": %u,\n", num_cells);
if (area != 0) {
log(" \"area\": %f,\n", area);
}
log(" \"num_cells_by_type\": {\n");
bool first_line = true;
for (auto &it : num_cells_by_type)
Expand Down

0 comments on commit 4173daa

Please sign in to comment.