3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-22 08:35:32 +00:00

Display resource sharing count

This commit is contained in:
Akash Levy 2024-08-06 02:27:09 -07:00
parent 36fb6e08c1
commit 68b3ad4bd3

View file

@ -2999,7 +2999,8 @@ std::string verific_import(Design *design, const std::map<std::string,std::strin
nl->OperatorOptimization(1, 1);
log(" Performing resource sharing for %s.\n", it->first.c_str());
nl->ResourceSharing();
result = nl->ResourceSharing();
log(" Shared %d resources.\n", result);
log(" Performing final resource merging for %s.\n", it->first.c_str());
nl->OptimizeSameInputSubstractorComparator();