diff --git a/tgt-vhdl/expr.cc b/tgt-vhdl/expr.cc index 96e76a6a2..8e07a8296 100644 --- a/tgt-vhdl/expr.cc +++ b/tgt-vhdl/expr.cc @@ -185,6 +185,8 @@ static vhdl_expr *translate_binary(ivl_expr_t e) return translate_numeric(lhs, rhs, VHDL_BINOP_AND); case 'a': // Logical AND return translate_logical(lhs, rhs, VHDL_BINOP_AND); + case '|': // Bitwise OR + return translate_numeric(lhs, rhs, VHDL_BINOP_OR); case 'o': // Logical OR return translate_logical(lhs, rhs, VHDL_BINOP_OR); case '<':