Add correct file/line information to signals
This patch adds a FILE_NAME function for signals to extract the file/line information from the net's LineInfo, replacing the dummy values.
This commit is contained in:
parent
79e1273814
commit
6527262348
3
t-dll.cc
3
t-dll.cc
|
|
@ -2374,8 +2374,7 @@ void dll_target::signal(const NetNet*net)
|
|||
object, or creating the sigs_ array if this is the first
|
||||
signal. */
|
||||
obj->scope_ = find_scope(des_, net->scope());
|
||||
obj->file = perm_string::literal("N/A");
|
||||
obj->lineno = 0;
|
||||
FILE_NAME(obj, net);
|
||||
assert(obj->scope_);
|
||||
|
||||
if (obj->scope_->nsigs_ == 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue