Add a net node for casting to IVL_VT_BOOL values.

BOOL values have a specific cast from LOGIC, this node takes care
of it. Also arrange for the elaboration to insert them in the right
planes and for the code generator to generate them.
This commit is contained in:
Stephen Williams
2010-10-16 10:53:20 -07:00
parent bad1512cb0
commit 9c634e1640
24 changed files with 215 additions and 69 deletions
+1 -1
View File
@@ -993,7 +993,7 @@ NetNet* NetECast::synthesize(Design*des, NetScope*scope, NetExpr*root)
switch (op()) {
case 'i':
isig = cast_to_int(des, scope, isig, isig->vector_width());
isig = cast_to_int4(des, scope, isig, isig->vector_width());
break;
case 'r':
isig = cast_to_real(des, scope, isig);