mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-02 23:18:46 +02:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user