diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 9fae954c..6cb471b5 100644 --- 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 bool selected(T1 *module) const { return selected_module(module->name); }