diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-07-23 15:36:09 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-07-23 15:36:09 +0200 |
commit | 4e802eb7f6fe5858f8657be7cd3e6638cc0f2ece (patch) | |
tree | 917ce7eece77475cfc632f3d41f5fb8aadef64d2 /kernel | |
parent | 85db102e13bbd6decda3f99ef640d0991ee24b33 (diff) | |
download | yosys-4e802eb7f6fe5858f8657be7cd3e6638cc0f2ece.tar.gz yosys-4e802eb7f6fe5858f8657be7cd3e6638cc0f2ece.tar.bz2 yosys-4e802eb7f6fe5858f8657be7cd3e6638cc0f2ece.zip |
Fixed all users of SigSpec::chunks_rw() and removed it
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rtlil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 80007ab8c..e1c5b1a6b 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -533,7 +533,6 @@ public: SigSpec(std::vector<RTLIL::SigBit> bits); SigSpec(std::set<RTLIL::SigBit> bits); - inline std::vector<RTLIL::SigChunk> &chunks_rw() { pack(); return chunks_; } inline const std::vector<RTLIL::SigChunk> &chunks() const { pack(); return chunks_; } inline const std::vector<RTLIL::SigBit> &bits() const { inline_unpack(); return bits_; } @@ -597,7 +596,8 @@ public: static bool parse_sel(RTLIL::SigSpec &sig, RTLIL::Design *design, RTLIL::Module *module, std::string str); static bool parse_rhs(const RTLIL::SigSpec &lhs, RTLIL::SigSpec &sig, RTLIL::Module *module, std::string str); - operator std::vector<RTLIL::SigBit>() const { return to_sigbit_vector(); } + operator std::vector<RTLIL::SigChunk>() const { return chunks(); } + operator std::vector<RTLIL::SigBit>() const { return bits(); } void check() const; }; |