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.
This commit is contained in:
Cary R
2008-05-14 11:56:50 -07:00
committed by Stephen Williams
parent 6b908aeec3
commit 2934ceb548
+3
View File
@@ -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;