From dcf92c82ec6fd00eea05bf1e255e6fbc78ecaca0 Mon Sep 17 00:00:00 2001 From: Jitesh Date: Sat, 28 Sep 2024 16:17:51 +0530 Subject: [PATCH] correction to vpiTimeVal check in vl_check_array_format --- include/verilated_vpi.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/verilated_vpi.cpp b/include/verilated_vpi.cpp index b2c738294..efd2feaf1 100644 --- a/include/verilated_vpi.cpp +++ b/include/verilated_vpi.cpp @@ -2857,7 +2857,8 @@ bool vl_check_array_format(const VerilatedVar* varp, const p_vpi_arrayvalue arra } } else if (arrayvalue_p->format == vpiTimeVal) { switch (varp->vltype()) { - case VLVT_UINT64: + //time value is stored uint32 high&low or real + case VLVT_UINT32: case VLVT_REAL: return status; default: