Give l-value nets their proper type.
L-value nets (i.e. in continuous assignments) that were words in arrays need to have the data type of their parent array.
This commit is contained in:
parent
d3f17f27c1
commit
4919b70da6
|
|
@ -451,6 +451,7 @@ NetNet* PEIdent::elaborate_lnet_common_(Design*des, NetScope*scope,
|
||||||
sig->type(), sig->vector_width());
|
sig->type(), sig->vector_width());
|
||||||
tmp->set_line(*this);
|
tmp->set_line(*this);
|
||||||
tmp->local_flag(true);
|
tmp->local_flag(true);
|
||||||
|
tmp->data_type( sig->data_type() );
|
||||||
connect(sig->pin(widx), tmp->pin(0));
|
connect(sig->pin(widx), tmp->pin(0));
|
||||||
sig = tmp;
|
sig = tmp;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue