Warn that bit based signals cannot be converted to real.
V0.8 does not have the code to covert bit based signals to a real value, so print a more descriptive error message before quiting.
This commit is contained in:
parent
043b7ae684
commit
eb4fc8fb7b
|
|
@ -475,6 +475,11 @@ static void signal_get_value(vpiHandle ref, s_vpi_value*vp)
|
|||
break;
|
||||
}
|
||||
|
||||
case vpiRealVal: {
|
||||
fprintf(stderr, "Sorry: V0.8 cannot convert a bit based signal to a real value.\n");
|
||||
assert(0);
|
||||
}
|
||||
|
||||
default:
|
||||
fprintf(stderr, "vvp internal error: get_value: "
|
||||
"value type %u not implemented."
|
||||
|
|
|
|||
Loading…
Reference in New Issue