From 06997c63edabb897af38079989825ae094858d6a Mon Sep 17 00:00:00 2001 From: Cary R Date: Tue, 25 Aug 2009 10:37:42 -0700 Subject: [PATCH] Pass file/line information for part selects. Propagate the file and line information for a part select expression and LPM (continuous assign). --- t-dll-expr.cc | 1 + t-dll.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/t-dll-expr.cc b/t-dll-expr.cc index 128830a44..e4dcbf289 100644 --- a/t-dll-expr.cc +++ b/t-dll-expr.cc @@ -351,6 +351,7 @@ void dll_target::expr_select(const NetESelect*net) expr_ = (ivl_expr_t)calloc(1, sizeof(struct ivl_expr_s)); assert(expr_); + FILE_NAME(expr_, net); expr_->type_ = IVL_EX_SELECT; expr_->value_= IVL_VT_VECTOR; diff --git a/t-dll.cc b/t-dll.cc index 1e9a28602..45d7851d7 100644 --- a/t-dll.cc +++ b/t-dll.cc @@ -2147,6 +2147,7 @@ bool dll_target::part_select(const NetPartSelect*net) obj->type = IVL_LPM_PART_PV; break; } + FILE_NAME(obj, net); obj->name = net->name(); // NetPartSelect names are permallocated. assert(net->scope()); obj->scope = find_scope(des_, net->scope());