mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 10:33:13 +02:00
Tests: Fix some missing coverage, and cleanup some error messages
This commit is contained in:
+1
-1
@@ -1099,7 +1099,7 @@ private:
|
||||
if (nodep->isFunction()) {
|
||||
AstVar* const portp = VN_AS(nodep->fvarp(), Var);
|
||||
UASSERT_OBJ(portp, nodep, "function without function output variable");
|
||||
if (!portp->isFuncReturn()) nodep->v3error("Not marked as function return var");
|
||||
UASSERT_OBJ(portp->isFuncReturn(), nodep, "Not marked as function return var");
|
||||
if (nodep->dpiImport() || nodep->dpiExport()) {
|
||||
AstBasicDType* const bdtypep = portp->dtypep()->basicp();
|
||||
if (!bdtypep->isDpiPrimitive()) {
|
||||
|
||||
Reference in New Issue
Block a user