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

Moved patmatch() to yosys.cc

This commit is contained in:
Clifford Wolf 2014-10-10 18:19:00 +02:00
parent 774933a0d8
commit ee5165c6e4
6 changed files with 65 additions and 95 deletions

View file

@ -84,6 +84,9 @@ namespace RTLIL {
std::string stringf(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
std::string vstringf(const char *fmt, va_list ap);
bool patmatch(const char *pattern, const char *string);
template<typename T> int GetSize(const T &obj) { return obj.size(); }
int GetSize(RTLIL::Wire *wire);