From bd2c8ec886cc34eac22493620de74b86b7f3628d Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 27 Oct 2013 09:30:58 +0100 Subject: [PATCH] Added design->full_selection() helper method --- kernel/rtlil.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 9fae954c1..6cb471b58 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); } -- 2.30.2