summaryrefslogtreecommitdiff
path: root/backends/edif/edif.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-10-10 16:59:44 +0200
committerClifford Wolf <clifford@clifford.at>2014-10-10 17:07:24 +0200
commit4569a747f8af3880e23408eb93323afc8088b78b (patch)
tree81dcea51020173cd4951e8649f8bd8305e7c2591 /backends/edif/edif.cc
parentc7f5aab625bb90e766c1852592fdf42c951716c0 (diff)
Renamed SIZE() to GetSize() because of name collision on Win32
Diffstat (limited to 'backends/edif/edif.cc')
-rw-r--r--backends/edif/edif.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/edif/edif.cc b/backends/edif/edif.cc
index 7f29cd41..15b562ca 100644
--- a/backends/edif/edif.cc
+++ b/backends/edif/edif.cc
@@ -308,7 +308,7 @@ struct EdifBackend : public Backend {
*f << stringf(")\n");
for (auto &p : cell->connections()) {
RTLIL::SigSpec sig = sigmap(p.second);
- for (int i = 0; i < SIZE(sig); i++)
+ for (int i = 0; i < GetSize(sig); i++)
if (sig.size() == 1)
net_join_db[sig[i]].insert(stringf("(portRef %s (instanceRef %s))", EDIF_REF(p.first), EDIF_REF(cell->name)));
else