We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 677bf21 + 261a0ae commit 725a1c3Copy full SHA for 725a1c3
kernel/rtlil.h
@@ -1726,6 +1726,8 @@ struct RTLIL::SigSpec
1726
operator std::vector<RTLIL::SigChunk>() const;
1727
operator std::vector<RTLIL::SigBit>() const { return to_sigbit_vector(); }
1728
const RTLIL::SigBit &at(int offset, const RTLIL::SigBit &defval) { return offset < size() ? (*this)[offset] : defval; }
1729
+ RTLIL::SigBit& at(int offset) { return (*this)[offset]; }
1730
+ RTLIL::SigBit at(int offset) const { return (*this)[offset]; }
1731
1732
[[nodiscard]] Hasher hash_into(Hasher h) const {
1733
Hasher::hash_t val;
0 commit comments