vhdlpp: Moved dump_scope() to ScopeBase class.
This commit is contained in:
parent
40075e11ab
commit
23633c498f
|
|
@ -101,7 +101,7 @@ void ComponentBase::dump_ports(ostream&out, int indent) const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Scope::dump_scope(ostream&out) const
|
void ScopeBase::dump_scope(ostream&out) const
|
||||||
{
|
{
|
||||||
// Dump types
|
// Dump types
|
||||||
out << " -- imported types" << endl;
|
out << " -- imported types" << endl;
|
||||||
|
|
|
||||||
|
|
@ -90,6 +90,8 @@ class ScopeBase {
|
||||||
finalizers_.push_back(s);
|
finalizers_.push_back(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void dump_scope(ostream&out) const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void cleanup();
|
void cleanup();
|
||||||
|
|
||||||
|
|
@ -154,9 +156,6 @@ class Scope : public ScopeBase {
|
||||||
|
|
||||||
ComponentBase* find_component(perm_string by_name);
|
ComponentBase* find_component(perm_string by_name);
|
||||||
|
|
||||||
public:
|
|
||||||
void dump_scope(ostream&out) const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Helper method for emitting signals in the scope.
|
// Helper method for emitting signals in the scope.
|
||||||
int emit_signals(ostream&out, Entity*ent, Architecture*arc);
|
int emit_signals(ostream&out, Entity*ent, Architecture*arc);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue