From dadd145d09e344fabcf79e8d53687784377e7907 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Mon, 7 Jul 2008 15:04:28 +0100 Subject: [PATCH] Add message for unsupported LPM nexus pointer --- tgt-vhdl/scope.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tgt-vhdl/scope.cc b/tgt-vhdl/scope.cc index da0375d95..802e94aa4 100644 --- a/tgt-vhdl/scope.cc +++ b/tgt-vhdl/scope.cc @@ -68,6 +68,7 @@ static vhdl_expr *nexus_to_expr(vhdl_scope *arch_scope, ivl_nexus_t nexus, ivl_signal_t sig; ivl_net_logic_t log; + ivl_lpm_t lpm; if ((sig = ivl_nexus_ptr_sig(nexus_ptr))) { if (!seen_signal_before(sig) || sig == ignore) continue; @@ -84,6 +85,9 @@ static vhdl_expr *nexus_to_expr(vhdl_scope *arch_scope, ivl_nexus_t nexus, else if ((log = ivl_nexus_ptr_log(nexus_ptr))) { return translate_logic(arch_scope, log); } + else if ((lpm = ivl_nexus_ptr_lpm(nexus_ptr))) { + error("LPM in nexus not implemented yet"); + } else { // Ignore other types of nexus pointer }