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:
parent
6b908aeec3
commit
2934ceb548
|
|
@ -85,6 +85,9 @@ static int vthr_vec_get(int code, vpiHandle ref)
|
||||||
case vpiSigned:
|
case vpiSigned:
|
||||||
return rfp->signed_flag;
|
return rfp->signed_flag;
|
||||||
|
|
||||||
|
case vpiConstType:
|
||||||
|
return vpiBinaryConst; // If this is a constant it is Binary.
|
||||||
|
|
||||||
case vpiSize:
|
case vpiSize:
|
||||||
return rfp->wid;
|
return rfp->wid;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue