mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-23 13:47:13 -04:00
Update alu.sv based on review comments
Updated the if condition to use "||" instead of "|" operator
This commit is contained in:
parent
8f2c2a0499
commit
50506f8d34
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue