diff options
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r-- | kernel/rtlil.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 7249f0cad..6eb52cf2d 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -340,6 +340,7 @@ struct RTLIL::Selection struct RTLIL::Design { + int refcount_modules_; std::map<RTLIL::IdString, RTLIL::Module*> modules_; std::vector<RTLIL::Selection> selection_stack; @@ -348,6 +349,8 @@ struct RTLIL::Design ~Design(); + RTLIL::ObjRange<RTLIL::Module*> modules() { return RTLIL::ObjRange<RTLIL::Module*>(&modules_, &refcount_modules_); } + void check(); void optimize(); |