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:
parent
97a17d39e2
commit
d13eb7e099
9 changed files with 170 additions and 30 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue