mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-23 11:37:55 +00:00
formatting and remove debug statements
This commit is contained in:
parent
a0dde68487
commit
2a97987cf2
1 changed files with 4 additions and 5 deletions
|
@ -22,9 +22,9 @@
|
||||||
#include "kernel/celltypes.h"
|
#include "kernel/celltypes.h"
|
||||||
#include "kernel/cost.h"
|
#include "kernel/cost.h"
|
||||||
#include "kernel/gzip.h"
|
#include "kernel/gzip.h"
|
||||||
|
#include "kernel/log_help.h"
|
||||||
#include "kernel/yosys.h"
|
#include "kernel/yosys.h"
|
||||||
#include "libs/json11/json11.hpp"
|
#include "libs/json11/json11.hpp"
|
||||||
#include "kernel/log_help.h"
|
|
||||||
#include "passes/techmap/libparse.h"
|
#include "passes/techmap/libparse.h"
|
||||||
#include <charconv>
|
#include <charconv>
|
||||||
|
|
||||||
|
@ -667,8 +667,9 @@ void read_liberty_cellarea(dict<IdString, cell_area_t> &cell_area, string libert
|
||||||
}
|
}
|
||||||
|
|
||||||
struct StatPass : public Pass {
|
struct StatPass : public Pass {
|
||||||
StatPass() : Pass("stat", "print some statistics") { }
|
StatPass() : Pass("stat", "print some statistics") {}
|
||||||
bool formatted_help() override {
|
bool formatted_help() override
|
||||||
|
{
|
||||||
auto *help = PrettyHelp::get_current();
|
auto *help = PrettyHelp::get_current();
|
||||||
help->set_group("passes/status");
|
help->set_group("passes/status");
|
||||||
return false;
|
return false;
|
||||||
|
@ -765,7 +766,6 @@ struct StatPass : public Pass {
|
||||||
log(" \"modules\": {\n");
|
log(" \"modules\": {\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("building cell area\n");
|
|
||||||
if (top_mod != nullptr) {
|
if (top_mod != nullptr) {
|
||||||
hierarchy_builder(design, top_mod, mod_stat, width_mode, cell_area, techname);
|
hierarchy_builder(design, top_mod, mod_stat, width_mode, cell_area, techname);
|
||||||
} else {
|
} else {
|
||||||
|
@ -776,7 +776,6 @@ struct StatPass : public Pass {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("built hierarchy\n");
|
|
||||||
bool first_module = true;
|
bool first_module = true;
|
||||||
// determine if anything has a area.
|
// determine if anything has a area.
|
||||||
bool has_area = false;
|
bool has_area = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue