correction to vpiTimeVal check in vl_check_array_format

This commit is contained in:
Jitesh 2024-09-28 16:17:51 +05:30
parent 7c91649c88
commit dcf92c82ec
No known key found for this signature in database

View File

@ -2857,7 +2857,8 @@ bool vl_check_array_format(const VerilatedVar* varp, const p_vpi_arrayvalue arra
} }
} else if (arrayvalue_p->format == vpiTimeVal) { } else if (arrayvalue_p->format == vpiTimeVal) {
switch (varp->vltype()) { switch (varp->vltype()) {
case VLVT_UINT64: //time value is stored uint32 high&low or real
case VLVT_UINT32:
case VLVT_REAL: case VLVT_REAL:
return status; return status;
default: default: