Add bitwise OR

This commit is contained in:
Nick Gasson 2008-07-04 12:05:49 +01:00
parent 3d0a2b55ce
commit a298b03735
1 changed files with 2 additions and 0 deletions

View File

@ -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 '<':