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:
parent
774933a0d8
commit
ee5165c6e4
6 changed files with 65 additions and 95 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue