Fix SystemC arrayed bit vectors, bug886.

This commit is contained in:
Wilson Snyder
2015-02-25 21:09:55 -05:00
parent a89502be9f
commit 6ac672b4a3
8 changed files with 44 additions and 16 deletions
+1
View File
@@ -149,6 +149,7 @@ private:
if (!nodep->lvalue()
&& !nodep->backp()->castCCast()
&& nodep->backp()->castNodeMath()
&& !nodep->backp()->castArraySel()
&& nodep->backp()->width()
&& castSize(nodep) != castSize(nodep->varp())) {
// Cast vars to IData first, else below has upper bits wrongly set