Support packed struct DPI imports, bug1190.

This commit is contained in:
Wilson Snyder
2017-08-11 19:07:47 -04:00
parent ca26596695
commit 7b642bcbb4
8 changed files with 24 additions and 6 deletions
+2
View File
@@ -938,6 +938,8 @@ private:
if (!portp->basicp() || portp->basicp()->keyword().isDpiUnsupported()) {
portp->v3error("Unsupported: DPI argument of type "<<portp->basicp()->prettyTypeName()<<endl
<<portp->warnMore()<<"... For best portability, use bit, byte, int, or longint");
// We don't warn on logic either, although the 4-stateness is lost.
// That's what other simulators do.
}
}
} else {