Use ivl_scope_def_* for definition file/line numbers

This commit is contained in:
Nick Gasson 2008-08-03 14:34:41 +01:00
parent 0e2628a3fb
commit c2f622327f
1 changed files with 2 additions and 2 deletions

View File

@ -572,8 +572,8 @@ static void create_skeleton_entity_for(ivl_scope_t scope)
// Build a comment to add to the entity/architecture
ostringstream ss;
ss << "Generated from Verilog module " << ivl_scope_tname(scope)
<< " (" << ivl_scope_file(scope) << ":"
<< ivl_scope_lineno(scope) << ")";
<< " (" << ivl_scope_def_file(scope) << ":"
<< ivl_scope_def_lineno(scope) << ")";
arch->set_comment(ss.str());
ent->set_comment(ss.str());