This commit is contained in:
Markus Wegmann 2017-01-15 11:15:45 +01:00
parent d3c52bf385
commit ff8b7f3e7f

View file

@ -207,7 +207,7 @@ module riscv_alu_simplified
if ((operand_a_i[31] ^ operand_b_i[31]) == 0)
is_greater_equal = (adder_result[31] == 0);
else
is_greater_equal = operand_a_i[31] ^ (~cmp_signed);
is_greater_equal = operand_a_i[31] ^ (cmp_signed);
end
// GTE unsigned: