parent
7d43a935bd
commit
9d146eae16
|
@ -84,6 +84,7 @@ Huang Rui
|
|||
Huanghuang Zhou
|
||||
HungMingWu
|
||||
HyungKi Jeong
|
||||
Ibrahim Burak Yorulmaz
|
||||
Igor Zaworski
|
||||
Ilya Barkov
|
||||
Iru Cai
|
||||
|
|
|
@ -964,9 +964,9 @@ void EmitCSyms::emitSymImp() {
|
|||
} else {
|
||||
if (basicp->isRanged()) {
|
||||
bounds += " ,";
|
||||
bounds += cvtToStr(basicp->hi());
|
||||
bounds += cvtToStr(basicp->left());
|
||||
bounds += ",";
|
||||
bounds += cvtToStr(basicp->lo());
|
||||
bounds += cvtToStr(basicp->right());
|
||||
pdim++;
|
||||
}
|
||||
break; // AstBasicDType - nothing below, 1
|
||||
|
|
|
@ -360,6 +360,24 @@ int _mon_check_var() {
|
|||
p = vpi_get_str(vpiType, vh10);
|
||||
CHECK_RESULT_CSTR(p, "vpiConstant");
|
||||
}
|
||||
TestVpiHandle vh6 = vpi_handle_by_index(vh5, 2);
|
||||
CHECK_RESULT_NZ(vh6);
|
||||
{
|
||||
TestVpiHandle vh10 = vpi_handle(vpiLeftRange, vh6);
|
||||
CHECK_RESULT_NZ(vh10);
|
||||
vpi_get_value(vh10, &tmpValue);
|
||||
CHECK_RESULT(tmpValue.value.integer, 0);
|
||||
p = vpi_get_str(vpiType, vh10);
|
||||
CHECK_RESULT_CSTR(p, "vpiConstant");
|
||||
}
|
||||
{
|
||||
TestVpiHandle vh10 = vpi_handle(vpiRightRange, vh6);
|
||||
CHECK_RESULT_NZ(vh10);
|
||||
vpi_get_value(vh10, &tmpValue);
|
||||
CHECK_RESULT(tmpValue.value.integer, 61);
|
||||
p = vpi_get_str(vpiType, vh10);
|
||||
CHECK_RESULT_CSTR(p, "vpiConstant");
|
||||
}
|
||||
|
||||
// C++ keyword collision
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue