1
0
mirror of synced 2026-02-04 16:03:04 +00:00

Added automatic conversion from RTLIL::SigSpec to std::vector<RTLIL::SigBit>

This commit is contained in:
Clifford Wolf
2014-07-18 11:36:34 +02:00
parent 309ae98246
commit a721f7d768

View File

@@ -542,6 +542,7 @@ struct RTLIL::SigSpec {
static bool parse(RTLIL::SigSpec &sig, RTLIL::Module *module, std::string str);
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(); }
};
inline RTLIL::SigBit::SigBit(const RTLIL::SigSpec &sig) {