From 89f009d17187690fe0446fd95a1f623516a33f3d Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 15 Mar 2013 10:22:23 +0100 Subject: Added additional functionality and cleanups in sigtools.h and celltypes.h --- kernel/celltypes.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'kernel/celltypes.h') diff --git a/kernel/celltypes.h b/kernel/celltypes.h index 6273e926a..bf5ef4b38 100644 --- a/kernel/celltypes.h +++ b/kernel/celltypes.h @@ -29,6 +29,15 @@ struct CellTypes std::set cell_types; std::vector designs; + CellTypes() + { + } + + CellTypes(const RTLIL::Design *design) + { + setup(design); + } + void setup(const RTLIL::Design *design = NULL) { if (design) -- cgit v1.2.3