3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

Added select -assert-none and -assert-any

This commit is contained in:
Clifford Wolf 2014-01-17 16:34:50 +01:00
parent f3154f5694
commit 651ce67d97
2 changed files with 47 additions and 7 deletions

View file

@ -227,6 +227,9 @@ struct RTLIL::Selection {
if (!full_selection && selected_modules.count(module->name) == 0)
selected_members[module->name].insert(member->name);
}
bool empty() const {
return !full_selection && selected_modules.empty() && selected_members.empty();
}
};
struct RTLIL::Design {