Change architecture name to `FromVerilog'

This commit is contained in:
Nick Gasson 2008-06-11 11:31:43 +01:00
parent 5a7cfd8c02
commit 26a2c69c2e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;