3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 17:15:33 +00:00

Some cleanups in "clean"

This commit is contained in:
Clifford Wolf 2015-02-24 22:31:30 +01:00
parent 81fa4e81a6
commit 9ae21263f0
3 changed files with 26 additions and 7 deletions

View file

@ -807,6 +807,14 @@ struct RTLIL::Design
bool selected_module(RTLIL::Module *mod) const;
bool selected_whole_module(RTLIL::Module *mod) const;
RTLIL::Selection &selection() {
return selection_stack.back();
}
const RTLIL::Selection &selection() const {
return selection_stack.back();
}
bool full_selection() const {
return selection_stack.back().full_selection;
}