projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90b0167
)
Added design->full_selection() helper method
author
Clifford Wolf
<clifford@clifford.at>
Sun, 27 Oct 2013 08:30:58 +0000
(09:30 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sun, 27 Oct 2013 08:30:58 +0000
(09:30 +0100)
kernel/rtlil.h
patch
|
blob
|
history
diff --git
a/kernel/rtlil.h
b/kernel/rtlil.h
index 9fae954c1e1e1ef39a5d3db0520144f050325322..6cb471b586f244166d4350b92cdb5feb507a7002 100644
(file)
--- a/
kernel/rtlil.h
+++ b/
kernel/rtlil.h
@@
-219,6
+219,9
@@
struct RTLIL::Design {
bool selected_module(RTLIL::IdString mod_name) const;
bool selected_whole_module(RTLIL::IdString mod_name) const;
bool selected_member(RTLIL::IdString mod_name, RTLIL::IdString memb_name) const;
+ bool full_selection() const {
+ return selection_stack.back().full_selection;
+ }
template<typename T1> bool selected(T1 *module) const {
return selected_module(module->name);
}