Pass file/line information for part selects.
Propagate the file and line information for a part select expression and LPM (continuous assign).
This commit is contained in:
parent
ecb00017cb
commit
06997c63ed
|
|
@ -351,6 +351,7 @@ void dll_target::expr_select(const NetESelect*net)
|
||||||
|
|
||||||
expr_ = (ivl_expr_t)calloc(1, sizeof(struct ivl_expr_s));
|
expr_ = (ivl_expr_t)calloc(1, sizeof(struct ivl_expr_s));
|
||||||
assert(expr_);
|
assert(expr_);
|
||||||
|
FILE_NAME(expr_, net);
|
||||||
|
|
||||||
expr_->type_ = IVL_EX_SELECT;
|
expr_->type_ = IVL_EX_SELECT;
|
||||||
expr_->value_= IVL_VT_VECTOR;
|
expr_->value_= IVL_VT_VECTOR;
|
||||||
|
|
|
||||||
1
t-dll.cc
1
t-dll.cc
|
|
@ -2147,6 +2147,7 @@ bool dll_target::part_select(const NetPartSelect*net)
|
||||||
obj->type = IVL_LPM_PART_PV;
|
obj->type = IVL_LPM_PART_PV;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
FILE_NAME(obj, net);
|
||||||
obj->name = net->name(); // NetPartSelect names are permallocated.
|
obj->name = net->name(); // NetPartSelect names are permallocated.
|
||||||
assert(net->scope());
|
assert(net->scope());
|
||||||
obj->scope = find_scope(des_, net->scope());
|
obj->scope = find_scope(des_, net->scope());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue