From 50506f8d34aeb5fa4a6752a1c39db045a3acc682 Mon Sep 17 00:00:00 2001 From: Rahul Behl Date: Tue, 6 Mar 2018 22:17:02 +0530 Subject: [PATCH] Update alu.sv based on review comments Updated the if condition to use "||" instead of "|" operator --- src/alu.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/alu.sv b/src/alu.sv index 20be524c7..fadd053a2 100644 --- a/src/alu.sv +++ b/src/alu.sv @@ -162,8 +162,8 @@ module alu logic sgn; sgn = 1'b0; - if ((operator_i == SLTS) | - (operator_i == LTS) | + if ((operator_i == SLTS) || + (operator_i == LTS) || (operator_i == GES)) sgn = 1'b1;