Add warning that arrays are not yet implemented

This commit is contained in:
Nick Gasson 2008-07-15 18:09:18 +01:00
parent 45e289d32d
commit f3753ea9ad
1 changed files with 3 additions and 0 deletions

View File

@ -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);