From 76fa5274927e8f960060938e10a042d85268a6ac Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 21 Dec 2014 16:52:05 +0100 Subject: Added support for multiple clock domains to "abc" pass --- kernel/rtlil.h | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel') diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 19996c8fc..efb8e833a 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -1017,6 +1017,7 @@ public: inline const std::vector &bits() const { inline_unpack(); return bits_; } inline int size() const { return width_; } + inline bool empty() const { return width_ == 0; } inline RTLIL::SigBit &operator[](int index) { inline_unpack(); return bits_.at(index); } inline const RTLIL::SigBit &operator[](int index) const { inline_unpack(); return bits_.at(index); } -- cgit v1.2.3