aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/yosys.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-08-01 16:53:15 +0200
committerClifford Wolf <clifford@clifford.at>2014-08-01 17:14:32 +0200
commitd13eb7e0999def2da03eb6ddef805145f7fd9c9a (patch)
treed7634c448a42722357b474926056c10797f1546d /kernel/yosys.cc
parent97a17d39e2f0088e02ed8496d905528722115674 (diff)
downloadyosys-d13eb7e0999def2da03eb6ddef805145f7fd9c9a.tar.gz
yosys-d13eb7e0999def2da03eb6ddef805145f7fd9c9a.tar.bz2
yosys-d13eb7e0999def2da03eb6ddef805145f7fd9c9a.zip
Added ModIndex helper class, some changes to RTLIL::Monitor
Diffstat (limited to 'kernel/yosys.cc')
-rw-r--r--kernel/yosys.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc
index 34800ce8e..671945631 100644
--- a/kernel/yosys.cc
+++ b/kernel/yosys.cc
@@ -53,6 +53,11 @@ std::string stringf(const char *fmt, ...)
return string;
}
+int SIZE(RTLIL::Wire *wire)
+{
+ return wire->width;
+}
+
void yosys_setup()
{
Pass::init_register();