Handle DARRAYs of real variables

This involves working out the code to get the base type of a select
expression of a darray. Also added the runtime support for darrays
with real value elements.
This commit is contained in:
Stephen Williams
2012-10-14 17:16:47 -07:00
parent 1326f9aef1
commit d6efece5dd
18 changed files with 226 additions and 20 deletions
+1 -1
View File
@@ -383,7 +383,7 @@ void dll_target::expr_select(const NetESelect*net)
expr_ = (ivl_expr_t)calloc(1, sizeof(struct ivl_expr_s));
expr_->type_ = IVL_EX_SELECT;
expr_->value_= IVL_VT_VECTOR;
expr_->value_= net->expr_type();
expr_->net_type=0;
expr_->width_= net->expr_width();
expr_->signed_ = net->has_sign()? 1 : 0;