diff --git a/elaborate.cc b/elaborate.cc index 2c593336b..ca5545859 100644 --- a/elaborate.cc +++ b/elaborate.cc @@ -180,7 +180,7 @@ void PGAssign::elaborate(Design*des, NetScope*scope) const * source is a bit, part, indexed select or a concatenation we need * to add a driver (BUFZ) to convey the strength information. */ if ((drive0 != IVL_DR_STRONG || drive1 != IVL_DR_STRONG) && - ((dynamic_cast(rval_expr)) || + ((dynamic_cast(rval_expr)) || (dynamic_cast(rval_expr)))) { need_driver_flag = true; }