3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-21 05:13:40 +00:00

Added ModIndex helper class, some changes to RTLIL::Monitor

This commit is contained in:
Clifford Wolf 2014-08-01 16:53:15 +02:00
parent 97a17d39e2
commit d13eb7e099
9 changed files with 170 additions and 30 deletions

View file

@ -61,8 +61,15 @@
YOSYS_NAMESPACE_BEGIN
namespace RTLIL {
struct SigSpec;
struct Wire;
struct Cell;
}
std::string stringf(const char *fmt, ...);
#define SIZE(__obj) int(__obj.size())
template<typename T> int SIZE(const T &obj) { return obj.size(); }
int SIZE(RTLIL::Wire *wire);
YOSYS_NAMESPACE_END