summaryrefslogtreecommitdiff
path: root/kernel/celltypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/celltypes.h')
-rw-r--r--kernel/celltypes.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/celltypes.h b/kernel/celltypes.h
index 6273e926..bf5ef4b3 100644
--- a/kernel/celltypes.h
+++ b/kernel/celltypes.h
@@ -29,6 +29,15 @@ struct CellTypes
std::set<std::string> cell_types;
std::vector<const RTLIL::Design*> designs;
+ CellTypes()
+ {
+ }
+
+ CellTypes(const RTLIL::Design *design)
+ {
+ setup(design);
+ }
+
void setup(const RTLIL::Design *design = NULL)
{
if (design)