Change format of line file/line numbers
This commit is contained in:
parent
1cd13ecdbd
commit
5d0df8d880
|
|
@ -69,7 +69,7 @@ static int generate_vhdl_process(vhdl_entity *ent, ivl_process_t proc)
|
||||||
std::ostringstream ss;
|
std::ostringstream ss;
|
||||||
ss << "Generated from " << type << " process in "
|
ss << "Generated from " << type << " process in "
|
||||||
<< ivl_scope_tname(scope) << " ("
|
<< ivl_scope_tname(scope) << " ("
|
||||||
<< ivl_scope_file(scope) << " line "
|
<< ivl_scope_file(scope) << ":"
|
||||||
<< ivl_scope_lineno(scope) << ")";
|
<< ivl_scope_lineno(scope) << ")";
|
||||||
vhdl_proc->set_comment(ss.str());
|
vhdl_proc->set_comment(ss.str());
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -557,7 +557,7 @@ static void create_skeleton_entity_for(ivl_scope_t scope)
|
||||||
// Build a comment to add to the entity/architecture
|
// Build a comment to add to the entity/architecture
|
||||||
ostringstream ss;
|
ostringstream ss;
|
||||||
ss << "Generated from Verilog module " << ivl_scope_tname(scope)
|
ss << "Generated from Verilog module " << ivl_scope_tname(scope)
|
||||||
<< " (" << ivl_scope_file(scope) << " line "
|
<< " (" << ivl_scope_file(scope) << ":"
|
||||||
<< ivl_scope_lineno(scope) << ")";
|
<< ivl_scope_lineno(scope) << ")";
|
||||||
|
|
||||||
arch->set_comment(ss.str());
|
arch->set_comment(ss.str());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue