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:
parent
81fa4e81a6
commit
9ae21263f0
3 changed files with 26 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue