Fix for GitHub issue #142 - assertion failure when parameter expression

contains undefined variable.
This commit is contained in:
Martin Whitaker 2017-01-29 10:47:54 +00:00
parent 4e2ba29dc6
commit 8f6f999ea7
1 changed files with 0 additions and 1 deletions

View File

@ -5685,7 +5685,6 @@ unsigned PETernary::test_width(Design*des, NetScope*scope, width_mode_t&mode)
} else if (tru_type == IVL_VT_LOGIC || fal_type == IVL_VT_LOGIC) {
expr_type_ = IVL_VT_LOGIC;
} else {
ivl_assert(*this, tru_type == fal_type);
expr_type_ = tru_type;
}
if (expr_type_ == IVL_VT_REAL) {