mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-22 08:35:32 +00:00
Reduce pass verbosity
This commit is contained in:
parent
33c72b0f25
commit
ef9645990e
3 changed files with 5 additions and 5 deletions
|
@ -131,7 +131,7 @@ struct SplitcellsWorker
|
|||
if (slice->hasParam(ID::WIDTH))
|
||||
slice->setParam(ID::WIDTH, GetSize(slice->getPort(ID::Y)));
|
||||
|
||||
log(" slice %d: %s => %s\n", i, log_id(slice_name), log_signal(slice->getPort(ID::Y)));
|
||||
log_debug(" slice %d: %s => %s\n", i, log_id(slice_name), log_signal(slice->getPort(ID::Y)));
|
||||
}
|
||||
|
||||
module->remove(cell);
|
||||
|
@ -194,7 +194,7 @@ struct SplitcellsWorker
|
|||
|
||||
slice->setParam(ID::WIDTH, GetSize(slice->getPort(ID::Q)));
|
||||
|
||||
log(" slice %d: %s => %s\n", i, log_id(slice_name), log_signal(slice->getPort(ID::Q)));
|
||||
log_debug(" slice %d: %s => %s\n", i, log_id(slice_name), log_signal(slice->getPort(ID::Q)));
|
||||
}
|
||||
|
||||
module->remove(cell);
|
||||
|
|
|
@ -189,7 +189,7 @@ struct MuxpackWorker
|
|||
{
|
||||
for (auto cell : candidate_cells)
|
||||
{
|
||||
log("Considering %s (%s)\n", log_id(cell), log_id(cell->type));
|
||||
log_debug("Considering %s (%s)\n", log_id(cell), log_id(cell->type));
|
||||
|
||||
SigSpec a_sig = sigmap(cell->getPort(ID::A));
|
||||
if (cell->type == ID($mux)) {
|
||||
|
|
|
@ -156,7 +156,7 @@ struct ExtractReducePass : public Pass
|
|||
else
|
||||
continue;
|
||||
|
||||
log("Working on cell %s...\n", cell->name.c_str());
|
||||
log_debug("Working on cell %s...\n", cell->name.c_str());
|
||||
|
||||
// If looking for a single chain, follow linearly to the sink
|
||||
pool<Cell*> sinks;
|
||||
|
@ -243,7 +243,7 @@ struct ExtractReducePass : public Pass
|
|||
//We have our list, go act on it
|
||||
for(auto head_cell : sinks)
|
||||
{
|
||||
log(" Head cell is %s\n", head_cell->name.c_str());
|
||||
log_debug(" Head cell is %s\n", head_cell->name.c_str());
|
||||
|
||||
//Avoid duplication if we already were covered
|
||||
if(consumed_cells.count(head_cell))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue