From f3753ea9ad00c1ec241aad86840dab9ec6c61db7 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Tue, 15 Jul 2008 18:09:18 +0100 Subject: [PATCH] Add warning that arrays are not yet implemented --- tgt-vhdl/scope.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tgt-vhdl/scope.cc b/tgt-vhdl/scope.cc index 76b959a5d..5edc0aa60 100644 --- a/tgt-vhdl/scope.cc +++ b/tgt-vhdl/scope.cc @@ -284,6 +284,9 @@ static void declare_signals(vhdl_entity *ent, ivl_scope_t scope) ivl_signal_t sig = ivl_scope_sig(scope, i); remember_signal(sig, ent->get_arch()->get_scope()); + if (ivl_signal_array_count(sig) > 1) + error("Arrays not implemented yet"); + vhdl_type *sig_type = vhdl_type::type_for(ivl_signal_width(sig), ivl_signal_signed(sig) != 0);