Add tgt-vvp sorry message for unsupported mixed NB/CA to vector.

This commit is contained in:
Martin Whitaker 2016-05-10 23:02:04 +01:00
parent 06f6a72770
commit d770199550
1 changed files with 9 additions and 0 deletions

View File

@ -225,6 +225,15 @@ static void assign_to_lvector(ivl_lval_t lval,
const unsigned long use_word = 0;
if (ivl_signal_type(sig) == IVL_SIT_UWIRE) {
fprintf(stderr, "%s:%u: tgt-vvp sorry: V10 does not support "
"mixed continuous and non-blocking assignments to "
"different parts of the same vector (%s).\n",
ivl_signal_file(sig), ivl_signal_lineno(sig),
ivl_signal_basename(sig));
vvp_errors += 1;
}
// Detect the case that this is actually a non-blocking assign
// to an array word. In that case, run off somewhere else to
// deal with it.