Update alu.sv based on review comments

Updated the if condition to use "||" instead of "|" operator
This commit is contained in:
Rahul Behl 2018-03-06 22:17:02 +05:30 committed by GitHub
parent 8f2c2a0499
commit 50506f8d34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;