Fix vpi_get of vpiSuppressVal, bug687.

This commit is contained in:
Wilson Snyder 2013-10-22 20:10:43 -04:00
parent a8310f35f2
commit 82235e6c6f
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,8 @@ indicates the contributor was also the author of the fix; Thanks!
* Verilator 3.854 devel
**** Support vpi_get of vpiSuppressVal, bug687. [Varun Koyyalagunta]
**** Fix evaluation of chained parameter functions, bug684. [Ted Campbell]
**** Fix multiple VPI variable callbacks, bug679. [Rich Porter]

View File

@ -1015,6 +1015,8 @@ void vpi_get_value(vpiHandle object, p_vpi_value value_p) {
VL_FUNC, VerilatedVpiError::strFromVpiVal(value_p->format), vop->fullname());
return;
}
} else if (value_p->format == vpiSuppressVal) {
return;
}
_VL_VPI_ERROR(__FILE__, __LINE__, "%s: Unsupported format (%s) as requested for %s",
VL_FUNC, VerilatedVpiError::strFromVpiVal(value_p->format), vop->fullname());