vhdlpp: Generics from external packages are accepted (warning instead of error).
This commit is contained in:
parent
763c6fe3c9
commit
f51c037432
|
|
@ -98,9 +98,8 @@ int ComponentInstantiation::elaborate(Entity*ent, Architecture*arc)
|
||||||
// exists in the component declaration
|
// exists in the component declaration
|
||||||
const InterfacePort*iparm = base->find_generic(cur->first);
|
const InterfacePort*iparm = base->find_generic(cur->first);
|
||||||
if (iparm == 0) {
|
if (iparm == 0) {
|
||||||
cerr << get_fileline() << ": error: No generic " << cur->first
|
cerr << get_fileline() << ": warning: No generic " << cur->first
|
||||||
<< " in component " << cname_ << "." << endl;
|
<< " in component " << cname_ << "." << endl;
|
||||||
errors += 1;
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue