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:
Cary R 2007-10-29 09:18:54 -07:00 committed by Stephen Williams
parent 043b7ae684
commit eb4fc8fb7b
1 changed files with 5 additions and 0 deletions

View File

@ -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."