3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-28 15:07:58 +00:00

Added RTLIL::SigSpec::to_single_sigbit()

This commit is contained in:
Clifford Wolf 2014-02-02 21:35:26 +01:00
parent 67b0ce2578
commit f9c4d33909
2 changed files with 10 additions and 0 deletions

View file

@ -409,6 +409,7 @@ struct RTLIL::SigSpec {
bool match(std::string pattern) const;
std::set<RTLIL::SigBit> to_sigbit_set() const;
std::vector<RTLIL::SigBit> to_sigbit_vector() const;
RTLIL::SigBit to_single_sigbit() const;
static bool parse(RTLIL::SigSpec &sig, RTLIL::Module *module, std::string str);
static bool parse_rhs(const RTLIL::SigSpec &lhs, RTLIL::SigSpec &sig, RTLIL::Module *module, std::string str);
};