diff --git a/tgt-vhdl/scope.cc b/tgt-vhdl/scope.cc index baf47162c..87de6052c 100644 --- a/tgt-vhdl/scope.cc +++ b/tgt-vhdl/scope.cc @@ -178,7 +178,7 @@ static vhdl_entity *create_entity_for(ivl_scope_t scope) // so we always create a pair and associate the architecture // with the entity for convenience (this also means that we // retain a 1-to-1 mapping of scope to VHDL element) - vhdl_arch *arch = new vhdl_arch(tname); + vhdl_arch *arch = new vhdl_arch(tname, "FromVerilog"); vhdl_entity *ent = new vhdl_entity(tname, derived_from, arch); // Locate all the signals in this module and add them to diff --git a/tgt-vhdl/vhdl_syntax.hh b/tgt-vhdl/vhdl_syntax.hh index eb89751b9..f6a2db031 100644 --- a/tgt-vhdl/vhdl_syntax.hh +++ b/tgt-vhdl/vhdl_syntax.hh @@ -405,7 +405,7 @@ private: class vhdl_arch : public vhdl_element { friend class vhdl_entity; // Can set its parent public: - vhdl_arch(const char *entity, const char *name="Behavioural"); + vhdl_arch(const char *entity, const char *name); virtual ~vhdl_arch(); void emit(std::ofstream &of, int level=0) const;