V0.8: add a warning that a latch primitive is not supported.

At the moment a latch primitive is not supported by vvp.
This commit is contained in:
Cary R 2010-12-14 13:51:03 -08:00 committed by Stephen Williams
parent 3cc12e8446
commit 5f3e5f6b35
1 changed files with 5 additions and 0 deletions

View File

@ -391,6 +391,11 @@ static const char* draw_net_input_drive(ivl_nexus_t nex, ivl_nexus_ptr_t nptr)
lpm = ivl_nexus_ptr_lpm(nptr);
if (lpm) switch (ivl_lpm_type(lpm)) {
case IVL_LPM_LATCH:
fprintf(stderr, "tgt-vvp sorry: simulating a latch primitive is "
"not currently supported.\n");
exit(1);
break;
case IVL_LPM_DECODE:
/* The decoder has no outputs.