From 5f3e5f6b35924247099fdfbb9073951d22225817 Mon Sep 17 00:00:00 2001 From: Cary R Date: Tue, 14 Dec 2010 13:51:03 -0800 Subject: [PATCH] V0.8: add a warning that a latch primitive is not supported. At the moment a latch primitive is not supported by vvp. --- tgt-vvp/vvp_scope.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tgt-vvp/vvp_scope.c b/tgt-vvp/vvp_scope.c index 9d18db80d..9eb85f2fb 100644 --- a/tgt-vvp/vvp_scope.c +++ b/tgt-vvp/vvp_scope.c @@ -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.