From 2934ceb548e1cfac9b04dda936efd0caec2a85b5 Mon Sep 17 00:00:00 2001 From: Cary R Date: Wed, 14 May 2008 11:36:18 -0700 Subject: [PATCH] A constant thread vector is binary. Thread vectors can be treated as constants the problem was that they did not set a constant type. They now return vpiBinaryConst. --- vvp/vpi_vthr_vector.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vvp/vpi_vthr_vector.cc b/vvp/vpi_vthr_vector.cc index b58352978..72a043fe5 100644 --- a/vvp/vpi_vthr_vector.cc +++ b/vvp/vpi_vthr_vector.cc @@ -85,6 +85,9 @@ static int vthr_vec_get(int code, vpiHandle ref) case vpiSigned: return rfp->signed_flag; + case vpiConstType: + return vpiBinaryConst; // If this is a constant it is Binary. + case vpiSize: return rfp->wid;