A queue or darray can be assign from a queue or darray.
This commit is contained in:
parent
2f317065aa
commit
761dc35e0b
|
|
@ -1017,6 +1017,11 @@ NetExpr* elab_and_eval(Design*des, NetScope*scope, PExpr*pe,
|
||||||
switch (cast_type) {
|
switch (cast_type) {
|
||||||
case IVL_VT_DARRAY:
|
case IVL_VT_DARRAY:
|
||||||
case IVL_VT_QUEUE:
|
case IVL_VT_QUEUE:
|
||||||
|
if (NetESignal*net = dynamic_cast<NetESignal*>(tmp)) {
|
||||||
|
ivl_variable_type_t type = net->expr_type();
|
||||||
|
if ((type == IVL_VT_DARRAY) || (type == IVL_VT_QUEUE))
|
||||||
|
return tmp;
|
||||||
|
}
|
||||||
if (dynamic_cast<PEAssignPattern*>(pe))
|
if (dynamic_cast<PEAssignPattern*>(pe))
|
||||||
return tmp;
|
return tmp;
|
||||||
// fall through
|
// fall through
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue