projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01cb02c
)
have 'select -count' save the count to scratchpad entry 'select.count'
author
N. Engelhardt
<nak@yosyshq.com>
Wed, 1 Jun 2022 12:38:28 +0000
(14:38 +0200)
committer
N. Engelhardt
<nak@yosyshq.com>
Wed, 1 Jun 2022 12:39:33 +0000
(14:39 +0200)
passes/cmds/select.cc
patch
|
blob
|
history
diff --git
a/passes/cmds/select.cc
b/passes/cmds/select.cc
index d609c8d0fef3accf7a6cc4814bdd50cc4341258f..b112b145c6a5d87d4f6754392bdadb478e6a597b 100644
(file)
--- a/
passes/cmds/select.cc
+++ b/
passes/cmds/select.cc
@@
-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