3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 14:13:23 +00:00

Small changes regarding cover() and check() in SigSpec

This commit is contained in:
Clifford Wolf 2014-07-24 04:46:36 +02:00
parent 3a2c535777
commit 22ede43b3f
2 changed files with 9 additions and 10 deletions

View file

@ -599,7 +599,11 @@ public:
operator std::vector<RTLIL::SigChunk>() const { return chunks(); }
operator std::vector<RTLIL::SigBit>() const { return bits(); }
#ifndef NDEBUG
void check() const;
#else
inline void check() const { }
#endif
};
inline RTLIL::SigBit &RTLIL::SigSpecIterator::operator*() const {