mirror of https://github.com/YosysHQ/yosys.git
have 'select -count' save the count to scratchpad entry 'select.count'
This commit is contained in:
parent
01cb02c81d
commit
a55c3db384
|
@ -1456,7 +1456,10 @@ struct SelectPass : public Pass {
|
|||
}
|
||||
}
|
||||
if (count_mode)
|
||||
{
|
||||
design->scratchpad_set_int("select.count", total_count);
|
||||
log("%d objects.\n", total_count);
|
||||
}
|
||||
if (f != nullptr)
|
||||
fclose(f);
|
||||
#undef LOG_OBJECT
|
||||
|
|
Loading…
Reference in New Issue