diff --git a/tgt-vhdl/process.cc b/tgt-vhdl/process.cc index f0945b86a..2ce594aac 100644 --- a/tgt-vhdl/process.cc +++ b/tgt-vhdl/process.cc @@ -79,13 +79,8 @@ int draw_process(ivl_process_t proc, void *cd) // from this Verilog process. This ensures that each process // is translated at most once, no matter how many times it // appears in the hierarchy. - if (ent->get_derived_from() == scope_name) { - std::cout << "New process encountered in " << scope_name << std::endl; + if (ent->get_derived_from() == scope_name) return generate_vhdl_process(ent, proc); - } - else { - std::cout << "Ignoring already seen process in "; - std::cout << scope_name << std::endl; + else return 0; - } } diff --git a/tgt-vhdl/scope.cc b/tgt-vhdl/scope.cc index 521f2e5a7..40aefcc3d 100644 --- a/tgt-vhdl/scope.cc +++ b/tgt-vhdl/scope.cc @@ -52,9 +52,6 @@ static vhdl_entity *create_entity_for(ivl_scope_t scope) arch->set_comment(ss.str()); ent->set_comment(ss.str()); - - std::cout << "Generated entity " << tname; - std::cout << " from " << ivl_scope_name(scope) << std::endl; remember_entity(ent); return ent; @@ -99,8 +96,7 @@ static int draw_module(ivl_scope_t scope, ivl_scope_t parent) parent_arch->add_stmt(inst); } else { - std::cout << "Ignoring instantiation " << ivl_scope_name(scope); - std::cout << " (already accounted for)" << std::endl; + // Ignore this instantiation (already accounted for) } } @@ -111,11 +107,6 @@ int draw_scope(ivl_scope_t scope, void *_parent) { ivl_scope_t parent = static_cast(_parent); - const char *name = ivl_scope_name(scope); - const char *basename = ivl_scope_basename(scope); - - std::cout << "scope " << name << " (" << basename << ")" << std::endl; - ivl_scope_type_t type = ivl_scope_type(scope); int rc = 0; switch (type) { diff --git a/tgt-vhdl/stmt.cc b/tgt-vhdl/stmt.cc index e70de2784..48e624c7b 100644 --- a/tgt-vhdl/stmt.cc +++ b/tgt-vhdl/stmt.cc @@ -94,8 +94,6 @@ static int draw_stask_display(vhdl_process *proc, ivl_statement_t stmt) static int draw_stask(vhdl_process *proc, ivl_statement_t stmt) { const char *name = ivl_stmt_name(stmt); - - std::cout << "IVL_ST_STASK " << name << std::endl; if (strcmp(name, "$display") == 0) return draw_stask_display(proc, stmt);