Move muxpack from passes/techmap to passes/opt
[yosys.git] / kernel / rtlil.h
index 81ca93dce4d1848065e73f41627076a9fb2d73ae..8509670ff4b2580361c8cb3a01555a718a01e441 100644 (file)
@@ -601,6 +601,7 @@ struct RTLIL::SigChunk
        RTLIL::SigChunk &operator =(const RTLIL::SigChunk &other) = default;
 
        RTLIL::SigChunk extract(int offset, int length) const;
+       inline int size() const { return width; }
 
        bool operator <(const RTLIL::SigChunk &other) const;
        bool operator ==(const RTLIL::SigChunk &other) const;